Re: [Rpy] How to use libraries in rpy?

2007-05-13 Thread Gregory Warnes
Sorry, there was a typo in my message: On May 13, 2007, at 10:05PM , Gregory R. Warnes wrote: > > The problem is that in **R** '.' (period) is a valid character in a > variable/function *name*, while it is not valid in python. To > overcome this problem, use '_' (underscore), which RPy will tran

Re: [Rpy] How to use libraries in rpy?

2007-05-13 Thread Gregory R. Warnes
The problem is that in python '.' (period) is a valid character in a variable/function *name*, while it is not valid in python. To overcome this problem, use '_' (underscore), which RPy will translate to a '.' So, try palette = r.brewer_pal(3, "Greens") -Greg On May 12, 2007, at