(1) How do I get a certain data frame column by name? I.e., what's
the equiv. to: mtcars$mpg? In RPy2, mtcars['mpg'] doesn't work.
(2) How do I specify the equivalent of qplot(x, data=df)? qplot('x',
data=df) doesn't work. Is the only way to use qplot(df[index])?
Thanks in advance.
-
FWIW I tried installing ipython 10.0 and that no longer exhibits this
crash. (I was on 10.0.2 before)
On Wed, May 11, 2011 at 4:09 PM, Yang Zhang wrote:
> On Tue, May 10, 2011 at 4:32 PM, Artur Wroblewski
> wrote:
>> On Wed, May 11, 2011 at 12:22 AM, Yang Zhang wrote:
>>
On Tue, May 10, 2011 at 4:32 PM, Artur Wroblewski wrote:
> On Wed, May 11, 2011 at 12:22 AM, Yang Zhang wrote:
>> I have R 2.13.0 installed via the CRAN Ubuntu lucid repo (installed
>> packages r-base, r-base-dev, and liblapack-dev). When I tried out
>> RPy2 (either 2.1 or
ice.o
-L/usr/lib64/R/lib -L/usr/lib64/R/modules -lR -llapack -lblas -lR -o
build/lib.linux-x86_64-2.6/rpy2/rinterface/rpy_device.so
Successfully installed rpy2
Cleaning up...
yang@partycat Tue May 10 16:20:42 ~/pod/sales git(master)
$ ipython
Python 2.6.5 (r265:79063, Apr 16 2010, 13:57