On 4/12/10 8:33 PM, Peter wrote: > On Mon, Apr 12, 2010 at 7:20 PM, Laurent Gautier<lgaut...@gmail.com> wrote: >> >> On 4/12/10 7:46 PM, Peter wrote: >>> (...) > >>> Why isn't rpy2 checking the registry to find R (a regression from rpy1)? >> >> It does, but only at run time. >> >> Building is a more advanced operation (and I filtering candidate that can't >> edit the %Path% out ;-) ). > > Would you accept a patch to "fix" this?
I have mixed feelings about it. A building machine may have several versions of R, and getting the R version automagically from the registry might become a headache. (I am considering that changing the %Path% is easier than modify the registry). If there is a strong consensus against me for having it patched, I'd surrender ;-) >> >> R likes mingw better, if I remember right. There are ever changing >> requirements about *the* right combination of tools for building R and >> packages and you will likely need them (or a subset thereof). >> > > I have used the cygwin provided mingw for Python 2.5, 2.4, and 2.3 but > had issues with it for compiling (non-rpy) extensions for Python 2.6 (if I > recall correctly) and switched to using the MS compiler for Python 2.6. > >>> What was the last version of R known to work with rpy2 on Windows XP 32 >>> bit? >> >> R-2.9 on my end, I think. >> > > Any idea how calling "R CMD config --cppflags" behaved? That seems to > be the stumbling block at the moment and has nothing to do with Python > or the compiler for rpy2. It could be something funny on my machine... You need the R development toolkit (mingw and some unix tools). Check the R FAQ for Windows. > Peter ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ rpy-list mailing list rpy-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rpy-list