Open mikelove opened 9 years ago
I don't think this is an issue anymore. I came across this post in StackOverflow about this problem
http://stackoverflow.com/questions/9676894/installing-ggbiplot-from-github
He had spaces in libPaths and he couldn't install a package from GitHub. I checked, and my libPaths have spaces and I didn't run into this problem. To make sure I installed the package from the StackOverflow post
> library(devtools)
> install_github("vqv/ggbiplot")
Downloading github repo vqv/ggbiplot@master
Installing ggbiplot
Installing dependencies for ggbiplot:
ggplot2, plyr, scales
Installing packages into ‘C:/Users/APD/Documents/R/win-library/3.1’
(as ‘lib’ is unspecified)
also installing the dependencies ‘colorspace’, ‘gtable’, ‘reshape2’, ‘proto’, ‘dichromat’, ‘munsell’, ‘labeling’
* installing *source* package 'ggbiplot' ...
** R
** data
** preparing package for lazy loading
** help
*** installing help indices
** building package indices
** testing if installed package can be loaded
*** arch - i386
*** arch - x64
* DONE (ggbiplot)
It worked! Note that the path for my library has spaces:
--library="C:/Users/APD/Documents/R/win-library/3.1"
where are the spaces in your libPath?
here's an example of a student from yesterday who had a problem with a space:
ah, this might be because we are using install.packages("devtools"), not the devel version of devtools
I think so. Because my path is
--library="C:/Users/APD/Documents/R/win-library/3.1"
and I didn't have any issues.
Yered H. Pita-Juárez
On Mon, Feb 2, 2015 at 11:23 AM, Mike Love notifications@github.com wrote:
ah, this might be because we are using install.packages("devtools"), not the devel version of devtools
— Reply to this email directly or view it on GitHub https://github.com/genomicsclass/windows/issues/2#issuecomment-72486127.
devtools won't install if the libPaths has a space in it, e.g. "C:/Program Files/..."