Certain R packages will not install properly on my Windows 10 computer. For 
example, if I

install.packages('callr')

The result is

trying URL 'https://cloud.r-project.org/src/contrib/callr_3.4.0.tar.gz'
Content type 'application/x-gzip' length 100129 bytes (97 KB)
downloaded 97 KB

Warning: invalid package 'C:\Users\David'
Warning: invalid package 
'Stevens\AppData\Local\Temp\Rtmpk5NqrI/downloaded_packages/callr_3.4.0.tar.gz'
Error: ERROR: no packages specified
Warning in install.packages :
  installation of package �callr� had non-zero exit status

The downloaded source packages are in
        �C:\Users\David 
Stevens\AppData\Local\Temp\Rtmpk5NqrI\downloaded_packages�

both using RStudio 1.2.5019 and the Rgui.exe 3.6.2. I look in the download 
folder and the callr_3.4.0.tar.gz is there but the installer can't find it. 
This happens on only a subset of packages I install or update. I assume the 
cause is the space in my name in the c:\users folder. I've been unable to 
locate the environment variable or registry value that routes the tar.gz files 
to this location. Any ideas on how to fix this? This is a relatively recent 
issue (i.e. I never saw it before November - I've used R for ~15 years).

Best regards

David Stevens



        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to