[Rd] R.home() on windows with localised program files path name

Hadley Wickham h.wickham at gmail.com
Wed Sep 2 21:52:05 CEST 2015


Unfortunately I can't reproduce this easily, but I have a devtools bug
report (https://github.com/hadley/devtools/issues/885#issuecomment-137216148)
which appears to be because:

R.home("bin")
#> [1] C:/Program Files/R/R-32~1.0/bin/x64

even though on this computer "Program Files" is actually "Programmi"
(Italian), and the documentation for R.home() says "On Windows the
values of R.home() and R_HOME are guaranteed not to contain spaces"

Any ideas?

Thanks!

Hadley


-- 
http://had.co.nz/



More information about the R-devel mailing list