I am a newbie to R and Python and am just trying to install both on WINXP 32
bit but am having problems.

I downloaded RPY2-2.1.0 but could not see any reference to which version of
R it was supposed to work with. I figured the latest R was as good as any to
start off with (due to a lack of any other information) so tried binaries R
2.11.0 for windows from the link below.

http://cran.ms.unimelb.edu.au/bin/windows/base/R-2.11.0-win32.exe

I can install R OK but when trying to install RPy2 I get the error

"Error: Tried to guess R's HOME but no R command in the PATH."

I checked the R-FAQ which seems to be relevant (sections 2.14 and 2.15) but
I still do not know what I am supposed to set. I have reproduced section
2.15 below

Am I supposed to put an R directory in the path (eg. by control panel) or am
I supposed to set an environment variable? (eg. HOME or R_LIBS)
Am I even installing the right version of R?
I found a recent discussion in this forum which said to use R version 2.9
but the archived windows binaries time out when I click on them. I only seem
to be able to download source.
But compiling source just seems that much harder ...

I am determined to get this working but hoped some of these questions would
be easily answered by you folk.


******************************
*******

Environment variables can be set for Rgui.exe and Rterm.exe in three
different ways.

   1. On the command line as name=value pairs. For example in the shortcut
   to Rgui you could have

             "path_to_R\bin\Rgui.exe" HOME=p:/ R_LIBS=p:/myRlib

   2. In an environment file .Renviron in the working directory or your home
   directory, for example containing the line

             R_LIBS=p:/myRlib

   If you have permission to do so, you can also create an environment file
   etc\Renviron.site and set environmental variables in that file in the
   same way. This is useful for variables which should be set for all users and
   all usages of this R installation. (Their values can be overridden in a
   .Renviron file or on the command line.)

   See ?Startup for more details of environment files.
   3. For all applications via Windows. How you set an environment variable
   is system specific: under Windows 2000/XP/2003 you can use `System' in the
   control panel or the properties of `My Computer' (under the `Advanced' tab).
   Under Vista, go to `User Accounts' in the Control Panel, and select your
   account and then `Change my environment variables'.
------------------------------------------------------------------------------
_______________________________________________
rpy-list mailing list
rpy-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rpy-list

Reply via email to