From simon.urbanek at r-project.org  Wed Apr 30 22:01:32 2008
From: simon.urbanek at r-project.org (Simon Urbanek)
Date: Wed, 30 Apr 2008 16:01:32 -0400
Subject: [Rd] build packages with vignettes in Windows
In-Reply-To: <4818BB09.6070205@stats.uwo.ca>
References: <6vprs88uu6.fsf@gmail.com>
	<481768EC.50008@stats.uwo.ca>	<y763u08l14.fsf@gmail.com>
	<48178B5E.80603@stats.uwo.ca> <8vtzhj5oac.fsf@gmail.com>
	<4818BB09.6070205@stats.uwo.ca>
Message-ID: <078E26DF-5AA8-4ADE-A33E-EA640817781A@r-project.org>


On Apr 30, 2008, at 2:31 PM, Duncan Murdoch wrote:

> On 4/30/2008 11:56 AM, Michael wrote:
>> On 29 Apr 2008, Duncan Murdoch wrote:
>>
>>> Right, you don't need to set the system path for everything, but  
>>> you do
>>> need to set it in CMD (or other shell) before running Rcmd.
>> For Win 2K/XP/Vista, the system path can be set (through the GUI  
>> interface,
>> not sure how to do it with scripts) without restarting, for new CMD
>> processes started afterwards.
>
> Sure, but the installer doesn't know how to do that.  It just sets  
> the path in the registry; it doesn't know how to give Explorer a  
> kick to get it to reload from there.  As far as I know there's no  
> documented way to do that.
>

FWIW the PATH setting is effective immediately (at least on 2k/ 
XP ...). Any new shell you start (e.g. using Run..) will have the  
updated PATH already.

I was always very skeptical as editing PATH in the installer is  
concerned (and I have always declined any automated changes), but I  
really love the feature that allows me to edit the whole PATH  
interactively in an editor-like window.

Also note that the rebooting is optional, you can still safely decline  
it so I see no reason why that should deter anyone.

Cheers,
Simon



[Rd] build packages with vignettes in Windows
Simon Urbanek