Re: [Rpy] problem importing rpy

2007-11-05 Thread Gregory Warnes

These messages are generated by the R shared library as it attempts  
to load the fundimental R packages it needs.   This usually means  
that your installation of R is lacking properly installed versions of  
these packages.  Does R start up and run properly when run directly?

-G


On Nov 2, 2007, at 3:56PM , Andrew Jones wrote:

> When I try to import rpy I get the following messages:
>
> Python 2.4.4 (#9, Oct 30 2007, 15:13:19)
> [GCC 4.1.0 20060304 (Red Hat 4.1.0-3)] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
> >>> import rpy
> RHOME= /usr/local/lib/R
> RVERSION= 2.6.0
> RVER= 2060
> RUSER= /home/emu/ajones
> Loading Rpy version 2060 ..Error in dyn.load(file, ...) :
>   unable to load shared library '/usr/local/lib/R/library/methods/ 
> libs/methods.so':
>   /usr/local/lib/R/library/methods/libs/methods.so: undefined  
> symbol: Rf_allocS4Object
> Error in dyn.load(file, ...) :
>   unable to load shared library '/usr/local/lib/R/library/grDevices/ 
> libs/grDevices.so':
>   /usr/local/lib/R/library/grDevices/libs/grDevices.so: undefined  
> symbol: utf8locale
> In addition: Warning message:
> package "methods" in options("defaultPackages") was not found
> Error in dyn.load (file, ...) :
>   unable to load shared library '/usr/local/lib/R/library/grDevices/ 
> libs/grDevices.so':
>   /usr/local/lib/R/library/grDevices/libs/grDevices.so: undefined  
> symbol: utf8locale
> In addition: Warning message:
> package grDevices in options("defaultPackages") was not found
> Error in dyn.load(file, ...) :
>   unable to load shared library '/usr/local/lib/R/library/grDevices/ 
> libs/grDevices.so':
>   /usr/local/lib/R/library/grDevices/libs/grDevices.so: undefined  
> symbol: utf8locale
> In addition: Warning message:
> package graphics in options("defaultPackages") was not found
> Error in dyn.load(file, ...) :
>   unable to load shared library '/usr/local/lib/R/library/methods/ 
> libs/methods.so':
>   /usr/local/lib/R/library/methods/libs/methods.so: undefined  
> symbol: Rf_allocS4Object
> In addition: Warning message:
> package stats in options("defaultPackages") was not found
> During startup - Warning message:
> package methods in options("defaultPackages") was not found
>  Done.
> Creating the R object 'r' ..  Done
>
>
> I'm using R version 2.6.0 and rpy version 1.0RC3.  I'm running  
> fedora core 5.  I compiled R with the --enable-R-shlib --enable- 
> BLAS-shlib flags.  I've tried removing R and rpy and recompiling  
> both into a fresh install.  I've also checked to make sure there  
> wasn't an alternate version of R installed that would be confusing  
> things.  Is there something I am doing wrong?  Any help would be  
> appreciated.  Thanks,
>
> Andrew
>
> -- 
> ---
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a  
> browser.
> Download your FREE copy of Splunk now >> http://get.splunk.com/
> 


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
rpy-list mailing list
rpy-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rpy-list


Re: [Rpy] problem importing rpy

2007-11-05 Thread Andrew Jones
I don't get any error messages when I start up R by itself.  And methods and
grDevices are both listed when I do the library() command.  I don't actually
use R independently of rpy, so I'm not sure of how to test that they are
working correctly other than that.  Is there something I can run to test it?

On 11/5/07, Gregory Warnes <[EMAIL PROTECTED]> wrote:
>
>
> These messages are generated by the R shared library as it attempts
> to load the fundimental R packages it needs.   This usually means
> that your installation of R is lacking properly installed versions of
> these packages.  Does R start up and run properly when run directly?
>
> -G
>
>
> On Nov 2, 2007, at 3:56PM , Andrew Jones wrote:
>
> > When I try to import rpy I get the following messages:
> >
> > Python 2.4.4 (#9, Oct 30 2007, 15:13:19)
> > [GCC 4.1.0 20060304 (Red Hat 4.1.0-3)] on linux2
> > Type "help", "copyright", "credits" or "license" for more information.
> > >>> import rpy
> > RHOME= /usr/local/lib/R
> > RVERSION= 2.6.0
> > RVER= 2060
> > RUSER= /home/emu/ajones
> > Loading Rpy version 2060 ..Error in dyn.load(file, ...) :
> >   unable to load shared library '/usr/local/lib/R/library/methods/
> > libs/methods.so':
> >   /usr/local/lib/R/library/methods/libs/methods.so: undefined
> > symbol: Rf_allocS4Object
> > Error in dyn.load(file, ...) :
> >   unable to load shared library '/usr/local/lib/R/library/grDevices/
> > libs/grDevices.so':
> >   /usr/local/lib/R/library/grDevices/libs/grDevices.so: undefined
> > symbol: utf8locale
> > In addition: Warning message:
> > package "methods" in options("defaultPackages") was not found
> > Error in dyn.load (file, ...) :
> >   unable to load shared library '/usr/local/lib/R/library/grDevices/
> > libs/grDevices.so':
> >   /usr/local/lib/R/library/grDevices/libs/grDevices.so: undefined
> > symbol: utf8locale
> > In addition: Warning message:
> > package grDevices in options("defaultPackages") was not found
> > Error in dyn.load(file, ...) :
> >   unable to load shared library '/usr/local/lib/R/library/grDevices/
> > libs/grDevices.so':
> >   /usr/local/lib/R/library/grDevices/libs/grDevices.so: undefined
> > symbol: utf8locale
> > In addition: Warning message:
> > package graphics in options("defaultPackages") was not found
> > Error in dyn.load(file, ...) :
> >   unable to load shared library '/usr/local/lib/R/library/methods/
> > libs/methods.so':
> >   /usr/local/lib/R/library/methods/libs/methods.so: undefined
> > symbol: Rf_allocS4Object
> > In addition: Warning message:
> > package stats in options("defaultPackages") was not found
> > During startup - Warning message:
> > package methods in options("defaultPackages") was not found
> >  Done.
> > Creating the R object 'r' ..  Done
> >
> >
> > I'm using R version 2.6.0 and rpy version 1.0RC3.  I'm running
> > fedora core 5.  I compiled R with the --enable-R-shlib --enable-
> > BLAS-shlib flags.  I've tried removing R and rpy and recompiling
> > both into a fresh install.  I've also checked to make sure there
> > wasn't an alternate version of R installed that would be confusing
> > things.  Is there something I am doing wrong?  Any help would be
> > appreciated.  Thanks,
> >
> > Andrew
> >
> > --
> > ---
> > This SF.net email is sponsored by: Splunk Inc.
> > Still grepping through log files to find problems?  Stop.
> > Now Search log events and configuration files using AJAX and a
> > browser.
> > Download your FREE copy of Splunk now >> http://get.splunk.com/
> > 
>
>
> -
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >> http://get.splunk.com/
> ___
> rpy-list mailing list
> rpy-list@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/rpy-list
>
-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/___
rpy-list mailing list
rpy-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rpy-list


Re: [Rpy] problem importing rpy

2007-11-05 Thread Gregory Warnes


What do you get when you type

R RHOME

on the command line?

-G

On Nov 5, 2007, at 11:01AM , Andrew Jones wrote:

I don't get any error messages when I start up R by itself.  And  
methods and grDevices are both listed when I do the library()  
command.  I don't actually use R independently of rpy, so I'm not  
sure of how to test that they are working correctly other than  
that.  Is there something I can run to test it?


On 11/5/07, Gregory Warnes <[EMAIL PROTECTED]> wrote:

These messages are generated by the R shared library as it attempts
to load the fundimental R packages it needs.   This usually means
that your installation of R is lacking properly installed versions of
these packages.  Does R start up and run properly when run directly?

-G


On Nov 2, 2007, at 3:56PM , Andrew Jones wrote:

> When I try to import rpy I get the following messages:
>
> Python 2.4.4 (#9, Oct 30 2007, 15:13:19)
> [GCC 4.1.0 20060304 (Red Hat 4.1.0-3)] on linux2
> Type "help", "copyright", "credits" or "license" for more  
information.

> >>> import rpy
> RHOME= /usr/local/lib/R
> RVERSION= 2.6.0
> RVER= 2060
> RUSER= /home/emu/ajones
> Loading Rpy version 2060 ..Error in dyn.load(file, ...) :
>   unable to load shared library '/usr/local/lib/R/library/methods/
> libs/methods.so':
>   /usr/local/lib/R/library/methods/libs/methods.so: undefined
> symbol: Rf_allocS4Object
> Error in dyn.load(file, ...) :
>   unable to load shared library '/usr/local/lib/R/library/grDevices/
> libs/grDevices.so':
>   /usr/local/lib/R/library/grDevices/libs/grDevices.so: undefined
> symbol: utf8locale
> In addition: Warning message:
> package "methods" in options("defaultPackages") was not found
> Error in dyn.load (file, ...) :
>   unable to load shared library '/usr/local/lib/R/library/grDevices/
> libs/grDevices.so':
>   /usr/local/lib/R/library/grDevices/libs/grDevices.so: undefined
> symbol: utf8locale
> In addition: Warning message:
> package grDevices in options("defaultPackages") was not found
> Error in dyn.load(file, ...) :
>   unable to load shared library '/usr/local/lib/R/library/grDevices/
> libs/grDevices.so':
>   /usr/local/lib/R/library/grDevices/libs/grDevices.so: undefined
> symbol: utf8locale
> In addition: Warning message:
> package graphics in options("defaultPackages") was not found
> Error in dyn.load(file, ...) :
>   unable to load shared library '/usr/local/lib/R/library/methods/
> libs/methods.so':
>   /usr/local/lib/R/library/methods/libs/methods.so: undefined
> symbol: Rf_allocS4Object
> In addition: Warning message:
> package stats in options("defaultPackages") was not found
> During startup - Warning message:
> package methods in options("defaultPackages") was not found
>  Done.
> Creating the R object 'r' ..  Done
>
>
> I'm using R version 2.6.0 and rpy version 1.0RC3.  I'm running
> fedora core 5.  I compiled R with the --enable-R-shlib --enable-
> BLAS-shlib flags.  I've tried removing R and rpy and recompiling
> both into a fresh install.  I've also checked to make sure there
> wasn't an alternate version of R installed that would be confusing
> things.  Is there something I am doing wrong?  Any help would be
> appreciated.  Thanks,
>
> Andrew
>
>  
--

> ---
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a
> browser.
> Download your FREE copy of Splunk now >> http://get.splunk.com/
> 


-- 
---

This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a  
browser.

Download your FREE copy of Splunk now >> http://get.splunk.com/
___
rpy-list mailing list
rpy-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rpy-list

-- 
---

This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a  
browser.

Download your FREE copy of Splunk now >> http://get.splunk.com/



-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/___
rpy-list mailing list
rpy-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rpy-list


Re: [Rpy] problem importing rpy

2007-11-05 Thread Andrew Jones
Typing R RHOME gave me

/usr/local/lib/R

which is the correct installation directory.  Thanks a lot for your time
helping me out by the way,

Andrew

On 11/5/07, Gregory Warnes <[EMAIL PROTECTED]> wrote:
>
>
> What do you get when you type
>
> R RHOME
>
> on the command line?
>
> -G
>
> On Nov 5, 2007, at 11:01AM , Andrew Jones wrote:
>
> I don't get any error messages when I start up R by itself.  And methods
> and grDevices are both listed when I do the library() command.  I don't
> actually use R independently of rpy, so I'm not sure of how to test that
> they are working correctly other than that.  Is there something I can run to
> test it?
>
> On 11/5/07, Gregory Warnes <[EMAIL PROTECTED]> wrote:
> >
> >
> > These messages are generated by the R shared library as it attempts
> > to load the fundimental R packages it needs.   This usually means
> > that your installation of R is lacking properly installed versions of
> > these packages.  Does R start up and run properly when run directly?
> >
> > -G
> >
> >
> > On Nov 2, 2007, at 3:56PM , Andrew Jones wrote:
> >
> > > When I try to import rpy I get the following messages:
> > >
> > > Python 2.4.4 (#9, Oct 30 2007, 15:13:19)
> > > [GCC 4.1.0 20060304 (Red Hat 4.1.0-3)] on linux2
> > > Type "help", "copyright", "credits" or "license" for more information.
> > > >>> import rpy
> > > RHOME= /usr/local/lib/R
> > > RVERSION= 2.6.0
> > > RVER= 2060
> > > RUSER= /home/emu/ajones
> > > Loading Rpy version 2060 ..Error in dyn.load(file, ...) :
> > >   unable to load shared library '/usr/local/lib/R/library/methods/
> > > libs/methods.so':
> > >   /usr/local/lib/R/library/methods/libs/methods.so: undefined
> > > symbol: Rf_allocS4Object
> > > Error in dyn.load(file, ...) :
> > >   unable to load shared library '/usr/local/lib/R/library/grDevices/
> > > libs/grDevices.so':
> > >   /usr/local/lib/R/library/grDevices/libs/grDevices.so: undefined
> > > symbol: utf8locale
> > > In addition: Warning message:
> > > package "methods" in options("defaultPackages") was not found
> > > Error in dyn.load (file, ...) :
> > >   unable to load shared library '/usr/local/lib/R/library/grDevices/
> > > libs/grDevices.so':
> > >   /usr/local/lib/R/library/grDevices/libs/grDevices.so: undefined
> > > symbol: utf8locale
> > > In addition: Warning message:
> > > package grDevices in options("defaultPackages") was not found
> > > Error in dyn.load(file, ...) :
> > >   unable to load shared library '/usr/local/lib/R/library/grDevices/
> > > libs/grDevices.so':
> > >   /usr/local/lib/R/library/grDevices/libs/grDevices.so: undefined
> > > symbol: utf8locale
> > > In addition: Warning message:
> > > package graphics in options("defaultPackages") was not found
> > > Error in dyn.load(file, ...) :
> > >   unable to load shared library '/usr/local/lib/R/library/methods/
> > > libs/methods.so':
> > >   /usr/local/lib/R/library/methods/libs/methods.so: undefined
> > > symbol: Rf_allocS4Object
> > > In addition: Warning message:
> > > package stats in options("defaultPackages") was not found
> > > During startup - Warning message:
> > > package methods in options("defaultPackages") was not found
> > >  Done.
> > > Creating the R object 'r' ..  Done
> > >
> > >
> > > I'm using R version 2.6.0 and rpy version 1.0RC3.  I'm running
> > > fedora core 5.  I compiled R with the --enable-R-shlib --enable-
> > > BLAS-shlib flags.  I've tried removing R and rpy and recompiling
> > > both into a fresh install.  I've also checked to make sure there
> > > wasn't an alternate version of R installed that would be confusing
> > > things.  Is there something I am doing wrong?  Any help would be
> > > appreciated.  Thanks,
> > >
> > > Andrew
> > >
> > > --
> > > ---
> > > This SF.net email is sponsored by: Splunk Inc.
> > > Still grepping through log files to find problems?  Stop.
> > > Now Search log events and configuration files using AJAX and a
> > > browser.
> > > Download your FREE copy of Splunk now >> http://get.splunk.com/
> > > 
> >
> >
> >
> > -
> > This SF.net email is sponsored by: Splunk Inc.
> > Still grepping through log files to find problems?  Stop.
> > Now Search log events and configuration files using AJAX and a browser.
> > Download your FREE copy of Splunk now >> http://get.splunk.com/
> > ___
> > rpy-list mailing list
> > rpy-list@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/rpy-list
> >
>
> -
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >> http://get.splunk.com/<
> mime-attachment.txt>
>
>
>
> --

Re: [Rpy] RPy won't compile

2007-11-05 Thread Dirk Eddelbuettel

On 5 November 2007 at 18:40, Toby Dylan Hocking wrote:
| I am trying to compile RPy SVN release 361 on Ubuntu dapper using gcc 
| v.4.0.3. I have an identical software setup (I think) on a different 
| machine, so I'm really confused as to why it I can get it to compile on 
| the other machine but not this one.

[]

| src/RPy.h:56:20: error: Python.h: No such file or directory

Not having a Python.h would be a problem.

As you are on Ubuntu, which rebuilds the RPy package I maintain for Debian,
you can make your life easier by 
- installing either the existing python-rpy package (which may be an older 
  version), or 
- at least use it for it build-depends:

$ sudo apt-get build-dep rpy

  which will give you the right -dev packages for free.

My prefered solution would be to rebuild the (current) Debian package locally
on Ubuntu, but that may require a modicum of familiarity with the Debian
build tools. There are tutorials on the web, but you may want to skip that
step if you're in a hurry.

Hth, Dirk

-- 
Three out of two people have difficulties with fractions.

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
rpy-list mailing list
rpy-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rpy-list