[Rd] Small bug in install.packages?
murdoch.duncan at gmail.com
Wed Jun 29 02:31:22 CEST 2011
On 28/06/2011 8:17 PM, Duncan Murdoch wrote:
> On 28/06/2011 5:42 PM, Hadley Wickham wrote:
>>> Isn't R.home() 8.3 path anyway?
>> I don't think so:
>>  "C:/Program Files/R/R-2.13.0/bin/i386"
> Weird. Like others, I see 8.3 pathnames. R gets those from a Windows
> call; what version of Windows are you using?
... and how are you starting R? Startup goes through some contortions
to handle all the different possibilities; maybe one of them is missing
the path-shortening step.
> Duncan Murdoch
>> R version 2.13.0 Patched (2011-06-09 r56106)
>> Platform: i386-pc-mingw32/i386 (32-bit)
>>  LC_COLLATE=English_United States.1252
>>  LC_CTYPE=English_United States.1252
>>  LC_MONETARY=English_United States.1252
>>  LC_NUMERIC=C
>>  LC_TIME=English_United States.1252
>> attached base packages:
>>  grDevices datasets utils stats graphics methods base
>> other attached packages:
>>  RMark_2.0.5 rj_0.5.0-5 devtools_0.2 codetools_0.2-8
>>  plotrix_3.2-2 nlme_3.1-101 msm_1.0.1
>> loaded via a namespace (and not attached):
>>  grid_2.13.0 lattice_0.19-26 mvtnorm_0.9-9991 rJava_0.8-8
>>  splines_2.13.0 survival_2.36-9 tools_2.13.0
>>> 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 ..
>> Ooops, yes.
More information about the R-devel