On 12 June 2013 18:28, huang jin <huangjinsuz...@gmail.com> wrote:
> astsa.acf2(L, 3) # L:a numeric list returned by my omitted code,I checked
> it is a valid list
If you turn your numeric list into a numpy array using numpy.asarray(L),
numpy2ri will convert it to a vector. There may be more direct ways to
achieve the same thing, but that works.
Thomas
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:
Build for Windows Store.
http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
rpy-list mailing list
rpy-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rpy-list