Re: [Rpy] Not getting the same result presented in RPy2 manual

2008-12-16 Thread Marcos Silva
Hi Laurent, Once again, thanks very much. I'm not a Python user. I'm trying learn a little about it, so it was useful your hint about the 'pydoc string'. I will try the approach you suggested using R's sink() function or maybe the capture.output() function. As the R's stem() function works on R

Re: [Rpy] Not getting the same result presented in RPy2 manual

2008-12-16 Thread Laurent Gautier
Cc'ing the answer to the list (as it may interest others). Marcos Silva wrote: > Hi Laurent, > > Thanks for your quick response. > > By the way, can I use **r_repr()** [well, by now I don't know for what > is this function for :) ] to solve the problem with the R stem() > function that I men

Re: [Rpy] Not getting the same result presented in RPy2 manual

2008-12-15 Thread Laurent Gautier
The API changed between the moment this was first written and the release 2.0.0. You want: letters.r_repr() (the fix to the doc is in SVN for one or two days). L. Marcos Silva wrote: > Hi People, > > What is wrong with these two piece of code? > > The following is an example presented in