[R] Problems when building a package for Windows 64
Prof Brian Ripley
ripley at stats.ox.ac.uk
Sun Mar 11 21:05:40 CET 2012
On 11/03/2012 19:43, Eduardo Mendes wrote:
> Hello
>
> I have recently installed R 2.14.2 on a brand new pc running Windows 64.
> One of things I would like to do is to recompile my R package (with C and
> fortran source codes) for this new environment (it works on a mac and on a
> linux box). To this end, I had rtools 2.14 downloaded and installed (I
> have also added 2.14.2/bin/x64 to PATH so that Rcmd works on a terminal).
That's the error you made. That toolchain is the default for R <=
2.14.1 but not for 2.14.2. Please do the homework the posting guide
asked of you, e.g. read http://cran.r-project.org/bin/windows/Rtools/ or
if you want to use the earlier version of Rtools, read
http://cran.r-project.org/doc/manuals/R-admin.html and set MkRules.local
accordingly.
> On a cmd terminal I issue the command Rcmd INSTALL build name_of_my_package
> to get
>
> (x86 works fine)
>
> *** arch - x64
> cygwin warning:
> MS-DOS style path detected: C:/PROGRA~1/R/R-214~1.2/etc/x64/Makeconf
> Preferred POSIX equivalent is:
> /cygdrive/c/PROGRA~1/R/R-214~1.2/etc/x64/Makeco
> nf
> CYGWIN environment variable option "nodosfilewarning" turns off this
> warning.
That's in the manual, too ....
> Consult the user's guide for more details about POSIX paths:
> http://cygwin.com/cygwin-ug-net/using.html#using-pathnames
> gfortran -m64 -O2 -mtune=core2 -c correl.f -o correl.o
> f951.exe: sorry, unimplemented: 64-bit mode not compiled in
> make: *** [correl.o] Error 1
> ERROR: compilation failed for package
>
> What am I missing?
>
> Many thanks
>
> Ed
>
> [[alternative HTML version deleted]]
The posting guide asked you not to send HTML.
> ______________________________________________
> 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.
Did we mention the posting guide?
--
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
More information about the R-help
mailing list