Hi All,

I am new to python, R and rpy2. I am trying to print an Rvector say v and I
want to print 1st element so the statement will be

*print (v[0])* and this gives me *output [1] 876* but the real value I
should get is 876.

Can any one can help how to get rid of [1] while printing.

I am using python 2.6,R-core-2.9.2-1 and rpy2.

Please help me in this regard.


Thanks
Bhanu

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to