Let me clarify that.  I can't seem to follow the Readme instructions right
(I am new to R) and I don't know what I am doing wrong.


On Thu, Aug 18, 2011 at 4:42 PM, Evan W Carson <[email protected]>wrote:

> I am trying to install Rpy but am unsure what I am doing wrong.
> I am up to here on the README, but it doesn't work:
>
> (b) Then, configure the path to the R library.  You have several ways to do
>     this (substitute RHOME with the path where R is installed, usually
>     /usr/local/lib/R):
>
>         o make a link to RHOME/bin/libR.so in /usr/local/lib or /usr/lib,
> then
>           run 'ldconfig',
>
>         o or, put the following line in your .bashrc (or equivalent):
>
>             export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:RHOME/bin
>
>         o or, edit the file /etc/ld.so.conf and add the following line:
>
>             RHOME/bin
>
>           and then, run 'ldconfig'.
>
> If I drop the setup.py into Python loader, I get this:
>
> Id00-129-24-145-58:~ turnerlab$ cd '/Applications/rpy-1.0.3/' &&
> '/usr/local/bin/pythonw'  '/Applications/rpy-1.0.3/setup.py'  && echo Exit
> status: $? && exit 1
> RHOMES= []
> DEBUG= True
> Setting RHOMES to  ['/Library/Frameworks/R.framework/Resources']
> Traceback (most recent call last):
>   File "/Applications/rpy-1.0.3/setup.py", line 109, in <module>
>     RVERSION = rpy_tools.get_R_VERSION(RHOME, force_exec=True)
>   File "/Applications/rpy-1.0.3/rpy_tools.py", line 103, in get_R_VERSION
>     raise RuntimeError("Couldn't obtain version number from output\n"
> RuntimeError: Couldn't obtain version number from output
> of `R --version'.
>
> --
> For those interested, check out my website Evolution and Population
> Genetics of Desert Fishes <http://www.evanwcarson.com>.
>



-- 
For those interested, check out my website Evolution and Population Genetics
of Desert Fishes <http://www.evanwcarson.com>.

        [[alternative HTML version deleted]]

_______________________________________________
R-SIG-Mac mailing list
[email protected]
https://stat.ethz.ch/mailman/listinfo/r-sig-mac

Reply via email to