[R] Help with Python, R and RPY
mousie at arcriswell.com
Mon Mar 11 18:13:53 CET 2002
Walter Moreira wrote a small extension module for using the R programming
language from within Python. Tim Church's example at
http://www.cmat.edu.uy/~walterm/rpy was so compelling, I could not resist
installing it on my Linux Mandrake 8.1 box.
But I ran into problems.
I have installed on Mandrake 8.1 both python and R:
I have also checked on the location of R using R RHOME which returns
When I run
python setup.py install
I get the following complaints,
[root at localhost rpy]# python setup.py install
Traceback (most recent call last):
File "setup.py", line 17, in ?
get_config_vars()['OPT'] = '-DNDEBUG -g -O3 -Wall'
File "/usr/lib/python2.2/distutils/sysconfig.py", line 408, in
File "/usr/lib/python2.2/distutils/sysconfig.py", line 313, in _init_posix
distutils.errors.DistutilsPlatformError: invalid Python installation: unable
to open /usr/lib/python2.2/config/Makefile (No such file or directory)
[root at localhost rpy]#
What do I need to do???
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch
More information about the R-help