[Rd] feature request for M$-Windows install (PR#11499)

Duncan Murdoch murdoch at stats.uwo.ca
Fri May 23 06:21:30 CEST 2008


After some offline followups, I'm pretty sure the issue here is with the 
"Start in" directory that the installer puts in the shortcut. 
Unfortunately, as far as I can determine, there is no way to tell 
Windows to set the working directory to the user's personal directory 
(My Documents, typically).  The closest we could get is %USERPROFILE%, 
which is the parent of My Documents.  (My Documents is not always named 
that, so %USERPROFILE%\My Documents is not safe.)

We currently set the shortcut to the My Documents directory of the 
person who performs the install, so the shortcut that gets created will 
only work for them.

I'd be interested in hearing suggestions for what to do here.  We could 
go back to setting it to RHOME/bin, and then have the startup code cd to 
My Documents, but that removes flexibility for people who were actually 
making use of that entry.

Duncan Murdoch



More information about the R-devel mailing list