ucd-ipo / agroft

Agricultural Field Trial Statistics Package
http://ucd-ipo.github.io/agroft/
BSD 3-Clause "New" or "Revised" License
4 stars 5 forks source link

'C:\Program' is not recognized as an internal or external command, operable program or batch file. #89

Closed rkingdc closed 9 years ago

rkingdc commented 9 years ago

I get the error

Downloading GitHub repo ucd-ipo/aip-analysis@master
Installing AIP
"C:/Program Files/R/R-32~1.2/bin/x64/R" --no-site-file  \
  --no-environ --no-save --no-restore CMD INSTALL  \
  "C:/Users/ikyle/AppData/Local/Temp/Rtmp2V4HW5/devtools179027b5624/ucd-ipo-aip-analysis-13ad7e7"  \
  --library="C:/Program Files/R/R-3.2.2/library" --install-tests 

'C:\Program' is not recognized as an internal or external command,
operable program or batch file.

When using install_github('ucd-ipo/aip-analysis') on a windows machine. I think this is an issue with devtools and windows, and there isn't anything we can really do on our end, but I think it is an argument to use a drat repo and host binaries of the app for ease of installation. devtools is just too hit-or-miss.

R version 3.2.2 (2015-08-14) Platform: x86_64-w64-mingw32/x64 (64-bit) Running under: Windows 7 x64 (build 7601) Service Pack 1 devtools 1.9.1

rkingdc commented 9 years ago

This is just an issue with spaces in the path to the R executable. @msimmond In the turtorial, we should make sure users don't install R in C:\Users\Program Files or wherever the default location is. It should be in just C:. Although, that might require users to have admin privileges on their computers. I guess that's where the flash drives come in. Anyway, this is something to discuss.