rcpp - Getting g++ error when installing R code from source -
i've downloaded rcpp cran , unzipeed , attempted build it. when try use r cmd install . in directory get:
cp: unknown option -- )
if try open session , use install.packages("rcpp", type = "source"), following error g++
:
*** arch - x64 g++ -m64 -i"c:/r/r-30~1.1/include" -dndebug -i../inst/include/ -i"d:/rcompile/cranpkg/extralibs64/local/include" -o2 -wall -mtune=core2 -c date.cpp -o date.o date.cpp:1:0: sorry, unimplemented: 64-bit mode not compiled in make: *** [date.o] error 1
i have rtools installed, , directories in front of path. on 64-bit windows 7. there install options missing? have been reading appendix d of r's installation , administration manual , can't find might have violated, installed through rtools. feel there flag not including can't figure out what.
this problem started working once did following (i'm not sure 1 fixed it) listed in consecutive order:
-threw coffee cup against wall, cursing dirk eddelbuettel
-changed r path variable c:r\r-3.0.1\bin c:\r\r-3.0.1\bin\x64\
-reinstalled rtools, time checking box allowing change system path, had been changing user path before
-asked spirit of dirk eddelbuettel forgiveness
-restarted rstudio
it worked. think because not considering system path, read first in windows, , running haskell g++ compiler, in front of everything, , 32 bit.
Comments
Post a Comment