Hi
I am trying to use the "plm" panel data package in R through Rpy.
The "plm" package needs either the variables supplied in a certain order (in my
example the first two columns have to be id and year) or use of the plm.data
method to supply certain indices.
Here is is test program which I ca
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()
> ... ''')
>
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
The following seems to be working.
>>> robjects.r('''
... x <- rnorm(100)
... pdf('/home/my/public_html/test.pdf')
... hist(x)
... dev.off()
... ''')
I was able to retrieve the histogram in pdf format. But I would like to pass
some python variables into robjects.r( ). For example, I would want t
Hi,
I am trying to save plot outputs in pdf file format using RPy2.
The usual simple routine that I would do in R is something like this:
x <- rnorm(100)
pdf("/home/me/public_html/test.pdf")
hist(x)
dev.off()
Now, using Rpy2, I am trying the same job, but I am getting error message
for r.dev.off(