From: BORGULYA <bor...@gy...> - 2007-01-04 22:28:23
|
Dear All, Could someone tell how to get the Nth row of a data_frame in Rpy? The R version works, but I dont know what to write in Rpy: R VERSION > d =3D data.frame(a=3Dc(1,2,3), b=3Dc(71,72,73)) > r1 =3D d[1, ] > r1 a b 1 1 71 RPY VERSION from rpy import * set_default_mode(NO_CONVERSION) d =3D r.data_frame(a=3D(1,2,3), b=3D(71,72,73)) r1 =3D ???????? G=E1bor |