[Rd] Small bug in install.packages?
Hadley Wickham
hadley at rice.edu
Tue Jun 28 21:03:49 CEST 2011
When capturing the path to the current R binary, install.packages does:
cmd0 <- paste(file.path(R.home("bin"), "R"), "CMD INSTALL")
shouldn't that be
cmd0 <- shQuote(paste(file.path(R.home("bin"), "R"), "CMD INSTALL"))
to allow paths with spaces in them (which would be very common on windows)?
Hadley
--
Assistant Professor / Dobelman Family Junior Chair
Department of Statistics / Rice University
http://had.co.nz/
More information about the R-devel
mailing list