[Rd] Small bug in install.packages?

From: Hadley Wickham <hadley_at_rice.edu>
Date: Tue, 28 Jun 2011 14:03:49 -0500

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)?


Assistant Professor / Dobelman Family Junior Chair
Department of Statistics / Rice University

R-devel_at_r-project.org mailing list
Received on Tue 28 Jun 2011 - 19:05:52 GMT

This quarter's messages: by month, or sorted: [ by date ] [ by thread ] [ by subject ] [ by author ]

All messages

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Tue 28 Jun 2011 - 19:50:24 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-devel. Please read the posting guide before posting to the list.

list of date sections of archive