From ripley at stats.ox.ac.uk  Wed Aug 26 11:01:45 2009
From: ripley at stats.ox.ac.uk (Prof Brian Ripley)
Date: Wed, 26 Aug 2009 10:01:45 +0100 (BST)
Subject: [Rd] R CMD on windows 7
In-Reply-To: <4A94EE6C.20109@statistik.tu-dortmund.de>
References: <dc22b2570908251245h1c57d31ey14abcd4e7323456e@mail.gmail.com>
	<4A94EE6C.20109@statistik.tu-dortmund.de>
Message-ID: <alpine.LFD.2.00.0908260957510.32062@gannet.stats.ox.ac.uk>

On Wed, 26 Aug 2009, Uwe Ligges wrote:

> As far as I know, nobody of the developers who also work under Windows has 
> access to Windows 7 these days. Patches are welcome, of course!

But the described behaviour seems identical to Vista, and the 
workarounds the same as those in the rw-FAQ.

I've not seen any report elsewhere of a change in permissions 
behaviour in Windows 7, and before we consider any changes we would 
need references to Microsoft documentation of such a change.

>
> Best wishes,
> Uwe Ligges
>
>
>
> Robert J. Hijmans wrote:
>> I had difficulties running R CMD check and build on windows 7.
>> 
>> The problem seems to be that the script creates folders to which
>> nobody has any access permissions (not even read). So the script can
>> not delete these folders or open files.
>> 
>> This worked for me:
>> 
>> Go to the properties of the root folder of your R project (e.g. "D:\R").
>> Change the settings so that this folder and its sub-folders do not
>> inherit permissions.
>> I wanted to next remove the "system" user (but that happened by
>> itself); and I added myself as a user (not sure if necessary, but
>> that's what I did).
>> You probably need admin privileges to do this.
>> 
>> 
>>> sessionInfo()
>> R version 2.9.1 (2009-06-26)
>> i386-pc-mingw32
>> 
>> locale:
>> LC_COLLATE=English_United States.1252;LC_CTYPE=English_United
>> States.1252;LC_MONETARY=English_United
>> States.1252;LC_NUMERIC=C;LC_TIME=English_United States.1252
>> 
>> attached base packages:
>> [1] stats     graphics  grDevices utils     datasets  methods   base
>> 
>> ______________________________________________
>> R-devel at r-project.org mailing list
>> https://stat.ethz.ch/mailman/listinfo/r-devel
>
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
>

-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595



[Rd] R CMD on windows 7
Prof Brian Ripley