nual specification of the directory.
L.
> HTH & TIA.
>
> Vince Fulco
>
> On Sun, Aug 17, 2008 at 3:49 AM, Laurent Gautier <[EMAIL PROTECTED]> wrote:
> > 2008/8/17 Vince Fulco <[EMAIL PROTECTED]>:
> >> x = robjects.r.rnorm(100)
> >>
> >&
This likely caused by an excessively conservative sanity check in
setup.py, which triggers an exception when R is compiled to use
a system-wide BLAS library.
That should be fixed in rev. 636 in SVN.
Laurent
On Mon, 2008-08-18 at 20:46 -0400, M. M. wrote:
> Dear all:
>
> trying t
Hi,
I am temporarily unable to build win32 compiled package.
If anyone is willing to help out, please contact me.
I'll be uploading one more alpha (there were still a number of serious
show-stoppers in 2.0.0-a2), hopefully this will be the last one before
the first beta.
If I do not get help with
-28 at 14:26 -0400, laurent oget wrote:
> What tool does it take to do a windows build? Do I need VS 2003?
>
> L
>
> 2008/8/24 laurent <[EMAIL PROTECTED]>:
> > Hi,
> >
> > I am temporarily unable to build win32 compiled package.
> > If anyone is willing
People may have difficulties helping you without further
specifications (like console output, etc...)
I previously installed rpy and rpy2 on 64bit machines
without trouble.
L.
On Tue, 2008-09-02 at 11:03 +0900, Hyunchul Kim wrote:
> Hi, all
>
> I tried to install rpy-1.0.3 with r-2.7.2 on Ub
On Tue, 2008-09-02 at 10:21 +0200, Robert Nuske wrote:
> Hi,
>
> there are rumors that "Django seems to be working with rpy2 on linux" so I
> tried to install rpy2-2.0.0a3 and also the revision 647 of rpy_nextgen.
>
> Debian testing with R 2.7.1-1+lenny1 and python 2.5.2-2.
>
> With both rpy ve
On Tue, 2008-09-02 at 11:05 +0200, Robert Nuske wrote:
> Am Dienstag, 2. September 2008 10:43:48 schrieben Sie:
> > On Tue, 2008-09-02 at 10:21 +0200, Robert Nuske wrote:
> > > Hi,
> > >
> > > there are rumors that "Django seems to be working with rpy2 on linux" so
> > > I tried to install rpy2-2.0
next error is a pointer error
> >
> > PyObject*
> > array_struct_get(PySexpObject *self)
> >
> > which should be ok, so Rinterface.h is the wrong header.
> > Of course i am at work and I was doing this on my home computer.
> >
> > Is setup.py
On Tue, 2008-09-02 at 18:26 +0200, Robert Nuske wrote:
> Hi laurent,
>
>
> > > I found them here:
> > > /usr/share/R/include/Rdefines.h
> > > /usr/share/R/include/Rinternals.h
> > > /usr/share/R/include/R.h
> >
> > I may have seen tha
On Tue, 2008-09-02 at 12:52 -0500, Dirk Eddelbuettel wrote:
> On 2 September 2008 at 18:26, Robert Nuske wrote:
> | > I may have seen that one problem mentioned earlier to the list.
> | me to, but can't find it now
> |
> | > The location of R's include files is seemingly a bit too exotic for the
On Wed, 2008-09-03 at 09:49 +0200, Robert Nuske wrote:
> Hi laurent,
>
> I just opend my mail-program to write you that I had to
> delete 'Rlapack', 'Rblas' to make the setup.py finally work, when I saw the
> note about your change in svn.
>
> I c
Checking what is the first error message seems to be helpful.
(headers for Python appear to be missing)
On Wed, 2008-09-03 at 18:35 +0900, Hyunchul Kim wrote:
> In file included from src/rpymodule2070.c:51:
> src/RPy.h:56:20: error: Python.h: No such file or directory
> In file included from src/R
ch should be ok, so Rinterface.h is the wrong header.
> > Of course i am at work and I was doing this on my home computer.
> >
> > Is setup.py supposed to create rinterface.h?
> >
> > Nicholas
> >
> > I noticed in
> > On Tue, 2 Sep 2008
Hi,
I am getting a little busier than anticipated, and I have to postpone
the release of the beta. From my current agenda, this should not happen
before 3-4 weeks.
The implementation is almost complete, and I'd encourage people trying
out the version in SVN.
Once the beta is out, that will only b
On Wed, 2008-10-08 at 16:49 -0500, Srikanth wrote:
[...]
> -
> However, when I run the equivalent code via RPy in a Python console,
> -
> import rpy2.robjects as robject
On Mon, 2008-10-13 at 10:27 +0100, Peter wrote:
> On Mon, Oct 13, 2008 at 10:02 AM, laurent <[EMAIL PROTECTED]> wrote:
> > ...is available for download.
> > - It should build and runs with R-2.7.x, R-2.8.0, and Python-2.4, 2.5,
> > and 2.6.0 on Linux, MacOSX, and wi
...is available for download.
- It should build and runs with R-2.7.x, R-2.8.0, and Python-2.4, 2.5,
and 2.6.0 on Linux, MacOSX, and win32
- There are no win32 binaries (my machine with winXP is currently
unavailable), and no MacOSX binaries (I do not have easy access to
MacOSX).
- The documentat
On Mon, 2008-10-13 at 10:51 +0100, Peter wrote:
> Peter wrote:
> >> Does the rpy v1 style r.dev_off() still work in rpy v2?
>
> Laurent replied:
> > Not directly. I have a sketchy attempt at making it possible (will be
> > there for the 2.0 release, still schedu
On Tue, 2008-10-14 at 10:57 +0100, Peter wrote:
> Laurent wrote:
> >>try:
> >>
> >>import rpy2.robjects as ro
> >>ro.r._dotter = True
> >>ro.r.dev_off()
>
> Andrew wrote:
> > Rather than have a toggle, why not have an alt
On Tue, 2008-10-14 at 16:39 +0100, Peter wrote:
> > Not completely, but I clearly overlooked the fact that such backward
> > compatibility through import statements are common practice in Python.
> > That's an interesting suggestion from Andrew... let me think on how I
> > can tie that together.
On Thu, 2008-10-16 at 10:55 -0400, laurent oget wrote:
> In Rpy 1 i c can do
>
> >>> import rpy
> >>> d=dict(x=[1,2],y=[2,3])
> >>> rpy.set_default_mode(rpy.NO_CONVERSION)
> >>> df=rpy.r.as_data_frame(d)
> >>> df
>
>
>
As you noticed, there was something missing in the example I just gave.
It should have been:
import array
import rpy2.robjects as ro
d = dict(x = array.array('i', [1,2]), y = array.array('i', [2,3]))
dataf = ro.r['data.frame'](**d)
L.
On Thu, 2008-10-16
On Fri, 2008-10-17 at 09:53 +0100, Peter wrote:
> Laurent Gautier wrote:
> >
> > As you noticed, there was something missing in the example I just gave.
> > It should have been:
> >
> > import array
> > import rpy2.robjects as ro
> >
> > d = d
On Sun, 2008-10-19 at 19:23 -0400, Michael Rutter wrote:
> Hello,
>
> I was spending a lazy Sunday afternoon testing the new R 2.8.0 beta in
> terms of building packages under Intrepid Ibex. Things we going fine
> until I tried to build rpy, and I received the following error:
>
> src/RPy.h:
On Mon, 2008-10-20 at 17:08 +0100, Peter wrote:
> On Mon, Oct 20, 2008 at 4:42 PM, laurent oget <[EMAIL PROTECTED]> wrote:
> >
> > I have built and used Rpy2 on ubuntu so it can be done, however the
> > API are different and replacing rpy with rpy2 in ubuntu packages w
On Mon, 2008-10-20 at 18:34 +0200, Robert Nuske wrote:
> Hi there,
>
> the documentation of rpy2 claims that the delegating attribute (.r) can be
> used with a whole number of operators, the power operator (**) being one of
> them.
Deceptive claim.
I must have been distracted while implement
On Mon, 2008-10-20 at 09:55 -0700, Eric Bell wrote:
> I want to be able to call R from python scripts that are being executed
> via lib-apache2-mod-python. Should this be doable?
In theory, yes.
It might have limited testing, still.
> My python script can access some R functionality but it is v
On Mon, 2008-10-20 at 12:39 -0700, Eric Bell wrote:
> No change in behavior. I've simplifed my python script and added the
> import rpy2.rinterface as instructed. I've stopped and started the
> apache server as appropriate voodoo.
No change was expected: '--verbose' instructs R to tell a bit mor
On Mon, 2008-10-20 at 21:12 -0700, Eric Bell wrote:
> Resolved ... or a least made to go away.
>
> It appears that the problem was caused in part due to loading another
> apache module supplied by R/Apache, as described at
> http://biostat.mc.vanderbilt.edu/rapache/ "R/Apache is a project
> dedi
On Wed, 2008-10-22 at 22:33 -0400, laurent oget wrote:
> After some more tinkering, I was able to build a windows installer for rpy2.
Good !
> I'll test it tomorrow.
More tests will fail, as some of the features are not working with
winXP, I think (the callback functions for consol
build distributed.
Having that one (2.0.0beta1) on sourceforge would be nice as it would
provide a similar reference for testing under win32 (although SVN is
supposed to be always better than snapshots).
L.
On Mon, 2008-10-27 at 11:18 -0400, laurent oget wrote:
> Here is the log of the r
Hi all,
I just uploaded the Laurent Oget's rpy2-2.0.0b1 win32 build for
Python-2.5 on Sourceforge.
L.
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest L
rpy2.rpy_classic is currently lagging behind the other rpy2.* modules
(in terms of reliability).
You have hit a bug. It should be fixed some time soon.
L.
On Tue, 2008-10-28 at 11:43 +1000, Denham Robert wrote:
> I am having problems with rp2.rpy_classic with conversions. If I do:
>
>
> $ p
On Tue, 2008-10-28 at 13:35 -0700, Mark Janikas wrote:
> In rpy you were able to create a dataframe from a dictionary. Is
> there a way to do that in rpy2? It appears you need to use a
> taggedlist now. Any info would be greatly appreciated. TY,
This was discussed recently on the mailing-lis
The release candidate for rpy2 - 2.0.0 is out.
Binaries should follow shortly (thanks to Laurent Oget for building
them).
Note that the SVN root for rpy2 moved (check the website for the
details).
L.
-
This SF.Net
Hint: the Python version you are trying to compile rpy2 against (2.3) is
not supported.
http://rpy.sourceforge.net/rpy2/doc/html/overview.html#requirements
L.
On Mon, 2008-11-03 at 16:20 +1100, cajela wrote:
> Hi,
>
> I just downloaded the release candidate rpy2-2.0.0rc1.tar.gz, and it
> wo
Hi,
Laurent Oget (from Predictix) kindly contributed a win32 binary
installer for Python2.5 / rpy2-2.0.0rc1.
It was just uploaded to the sourceforge site.
L.
-
This SF.Net email is sponsored by the Moblin Your Move
or message.
L.
On Fri, 2008-11-07 at 23:01 -0500, laurent oget wrote:
> I think Rpy2 needs at least R 2.7.1 and this particular build was
> built and verified with R.2.7.2
>
> Laurent Oget
>
> 2008/11/7 <[EMAIL PROTECTED]>:
> > Hi,
> >
> > I j
et, it has precedence of an R in the %Path%
> as suggested in
> http://rpy.sourceforge.net/rpy2/doc/html/rinterface.html#initialization.
>
> Cheers
> Oliver
>
>
>
> laurent <[EMAIL PROTECTED]> wrote on 08.11.2008 07:28:14:
>
> > It "should
Hi,
After spending a bit of time with rpy2 in interactive mode (that is
working from the python console) and with not-so-small datasets, I
realize that the current __repr__() method for RObjects (in
rpy2.robjects) is not forgiving for example when one calls an R function
that returns large objects
On Wed, 2008-11-12 at 18:26 +, Peter wrote:
> Hi Laurent,
>
> There have been a couple of threads recently about rpy2 having trouble
> locating R on Windows. I have a suggestion to improve the
> situation...
>
> By default the R installer will record the R paths in
That's not (yet) stated in the doc, but the code
for rpy2.riniterface.__init__ tells it:
1- look for R_HOME
2- if not R_HOME, try to get R_HOME from an executable R in
the $PATH/%Path%
3- if still nothing and win32, try to get R from the registry
L.
On Wed, 2008-11-12 at 16:02 -0500, la
On Wed, 2008-11-12 at 21:57 +, Peter wrote:
> On Wed, Nov 12, 2008 at 9:09 PM, laurent <[EMAIL PROTECTED]> wrote:
> >
> > That's not (yet) stated in the doc, but the code
> > for rpy2.riniterface.__init__ tells it:
> >
> > 1- look for R_HOME
>
On Thu, 2008-11-13 at 15:19 -0800, Judith Flores wrote:
> Hello,
>
> I have the following code:
>
>
> from rpy import *
> from easygui import *
>
> myfile=fileopenbox()
>
> r(""" dato<-read.csv(myfile) """)
'myfile' exists in your python session, but the symbol is unknown to the
embedded
On Fri, 2008-11-14 at 11:29 -0500, laurent oget wrote:
> As i suspected there is code to deal with the locale in the main.c of
> R, which switches some locale to "" which means they will use this
> machine's custom locale instead of "C", but they explicitely do
2008-11-14 at 11:06 -0500, laurent oget wrote:
> I encountered the same issue a few weeks ago
>
> http://sourceforge.net/mailarchive/message.php?msg_name=1224257111.11195.93.camel%40hot-spring
>
> import array
> import rpy2.robjects as ro
> import rpy2.rlike.container as rlc
On Thu, 2008-11-13 at 08:43 +0100, [EMAIL PROTECTED] wrote:
[...cut...]
>
> Now we are trying to make the switch to rpy2.
Note that the porting effort does not have to be made in one go.
rpy2 has a module to emulate rpy's behavior, and have it interplay with
the rest is possible. It is curren
Cleaning up manually the previous installs in python-libs may also help
L.
On Mon, 2008-11-17 at 08:23 -0500, laurent oget wrote:
> so you have the right python, but somehow your rpy is looking for
> symbols that are not there. i suspect part of your rpy was leftover
> from the init
On Sun, 2008-11-16 at 22:25 -0800, Nathaniel Smith wrote:
> rpy2 is awesome.
>
> But I was disconcerted to discover passing a numpy array to an R
> function just makes things blow up ("Nothing can be done for that
> type...") --
Complete error messages are:
"Nothing can be done for this array
On Mon, 2008-11-17 at 10:33 -0800, Nathaniel Smith wrote:
> On Mon, Nov 17, 2008 at 8:01 AM, laurent <[EMAIL PROTECTED]> wrote:
> > On Sun, 2008-11-16 at 22:25 -0800, Nathaniel Smith wrote:
[...]
>
> >> who uses rpy without numpy?
> >
> > The R-to-numpy b
I am using Sphinx 0.4.3 to build.
Please try if this works.
On Tue, 2008-11-18 at 16:09 +0100, Robert Nuske wrote:
> Hello,
>
> I tried to build the rpy2 documentation for offline reading an a Debian
> testing with R 2.71 and todays checkout of rpy2/branches/version_2.0.x
> (Rev. 696).
>
> Bu
Mon, Nov 17, 2008 at 8:01 AM, laurent <[EMAIL PROTECTED]> wrote:
> > On Sun, 2008-11-16 at 22:25 -0800, Nathaniel Smith wrote:
> >> rpy2 is awesome.
> >>
> >> But I was disconcerted to discover passing a numpy array to an R
> >> function just makes thin
On Tue, 2009-02-03 at 13:30 -0800, Nathaniel Smith wrote:
> why does EnvironmentSexp_ass_subscript (==
> rpy2.rinterface.SexpEnvironment.__setitem__) copy the value it is
> storing?
>
> PROTECT(sexp_copy = Rf_duplicate(sexp));
> Rf_defineVar(sym, sexp_copy, rho_R);
That's from the early de
With rpy2 (although there is currently no formal class for factors):
import rpy2.robjects as ro
vec = ro.StrVector(("a", "b", "a", "b"))
vec = ro.r["factor"](vec)
On Thu, 2009-04-09 at 19:38 -0400, David Warde-Farley wrote:
> Hi all,
>
> I'm somewhat new to Rpy, and trying to use the R r
There is even more in the fine manual:
http://rpy.sourceforge.net/rpy2/doc/html/introduction.html#linear-models
http://rpy.sourceforge.net/rpy2/doc/html/robjects.html#formulae
On Thu, 2009-04-09 at 21:10 +, Juls Night wrote:
> Many thanks!
>
> I see now how this works.
>
> Best,
> Juls
>
On Thu, 2009-04-09 at 15:59 -0400, Mark Larsen wrote:
> I have an R function that returns a list of Matrices and Vectors.
>
> I've been processing the return list like:
>
> rpyRV = rpy2.robjects.r.someFunc()
> for property,rObj in zip([i for i in rpyRV.getnames()],[i for i in
> rpyRV]):
> # d
On Fri, 2009-04-10 at 10:18 +0100, Peter wrote:
> On Fri, Apr 10, 2009 at 6:10 AM, laurent wrote:
> >
> > There is even more in the fine manual:
> >
> > http://rpy.sourceforge.net/rpy2/doc/html/introduction.html#linear-models
> > ...
>
> Can anyone t
On Thu, 2009-04-09 at 21:45 -0500, Mark Larsen wrote:
> Hate to keep replying to my own message but...
>
> I thought I'd throw a newer version of R at this problem. My above
> errors are with 2.7.1 and I thought I'd test with 2.8.2 (my
> development box, where all works well is at 2.7.2). I ke
On Fri, 2009-04-10 at 12:51 -0400, Mark Larsen wrote:
> Thanks Laurent.
>
> > Where was the hack needed ?
> > Setting your target R as the first one found in the PATH should be
> > enough.
>
> You are correct, I didn't need to hack it, I wasn't sure.
On Wed, 2009-04-22 at 12:16 -0500, Bo Peng wrote:
(...)
> If the correct answer is r('R.Version()').subset('svn rev')[0][0], I
> have to say that rpy2 is not for me.
1- There is not "one correct answer". There are several ways to achieve
it. Other options are :
import rpy2.robjects as ro
ro.r
Thanks,
I'll look into that ASAP.
L.
On Thu, 2009-04-23 at 12:29 +1000, Denham Robert wrote:
> I know this was raised before, and I saw a suggestion that using
> gc.collect seemed to fix things, but I am getting I think a memory leak
> in rpy2 which doesn't seem to occur in rpy. This could be
he necessary time/resources to build them.
The binaries currently available are contributed by a company (Laurent
Oget / Predictix), and that might be a interesting model to explore. A
number of rpy/rpy2 users appear to be working in for-profit
organizations, which might want to consider a contribu
On Thu, 2009-04-23 at 22:59 -0700, Nathaniel Smith wrote:
> Okay, revise that... after a closer look at the internals manual, I
> realized that lists are VECSXP, not LISTSXP. Silly me, don't know how
> I could have mixed that up. Also numpy2ri.py got fixed at some point.
>
> So the only real bug
Did you try something like:
http://www.google.com/search?q=rpy2+dev.off
?
On Fri, 2009-04-24 at 17:58 -0700, Kylee Kim wrote:
> The following seems to be working.
>
>
> >>> robjects.r('''
> ... x <- rnorm(100)
> ... pdf('/home/my/public_html/test.pdf')
> ... hist(x)
> ... dev.off()
> ... ''')
>
Hi Robert,
I looked at it a little closer, and the problem was a nasty missing
Py_DECREF() in rinterface.c's newSEXP(). People mostly creating their
vectors/arrays with R were not much subject to the problem, which may
explain why there were only sporadic complains about a process growing
in size.
On Mon, 2009-04-27 at 23:42 +0200, Vadim Axel wrote:
> Hi,
>
> I tried to installed rpy on Windows XP and it looks that something
> went wrong. As a matter of fact I am not sure that I didn't confuse
> something with all these compatibility issues. I have the following
> packages installed:
> P
Please specify your rpy2 version.
I am running your code without segfault with
rpy2-2.04 (to be released shortly)
and
R-2.9.0/Python 2.4.6
R-2.9.0/Python 2.5.4
R-2.9.0/Python 2.6.2
Trying updating your Python version, then your R version. There were
reports of people seeing mysterious segfau
On Wed, 2009-04-22 at 23:53 -0500, Bo Peng wrote:
> On Wed, Apr 22, 2009 at 10:33 PM, laurent wrote:
> > On Wed, 2009-04-22 at 12:16 -0500, Bo Peng wrote:
> > (...)
>
> I apologize for the wording of my previous email, which was sent, less
> than politely, out of my ex
The bugfix release 2.0.4 is out and the source package available on
SourceForge.
The release notes are:
Release 2.0.4
=
Bugs fixed
--
- Added missing named parameter *wantfun* to method :meth:`Renvironment.get`
(making it similar to :meth:`SexpEnvironment.get`)
- Leak in
This will not work for "anonymous" R objects, that R objects not having
an associated symbol (e.g., x = rpy2.robjects.IntVector([1,2,3]) ).
For what it's worth, pickling of low-level objects (rpy2.rinterface) is
working in the tip on bitbucket (that's the dev branch for 2.1). It is
using serializ
local directory and retry.
>
>
> BTW, if i upgrade R, would rpy2 can find R? Or should i reinstall
> rpy2?
It should work, but reinstalling rpy2 is probably not a major task so
I'd just reinstall.
>
> Thanks for looking into this!
>
>
> On Tue, Apr 28, 2009 at 8:58 P
On Mon, 2009-04-27 at 16:26 +0200, Toby HOCKING wrote:
> One more thing: in R it seems accent strings have the encoding "UTF-8"
> whereas python strings come into R always with an unknown encoding.
> Maybe this has something to do with it?
>
> thock...@stagiaire-desktop:~/rpy$ R
> > Encoding
there any chance in Rpy2 it will not happen?
>>> import rpy2.robjects as ro
>>> import rpy2.robjects.numpy2ri
>>> import numpy
>>> x = numpy.array([1,2,3], dtype = numpy.float32)
>>> y = numpy.array([4,5,6], dtype = numpy.float32)
>>>
Hi,
Thanks to bank holidays I had a bit of time to spend on the development
rpy2.
The default branch on bitbucket contains is currently the one for 2.1.x,
and is having a number of API-breaking changes and new features, mostly
in rpy2.robjects.
Among the new features (that are already working):
The release of the bug-fixing 2.0.5 for rpy2 should happen very soon.
Before that it would be nice if "OS X with framework" folks could
confirm that now it installs ok.
http://bitbucket.org/lgautier/rpy2/get/7a39d4076609.gz
L.
PS: 2.0.5 is likely one of the last bugfix releases for the 2.0.x
s
On Mon, 2009-06-15 at 17:22 +0100, Peter wrote:
> On Mon, Jun 15, 2009 at 4:47 PM, Laurent Gautier wrote:
> >
> > What is already not working in an R session has somewhat limited chances
> > of working with rpy2.
> >
> >> library(MASS)
> >> attach(&qu
On Mon, 2009-06-29 at 10:37 -0300, Donovan Parks wrote:
> Hello,
>
> I am new to RPy (and R in general) and am having trouble getting
> started. I'm performing a linear regression as follows:
>
> r = robjects.r
> xVec = robjects.FloatVector(X)
> yVec = robjects.FloatVector(Y)
r any and all help. I'm new to RPy\R so
> perhaps am missing something simple here.
>
> Cheers,
> Donovan
>
>
> PS: Thanks for your help Laurent on accessing the adj. r-squared value.
>
> --
On Wed, 2009-07-29 at 20:38 -0400, Skipper Seabold wrote:
> On Wed, Jul 29, 2009 at 8:17 PM, Skipper Seabold wrote:
> > On Thu, Jul 23, 2009 at 9:50 AM, Skipper Seabold wrote:
> >> On Thu, Jul 23, 2009 at 7:12 AM, Peter
> >> wrote:
> >>> On Thu, Ju
Hi,
I had a quick look at performances when working in R from rpy2.
The rpy2.robjects layer is predictably slower (hoewever a bit slower
than R than I wished), while the rpy2.rinterface lower-level interface
is faster.
Working with it is *faster than working from R* (about 7 times on the
simple/s
The documenation for the development branch has:
http://rpy.sourceforge.net/rpy2/doc-dev/html/robjects.html#data-frames
L.
On Wed, 2009-08-12 at 23:17 -0700, Jacob Biesinger wrote:
> Hi!
>
> Was just reading
> http://www.mail-archive.com/rpy-list@lists.sourceforge.net/msg01342.html and
> was
On 21/12/09 08:36, JJ wrote:
> Hello:
> I am using the gbm package and want to save the model returned after calling
> the function gbm via rpy2. For example,
> r.library('gbm')
> gbm = robjects.r['gbm']
> myModel = gbm(data)
>
> My question is, how can I save myModel such that I can later reload
Hi,
The alpha release for rpy2 - 2.1.0 is out.
While there are API-breaking changes from rpy2-2.0.x, this release
mostly develops the rpy2.robjects layer with features such as:
- Pickling of R objects
- Improvements to the rpy_classic emulation of the rpy interface
- Better representation of R
rpy_rinterface.h was missing from the source package archives. This
should now be fixed.
(thanks to Dirk Eddelbuettel for the instant bug report).
Laurent
--
This SF.Net email is sponsored by the Verizon Developer
://bitbucket.org/lgautier/rpy2/issue/16/conversion-of-named-lists-in-rpy_classic
Laurent
--
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development supp
:
http://rpy.sourceforge.net/news.html#%202009-01-03
Laurent
--
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 d
On 14/01/10 04:04, Guozhu.Wen wrote:
Hi, I use rpy2 2.0.6, I encountered some errors when I
load('mypackage') within rpy2 by r.source(rfile). Woudl you help me?
The environment variable R_LD_LIBRARY_PATH defined in my
$RHOME/etc/ldpaths is :
${R_LD_LIBRARY_PATH=${R_HOME}/lib:/usr/local/lib:}
example, that's:
import rpy2.robjects as ro
fcr = ro.r('factor(c("a", "b", NA, "a", NA))')
>>> list(fcr)
[1, 2, NA_integer_, 1, NA_integer_]
(used to be:
[1, 2, -2147483648, 1, -2147483648]
)
L.
On 15/01/10 17:41, Laurent Gautier wrot
On 18/01/10 16:47, Luca Beltrame wrote:
Hello,
I'm porting over some code from pure R to RPy2.1 (because I'm using R only to
perform the calculations, as I much prefer the data in other structures that
are more efficient) and I stumbled upon a function (which I didn't originally
write) that uses
On 18/01/10 20:23, Luca Beltrame wrote:
> In data lunedì 18 gennaio 2010 19:58:26, Laurent ha scritto:
>
>
>> # translation of the R code into rpy2
>>
> [snip]
>
> Thanks, I'll try that out. Is there a wiki for rpy2.1.x?
Not currently. It could be ar
You can get it from sourceforge or bitbucket.
Laurent
--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel
currently the 2.1.0rc)
Laurent
--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel
Closing an X11 window is an interactive event:
http://rpy.sourceforge.net/rpy2/doc-2.1/html/rinterface.html#processing-interactive-events
On 03/04/10 17:07, Vincent Davis wrote:
> I am running on osx, and new to R and rpy2. I don't seem to be able to
> close plots. for example from the introducti
Thanks. Glad to read this seems somehow useful.
I am getting a little behind comments and patches I have been receiving,
as I getting otherwise busy on many fronts (it seems that all possible
deadlines are concentrating over the current period).
Laurent
On 07/04/10 17:00, Luca Beltrame
might even be for one given
version of windows... just thinking that there might winXP and win7
specific to cover).
Best,
Laurent
On 09/04/10 16:31, Gary Strangman wrote:
>
> Has anyone out there buit a windows installer for rpy2.1rc that they might
> be able to share?
>
&g
On 10/04/10 12:34, Peter wrote:
> On Fri, Apr 9, 2010 at 5:42 PM, Laurent wrote:
>>
>> I am interested as well.
>>
>> As such the codebase is likely not even compiling. A generous anonymous
>> coder submitted a patch on bitbucket, but requests for details remain
present)
note: no win32/win64 support at this time, unless I a contributor steps
forward.
Thanks,
Laurent
--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
In the absence of massive protests regarding 2.1.0rc, it is turning into
rpy2 -2.1.0. Get it on Pypi or Sourceforge.
There might still be minor issues, at least with some of the people, and
they will be addressed with bug-fix releases.
Laurent
Date vectors in R can be handled in several ways. Check the
documentation and the R lists.
Having a DateVector is an interesting idea. It could possibly make
working with dates vectors easier from rpy2 than from R.
On 23/04/10 21:18, John Owens wrote:
> Howdy, I'd like to bring Python dates i
One possible way:
x = (('carni', 'red'), ('na', 'orange'))
r = ro.StrVector([elt[1] for elt in x])
r.names = ro.StrVector([elt[0] for elt in x])
L.
On 24/04/10 03:46, John Owens wrote:
> I haven't been able to work out how to map this syntax from R:
>
> colours<- c(carni = "red", "NA" = "orange",
1 - 100 of 870 matches
Mail list logo