This is to summarize my workaround to install R/parallel in win32/64 boxes.  
Recently I had problems to install rparallel:
1. The package's Makevars.win coded include fixed path for Rtools
2. package is written in C++; Rtools and R are not intended to run g++ by 
default.

My workaround:
1. Need to install R, Rtools as usual.  Note Rtools 2.12 has both 32bit mingw 
and 64 bit.  However, it doesn't include package for g++ and libstdc++.  You 
need to install these 2 packages into rtools from sourceforge first.
2. In rparallel source tree, open Makevars.win: change the PKG_CPPFLAGS and 
PKG_LIBS variables to point to your correct rtools and rtools/mingw directories.
3. In R_installation/etc: open i386 or win64 (forget the name for 64bit) and 
open Makeconf file; look for DLLFLAGS += ... and append -static-libstdc++.  
This 
flag will cause g++ to statically link in libstdc++.

then you can run usual R CMD INSTALL rparallel.

Good luck.


      
        [[alternative HTML version deleted]]

______________________________________________
R-help@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.

Reply via email to