[R] Trouble Installing R packages

Adam Garza adgarza at live.com
Fri Nov 6 04:42:11 CET 2015

Trying to install vcd package but can’t
It seems like it tries but runs into some kind of error and so quits.

Maybe it has something to do with the “dependencies” – not sure what that means
Also think it might have something to do with Windows 10 keeping Documents folder synced with OneDrive.

Can anyone help?

> install.packages("vcd")
Installing package into ‘C:/Users/adgar/OneDrive/Documents/R/win-library/3.2’
(as ‘lib’ is unspecified)
--- Please select a CRAN mirror for use in this session ---
also installing the dependencies ‘zoo’, ‘colorspace’, ‘lmtest’

Packages which are only available in source form, and may need
  compilation of C/C++/Fortran: ‘zoo’ ‘colorspace’ ‘lmtest’
  These will not be installed
installing the source package ‘vcd’

trying URL 'https://cran.revolutionanalytics.com/src/contrib/vcd_1.4-1.tar.gz'
Content type 'application/octet-stream' length 883913 bytes (863 KB)
downloaded 863 KB

ERROR: dependencies 'colorspace', 'lmtest' are not available for package 'vcd'
* removing 'C:/Users/adgar/OneDrive/Documents/R/win-library/3.2/vcd'

The downloaded source packages are in
Warning messages:
1: running command '"C:/PROGRA~1/R/R-32~1.2/bin/x64/R" CMD INSTALL -l "C:\Users\adgar\OneDrive\Documents\R\win-library\3.2" C:\Users\adgar\AppData\Local\Temp\RtmpymmKaM/downloaded_packages/vcd_1.4-1.tar.gz' had status 1 
2: In install.packages("vcd") :
  installation of package ‘vcd’ had non-zero exit status

Sent from Mail for Windows 10

	[[alternative HTML version deleted]]

More information about the R-help mailing list