Re: [Rpy] rpy2 on windows doesn't use the registry

2008-11-12 Thread laurent
On Wed, 2008-11-12 at 21:57 +, Peter wrote: > On Wed, Nov 12, 2008 at 9:09 PM, laurent <[EMAIL PROTECTED]> wrote: > > > > That's not (yet) stated in the doc, but the code > > for rpy2.riniterface.__init__ tells it: > > > > 1- look for R_HOME > > 2- if not R_HOME, try to get R_HOME from an exe

Re: [Rpy] rpy2 on windows doesn't use the registry

2008-11-12 Thread laurent oget
Good. Either solution sounds reasonable to me. Laurent 2008/11/12 Peter <[EMAIL PROTECTED]>: > On Wed, Nov 12, 2008 at 9:09 PM, laurent <[EMAIL PROTECTED]> wrote: >> >> That's not (yet) stated in the doc, but the code >> for rpy2.riniterface.__init__ tells it: >> >> 1- look for R_HOME >> 2- if n

Re: [Rpy] rpy2 on windows doesn't use the registry

2008-11-12 Thread Peter
On Wed, Nov 12, 2008 at 9:09 PM, laurent <[EMAIL PROTECTED]> wrote: > > That's not (yet) stated in the doc, but the code > for rpy2.riniterface.__init__ tells it: > > 1- look for R_HOME > 2- if not R_HOME, try to get R_HOME from an executable R in > the $PATH/%Path% > 3- if still nothing and win32,

Re: [Rpy] rpy2 on windows doesn't use the registry

2008-11-12 Thread laurent
That's not (yet) stated in the doc, but the code for rpy2.riniterface.__init__ tells it: 1- look for R_HOME 2- if not R_HOME, try to get R_HOME from an executable R in the $PATH/%Path% 3- if still nothing and win32, try to get R from the registry L. On Wed, 2008-11-12 at 16:02 -0500, laurent

[Rpy] SF.net SVN: rpy:[694] rpy2/trunk

2008-11-12 Thread lgautier
Revision: 694 http://rpy.svn.sourceforge.net/rpy/?rev=694&view=rev Author: lgautier Date: 2008-11-12 21:07:28 + (Wed, 12 Nov 2008) Log Message: --- - version number: 2.1.0dev for the trunk - added setlock and freelock when entering R level (to prepare for experiments w

Re: [Rpy] rpy2 on windows doesn't use the registry

2008-11-12 Thread laurent oget
Does this mean that we will have to change a registry key to switch from one version of R to the other, or will the version of R that is on the PATH take precendence? Laurent 2008/11/12 Peter <[EMAIL PROTECTED]>: > Hi Laurent, > > There have been a couple of threads recently about rpy2 having tro

[Rpy] SF.net SVN: rpy:[693] rpy2/branches/version_2.0.x/rpy/__init__.py

2008-11-12 Thread lgautier
Revision: 693 http://rpy.svn.sourceforge.net/rpy/?rev=693&view=rev Author: lgautier Date: 2008-11-12 21:02:05 + (Wed, 12 Nov 2008) Log Message: --- fixed version number (note-to-self: must find a way to synchronize automatically the version number in setup.py and the on

[Rpy] SF.net SVN: rpy:[692] rpy2/trunk

2008-11-12 Thread lgautier
Revision: 692 http://rpy.svn.sourceforge.net/rpy/?rev=692&view=rev Author: lgautier Date: 2008-11-12 19:53:08 + (Wed, 12 Nov 2008) Log Message: --- merge changes from 2.0.x branch Modified Paths: -- rpy2/trunk/NEWS rpy2/trunk/doc/source/overview.rst

[Rpy] SF.net SVN: rpy:[691] rpy2/branches/version_2.0.x

2008-11-12 Thread lgautier
Revision: 691 http://rpy.svn.sourceforge.net/rpy/?rev=691&view=rev Author: lgautier Date: 2008-11-12 19:31:55 + (Wed, 12 Nov 2008) Log Message: --- moved rpy2.RObject.__repr__() to rpy2.RObject.r_repr(). (preventing mishaps with endless text dumps when working interacti

[Rpy] SF.net SVN: rpy:[690] rpy2/branches/version_2.0.x

2008-11-12 Thread lgautier
Revision: 690 http://rpy.svn.sourceforge.net/rpy/?rev=690&view=rev Author: lgautier Date: 2008-11-12 19:04:03 + (Wed, 12 Nov 2008) Log Message: --- - Added automated detection of R's HOME from the registry ( # pointed out by Peter) - edited doc about win32 builds Modi

Re: [Rpy] rpy2 on windows doesn't use the registry

2008-11-12 Thread laurent
On Wed, 2008-11-12 at 18:26 +, Peter wrote: > Hi Laurent, > > There have been a couple of threads recently about rpy2 having trouble > locating R on Windows. I have a suggestion to improve the > situation... > > By default the R installer will record the R paths in the registry, > but R is

Re: [Rpy] List index out of range

2008-11-12 Thread Peter
> [Forwarded for David Carr] > > From: Carr, David [mailto:[EMAIL PROTECTED] > Sent: Tuesday, November 11, 2008 1:28 PM > > Hello all, > > I am preparing a lecture for next week... was going to introduce rpy2 to the > class. > But using the latest rc1 binary on Windows and I get the following erro

Re: [Rpy] List index out of range

2008-11-12 Thread oliver . tomic
Hi, Laurent and Laurent helped me solve exactly the same problem a few days ago. R.exe needs to be in the PATH environment variable. For more details: http://sourceforge.net/mailarchive/forum.php?thread_name=1226070221.6870.96.camel%40hot-spring&forum_name=rpy-list Cheers Oliver

[Rpy] rpy2 on windows doesn't use the registry

2008-11-12 Thread Peter
Hi Laurent, There have been a couple of threads recently about rpy2 having trouble locating R on Windows. I have a suggestion to improve the situation... By default the R installer will record the R paths in the registry, but R is not added to the PATH, nor is the R_HOME environment variable set

Re: [Rpy] List index out of range

2008-11-12 Thread Peter
> [Forwarded for David Carr] > > From: Carr, David [mailto:[EMAIL PROTECTED] > Sent: Tuesday, November 11, 2008 1:28 PM > > Hello all, > > I am preparing a lecture for next week... was going to introduce rpy2 to the > class. > But using the latest rc1 binary on Windows and I get the following erro

[Rpy] List index out of range

2008-11-12 Thread Warnes, Gregory R.
[Forwarded for David Carr] From: Carr, David [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 11, 2008 1:28 PM Hello all, I am preparing a lecture for next week... was going to introduce rpy2 to the class. But using the latest rc1 binary on Windows and I get the following errors. Please