Skip to content
Prev 40626 / 63424 Next

Small bug in install.packages?

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