Hi,
You may want to spend more time with an introduction to Python: being
comfortable with Python programming is a requirement to use rpy (and
rpy2). Then, the documentation for rpy and rpy2 is reasonably complete
(at least it answers your question).
In the meantime, I think that the dollar
Hi,
I am creating a histogram and would like to center the labels. I normally
do this in R by the following:
# x has my data set
tmp <- hist(x, breaks=0:(max(x)+1), xaxt="n", right=FALSE, freq=FALSE)
axis(1, at=tmp$mids, labels=0:max(x))
In python, tmp$mids gives an error presumably because the