On Mon, 25 Oct 2010, Erin Hodgess wrote:
> Dear R People:
>
> I'm trying to experiment with the "make distribution" with
R-2.12.0
> when compiling from source on Windows. It works fine on Windows XP,
> but I'm having a snag with Windows 7.
>
> Here is the snag:
>
> cp -prf "../../../Tcl" R-2.12.0
> cp: preserving permissions for `R-2.12.0/Tcl/bin': Invalid argument
> cp: preserving permissions for `R-2.12.0/Tcl/doc': Invalid argument
>
> and so on.
>
> Has anyone run into this, please?
Yes. This is an issue with how you unpacked the Tcl directory.
Without knowing how you did that, you will need either to
- Use Windows Explorer to correct the ownership/permissions of Tcl and
those subdirectories -- sometimes simply renaming it and making a copy
called 'Tcl' is the easiest way forward.
- Remove it and unpack it some other way, e.g. via the zip file
available at http://www.stats.ox.ac.uk/pub/Rtools/
Cygwin and Windows 7/Vista do sometimes fight over permissions (and
this is using cp from Cygwin): I've seen this more often with the
Cygwin update in the current Rtools212 than in earlier versions.
>
> Thanks for any help.
>
> Sincerely,
> Erin
>
> --
> Erin Hodgess
> Associate Professor
> Department of Computer and Mathematical Sciences
> University of Houston - Downtown
> mailto: erinm.hodgess at gmail.com
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>
--
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