- install.packages("vcd",lib="F:/20160719-R/r/R-3.3.1/library")
- also installing the dependency ‘colorspace’
- trying URL 'https://cran.rstudio.com/bin/windows/contrib/3.3/colorspace_1.2-6.zip'
- Content type 'application/zip' length 393665 bytes (384 KB)
- downloaded 384 KB
- trying URL 'https://cran.rstudio.com/bin/windows/contrib/3.3/vcd_1.4-1.zip'
- Content type 'application/zip' length 1169098 bytes (1.1 MB)
- downloaded 1.1 MB
- package ‘colorspace’ successfully unpacked and MD5 sums checked
- package ‘vcd’ successfully unpacked and MD5 sums checked
- The downloaded binary packages are in
- C:\Users\Administrator.DORCACQHLKG50N1\AppData\Local\Temp\Rtmp4GeOEV\downloaded_packages
另外我把r和rstudio都自定义到f盘里了,为什么默认路径还是c盘,有永久改变工作路径的方法吗?真的有点迷糊,试不通哪里的问题。。
- getwd()
- [1] "F:/20160719-R/r"
- > .libPaths()
- [1] "F:/20160719-R/r/R-3.3.1/library"
- > install.packages("vcd")