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

______________________________________________
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel

Reply via email to