From murdoch at stats.uwo.ca  Fri May 23 06:21:30 2008
From: murdoch at stats.uwo.ca (Duncan Murdoch)
Date: Fri, 23 May 2008 00:21:30 -0400
Subject: [Rd] feature request for M$-Windows install (PR#11499)
In-Reply-To: <20080522155508.2F858282C786@mail.pubhealth.ku.dk>
References: <20080522155508.2F858282C786@mail.pubhealth.ku.dk>
Message-ID: <4836464A.4010302@stats.uwo.ca>

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



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