similar to: API question (embedding R)

Displaying 20 results from an estimated 300 matches similar to: "API question (embedding R)"

2009 Jul 31
8
How to stop an R script when running JGR on a Linux/SuSE system
When I need to stop a running R script on Windows or Mac I just use the <esc> key which kills the current script and returns the control to R interpreter. But when I run R from JGR the <esc> is useless as well as the other available keyboard keys. Just recently not even clicking on the STOP-symbol (a big red X) placed on JGR top menu bar could terminate a process that had entered a
2002 Sep 01
5
IceS: compile problem with Python
Hello! I can't compile IceS 0.2.3 with Python 2.2 (X86, Red Hat Linux 7.3) ==================================== [root at radio ices-0.2.3]# ./configure --with-lame --with-python=/usr/bin --with-python-includes=/usr/include/python2.2 --with-python-libraries=/usr/lib/python2.2 ==================================== Configure script tell me: ==================================== <....>
2004 Aug 06
0
ices 0.2.2 compile problems Py_Initialize and cannot find -lz
Hi I'm having this same problem 'configure won't find Py_Initialize' I was hoping somebody could enlighten me as to exactly what I have to add to which file and when, while I'm configure'ing. On Tue, 4 Sep 2001, Ben Wilson wrote: > > First off, I managed to build iceS 0.2.2 with Python 2.1, though I had to > add -lutil to the $LIBS definition whilst
2004 Aug 06
1
IceS: compile problem with Python
> Leave out the --with-python-libraries line. The libraries are probably > in /usr/lib, not /usr/lib/python2.2. That is, if you've made sure to > install the python-devel rpm. Python and python-devel installed correctly.... I tried without --with-python-libraries line; with --with-python-libraries= /usr/lib; --with-python=/usr; --with-python=/usr/bin; --with-python; etc with
2004 Aug 06
1
ices 0.2.2 compile problems Py_Initialize and cannot find -lz
Hey Harvey -- all you need to do is to add -lutil to the $LIBS list around line 3968 of "configure" LIBS="-l$lib -lm -ldl $LIBS" becomes LIBS="-l$lib -lm -ldl -lutil $LIBS" hould solve yer problems. also, around line 3957, in the 'for lib in python python2.0 python1.6, etc, you may want to add python2.1 (if you have 2.1 installed, else it may have trouble
2004 Aug 06
2
Two Things: Python 2.1 & ices 0.2.2 / Multiple Streams
First off, I managed to build iceS 0.2.2 with Python 2.1, though I had to add -lutil to the $LIBS definition whilst ./configure'ing. Otherwise, configure won't find Py_Initialize Secondly - multiple streams I've added a second "stream" definition to my ices.conf, and both streams show up as sources for icecast, (http://blah.com:8000/list.cgi), though when i try to connect
2017 Jan 26
0
[nbdkit PATCH v2 5/6] python: Expose nbdkit_set_error to python script
In addition to calling python functions from C, we want to make script writing easier by exposing C functions to python. For now, just wrap nbdkit_set_error(), as that will be needed for an optimal implementation of a zero() callback. Signed-off-by: Eric Blake <eblake@redhat.com> --- plugins/python/nbdkit-python-plugin.pod | 27 +++++++++++++++++++++++---- plugins/python/python.c
2010 May 31
4
building rpy against lenny-cran
Hi. On all of my machines, except for a netbook cursed with the GMA500 chipset, the R packages are synced to lenny-cran. I have been using rpy in a chroot using the official lenny R packages (2.7.1) given that i have not been able to find compatible rpy deb packages to work with lenny-cran. I am able to build the rpy deb package from source in a 32-bit lenny chroot (with the stock R packages)
2017 Jan 26
10
[nbdkit PATCH v2 0/6] bind .zero to Python
Fix some things I noticed while reviewing v1, and follow Rich's idea to add a new nbdkit_set_error() utility function with a binding for Python users to request a particular error (rather than being forced to live with whatever stale value is in errno after all the intermediate binding glue code). I could not easily find out how to register a C function callable from perl bindings, and have
2009 Jul 09
1
Rpy not working after upgrade to R2.9.1
Hi, I'm running Ubuntu Jaunty, downloading R and Rpy from this repository: deb http://cran.uk.r-project.org/bin/linux/ubuntu jaunty/ When was automatically upgraded, Rpy (which should be downloaded from the same repository) seems to have stopped working. I've tried re-installing the python-rpy package manually. I get the following error when I try to import rpy: >>> import
2008 Sep 10
0
How to install rpy under mac os x?
Hi to all, there are some binary .dmg packages to install easly rpy under mac os x? I'm tryin' to install Rpy under Mac Os X but I receive the following message: host46-209-dynamic:rpy usernone$ python setup.py install running install running build running build_py running build_ext building 'rpy2.rinterface.rinterface' extension gcc -arch ppc -arch i386 -isysroot
2011 Mar 01
1
does rpy support R 2.12.2
Hi, I am getting the following error when I try to run import rpy from the the python IDE: Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/lib/python2.6/dist-packages/rpy.py", line 134, in <module> """ % RVERSION) RuntimeError: No module named _rpy2122 RPy module can not be imported. Please
2012 Jul 17
1
python-rpy DEB broken - but hopefully easy to fix
Hi CRAN people, There is an issue with python-rpy on Ubuntu, when installed from the CRAN repository. (I read the info on http://cran.r-project.org/bin/linux/ubuntu/ and saw the note that this package is experimental but you are happy to receive feedback on it.) After adding the appropriate CRAN repo: % sudo apt-get install python-rpy [ ... installs various dependencies ... ] % echo import rpy |
2003 Oct 27
1
Rpy Import Error
I am trying to install Rpy to test it out as an R interface for a project that I am working on. However, I get the following error. Any clues as to what might be going on? I have alo tried RSPython, but I gave up due to errors. RSPython segfaults when started from R and gives an error message I can;t remember from python. Thanks, Brett >>> import rpy Traceback (most recent call
2004 Jan 16
0
FW: Announce: RPy version 0.3.3
> -----Original Message----- > From: Warnes, Gregory R > Sent: Friday, January 16, 2004 3:52 AM > To: 'r-packages'; 'python-announce '; 'rsoap-talk'; 'Dan Nathan'; 'RPy > List' > Subject: Announce: RPy version 0.3.3 > > > RPy Version 0.3.3 is now available from the RPy home page at > http://rpy.sf.net. > > What
2004 Jan 16
0
FW: Announce: RPy version 0.3.3
> -----Original Message----- > From: Warnes, Gregory R > Sent: Friday, January 16, 2004 3:52 AM > To: 'r-packages'; 'python-announce '; 'rsoap-talk'; 'Dan Nathan'; 'RPy > List' > Subject: Announce: RPy version 0.3.3 > > > RPy Version 0.3.3 is now available from the RPy home page at > http://rpy.sf.net. > > What
2008 Mar 24
1
Running rpy produces the error message undefined symbol: KillAllDevices
Hello All, I've been using R for a while and decided to test R from the svn trunk. I know that trunk is not stable, but I wanted to see if I can install and run the latest rpy on my Ubuntu 7.10 box. It installed ok, but I got the runtime error message: $ python Python 2.5.1 (r251:54863, Mar 7 2008, 04:10:12) [GCC 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)] on linux2 Type
2006 Jan 09
3
R plot display problem under windows when using python rpy module.
Dear list, Rpy is a python module that provides python interface to R. The following simple commands >>> from rpy import * >>> r.plot(0) is supposed to create a window that displays the result of plot(0). However, we observe that 1. Under *nix, rpy+R+python work as expected 2. Under windows, python + pythonWin32 (a python GUI provided by the pywin32 module), work as expected
2009 Jan 09
1
Calling R functions from Python
All- Thanks in advance for your help. I'm trying to call R function using Python in a windows environment and have downloaded the Rpy library however it doesn't appear to work with R 2.7.2. Does anyone know if a new version of Rpy exists for windows that will work with R and where it can be downloaded from? Here's an example of the error I'm getting:
2008 Apr 18
2
RPy
I'm curious if there are users of RPy on this list. I've recently created a gui front end using Tkinter for some python scripts I've written for some of our internal operations and I am quite pleased with how this program works. I wonder if it is possible to also get this gui to run R functions through the use of RPy. Going even a step further, I wonder if it is possible to get this