Re: [Rpy] Arguments to high-level plotting commands

2008-02-14 Thread Peter
> By the way, > > k = rpy.r.terrain.colors(100) > > fails. Is there trick to get access to the terrain.colors or to other R > functions which have a dot (I don't know if there are many)? Yes, as the rpy documentation explains, use an underscore instead: k = rpy.r.terrain_colors(100) Peter -

Re: [Rpy] Arguments to high-level plotting commands

2008-02-14 Thread Thomas Walter
Hi Marco. Usually, you can replace them by underscore, i.e. k = rpy.r.terrain_colors(100) should work. Cheers, thomas. marco hofmann wrote: >Peter schrieb: > > >>marco hofmann wrote: >> >> >>>Hi there, >>>I'm not familiar with R.. and use RPy to use the graphical features of R >>>with

Re: [Rpy] Arguments to high-level plotting commands

2008-02-14 Thread marco hofmann
Peter schrieb: > marco hofmann wrote: >> Hi there, >> I'm not familiar with R.. and use RPy to use the graphical features of R >> with Python. >> >> ... >> >>> rpy.r.image(x,y,z,axes=FALSE) >> >> Traceback (most recent call last): >>File "", line 1, in >> rpy.r.image(x,y,f,axes=FALSE) >

Re: [Rpy] Arguments to high-level plotting commands

2008-02-14 Thread Peter
marco hofmann wrote: > Hi there, > I'm not familiar with R.. and use RPy to use the graphical features of R > with Python. > > ... > >>> rpy.r.image(x,y,z,axes=FALSE) > > Traceback (most recent call last): >File "", line 1, in > rpy.r.image(x,y,f,axes=FALSE) > NameError: name 'FALSE' is