On Sat, Dec 18, 2010 at 5:24 PM, Gabor Grothendieck <ggrothendieck@gmail.com
> wrote:

> I am getting this error message when I try to run Rcmd SHLIB myprog.c.
>  There appears to be a missing / between etc and i386 in the path.  I
> am on Windows Vista and am using R version 2.12.1 Patched (2010-12-16
> r53864) and just downloaded Rtools 2.12 today.   Is this a bug in R?
> How can I resolve this?
>

This is due to new behavior in CYGWIN (the basis for Rtools). The
new CYGWIN does not like non-standard paths that have C: in them.
Some CYGWIN programs will not work when fed file names using
this syntax, but normally this is just a warning. The warning can be
suppressed by using the Control Panel to set CYGWIN=nodosfilewarning.
Another solution is to use POSIX equivalent paths of the form
/cydrive/c/PROG..., but this would require more extensive changes
to build scripts, etc.

There is another change that causes Rtools tar to choke in some
circumstances under Windows because it tries to change ownership
of the files extracted when it shouldn't. These error
messags can be suppressed by using the Control Panel to set
TAR_OPTIONS=--no-same-owner.

Dominick


> C:\tmp2>Rcmd SHLIB myprog.c
> cygwin warning:
>  MS-DOS style path detected: C:/PROGRA~1/R/R-212~1.X/etci386/Makeconf
>  Preferred POSIX equivalent is:
> /cygdrive/c/PROGRA~1/R/R-212~1.X/etci386/Makeco
> nf
>  CYGWIN environment variable option "nodosfilewarning" turns off this
> warning.
>  Consult the user's guide for more details about POSIX paths:
>    http://cygwin.com/cygwin-ug-net/using.html#using-pathnames
> make: C:/PROGRA~1/R/R-212~1.X/etci386/Makeconf: No such file or directory
> make: *** No rule to make target
> `C:/PROGRA~1/R/R-212~1.X/etci386/Makeconf'.  St
> op.
>
> --
> Statistics & Software Consulting
> GKX Group, GKX Associates Inc.
> tel: 1-877-GKX-GROUP
> email: ggrothendieck at gmail.com
>
> ______________________________________________
> R-devel@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
>

	[[alternative HTML version deleted]]

