> 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
-
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
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)
>
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