[Rd] Cannot Install Custom Package On Windows7 64-bit

From: Steve Pederson <stephen.pederson_at_adelaide.edu.au>
Date: Fri, 18 May 2012 16:25:26 +0930


After uninstalling Rtools 2.14.0, I have installed the latest version of Rtools 2.15.0 which gives the two folders



R is installed in the directory


I have set the Environment Variable


I am trying to install a custom package (BMEA_0.2.1) which is exactly as written & built successfully on R-2.14.0  

When I use R CMD INSTALL BMEA_0.2.1.tar.gz, I get the following output

cygwin warning:

  MS-DOS style path detected: C:/R/R-2.15.0/etc/x64/Makeconf

  Preferred POSIX equivalent is: /cygdrive/c/R/R-2.15.0/etc/x64/Makeconf

  CYGWIN environment variable option "nodosfilewarning" turns off this warning

  Consult the user's guide for more details about POSIX paths:


gcc -m64 -I"C:/R/R-2.15.0/include" -DNDEBUG -I"d:/RCompile/CRANpkg/extralibs64/local/include" -02 -Wall -std=gnu99 -mtune-core2 -c getLogFC.c -o getLogFC.o

gcc: not found

make: *** [getLogFC.o] Error 127

ERROR: compilation failed for package 'BMEA'

It looks to me like it can't find the compiler, but I'm stumped as to how to make that happen. I can see the gcc.exe file in "C:\Rtools\gcc-4.6.3\bin" so it does seem to be there (if that's what it's trying to look for)  

Thanks in advance,  


        [[alternative HTML version deleted]]

R-devel_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Fri 18 May 2012 - 06:58:27 GMT

This quarter's messages: by month, or sorted: [ by date ] [ by thread ] [ by subject ] [ by author ]

All messages

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Fri 18 May 2012 - 08:31:21 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-devel. Please read the posting guide before posting to the list.

list of date sections of archive