I am trying to access the \"as.vector\" R function from within Python, using rpy2. Let\'s say, for the sake of simplicity, that I want to do something as simple as this usin
Get a reference to the function using the rpy2.robjects.r interface.
So, you could do something like:
as_vector = robjects.r("as.vector") vect = as_vector(r_vect)