On 12 June 2013 18:28, huang jin 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 sa
I am a newbie to rpy2, so it might be a silly question.
I am using python 2.7 and rpy2 corresponding newest version in Linux
I tried to call R function from python using rpy2, my first a few lines are
as follows.
import rpy2.robjects as robjectsfrom rpy2.robjects.packages import importr
import r