Re: [Rd] Small bug in install.packages?

From: Simon Urbanek <simon.urbanek_at_r-project.org>
Date: Tue, 28 Jun 2011 15:22:50 -0400

On Jun 28, 2011, at 3:03 PM, Hadley Wickham wrote:

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

Isn't R.home() 8.3 path anyway?

BTW: I think you probably meant more something like paste(shQuote(file.path(R.home("bin"), "R")), "CMD INSTALL") since the above won't work ..

Cheers,
S



R-devel_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Tue 28 Jun 2011 - 19:35: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 - 22:20: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