Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

.libPaths #2

Open
mikelove opened this issue Feb 2, 2015 · 4 comments
Open

.libPaths #2

mikelove opened this issue Feb 2, 2015 · 4 comments

Comments

@mikelove
Copy link
Contributor

mikelove commented Feb 2, 2015

devtools won't install if the libPaths has a space in it, e.g. "C:/Program Files/..."

@yeredh
Copy link
Contributor

yeredh commented Feb 2, 2015

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"

@mikelove
Copy link
Contributor Author

mikelove commented Feb 2, 2015

where are the spaces in your libPath?

here's an example of a student from yesterday who had a problem with a space:

https://courses.edx.org/courses/HarvardX/PH525.1x/1T2015/discussion/forum/i4x-HSPH-PH999x-course-2014_Spring_wk2/threads/54cd68e7af8bbdcae400008e

@mikelove
Copy link
Contributor Author

mikelove commented Feb 2, 2015

ah, this might be because we are using install.packages("devtools"), not the devel version of devtools

@yeredh
Copy link
Contributor

yeredh commented Feb 2, 2015

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 [email protected] 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
#2 (comment).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants