[R] Problem installing with devtools

Conklin, Mike (GfK) Mike.Conklin at gfk.com
Mon Feb 23 22:16:29 CET 2015


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.conklin at gfk.com 
T +1 763 417 4545 | M +1 612 567 8287 
www.gfk.com 



More information about the R-help mailing list