I am trying to install the swirl library via devtools with the following results

> devtools::install_github(c("swirldev/swirl", "swirldev/swirlify"))
Installing github repo swirl/master from swirldev
Downloading master.zip from https://github.com/swirldev/swirl/archive/master.zip
Installing package from 
C:\Users\MIKE~1.CON\AppData\Local\Temp\RtmpOG7HXq/master.zip
Installing swirl
"C:/Program Files/R/R-31~1.1/bin/i386/R" --vanilla CMD INSTALL  \
  
"C:\Users\mike.conklin\AppData\Local\Temp\RtmpOG7HXq\devtoolsd1c48a85b74\swirl-master"
  \
  --library="C:/Users/mike.conklin/Documents/R/win-library/3.1" --install-tests 

'C:\Program' is not recognized as an internal or external command,
operable program or batch file.
Error: Command failed (1)

The problem appears to be the inability of the script to handle space in the 
Program Files directory name.  Is there a work around for this?  Do I need to 
reinstall R in a different directory?


--
W. Michael Conklin
Executive Vice President
Marketing & Data Sciences - North America
GfK | 8401 Golden Valley Road | Minneapolis | MN | 55427
mike.conk...@gfk.com 
T +1 763 417 4545 | M +1 612 567 8287 
www.gfk.com 

______________________________________________
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