Error in install.packages : unable to create ‘C:/Users/hd/OneDrive/?????????/R/win-library/4.1’
You must be ever seen like above error message.
.libPath("path/to/library/path")
i) Press the button of "Win+R" Key.
ii) Copy and Paste "rundll32 sysdm.cpl,EditEnvironmentVariables"
iii) Click "New" under "user variables"
iv) Copy and Paste "R_LIBS_USER"
iiv) Choose Browse Directory where you want to install packages.
(eg, C:\Users\username\R\lib)
Recently, i bought new labtop.
when i install basic programs, i installed firstly R and Rstudio,
and next install program was MS Office.
Without Onedrive folder, Rstudio library path directory set to appopriate folder.
This method is last option when you really hate this error.
'R > R_error [Eng.]' 카테고리의 다른 글
R Error: JAVA_HOME cannot be determined from the Registry [Solution] (0) | 2022.11.16 |
---|---|
00LOCK _ Directory Lock (Package) error install (0) | 2022.11.11 |
Error: invalid multibyte string at '<b9><f8>ȣ' _ Rstudio (0) | 2022.10.28 |