Lindsey,
The documentation is indeed missing an explicit example. Try: import rpy2.robjects as ro import rpy2.rlike.container as rlc tl = rlc.TaggedList((ro.IntVector((1,)), ro.IntVector((2,))), tags = ('a', 'b')) df = ro.RDataFrame(tl) A TaggedList has a number of methods: http://rpy.sourceforge.net/rpy2/doc/html/rlike.html#rpy2.rlike.container.TaggedList L. Lindsey Bangay wrote: > Please could I ask someone for a simple example on how to use tagged lists or > to create a R dataframe. I specifically need this in order to preserve the > order in which variables are added to a data frame. > > I have fiddled with little success. Any example would be appreciated. > > Thanks > Lindsey ------------------------------------------------------------------------------ Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com _______________________________________________ rpy-list mailing list rpy-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rpy-list