Hi Rpy2 users,
I'm having some difficulty passing the 'na.rm' parameter to the R 'max'
function. I'm pretty new to rpy2, so I'm sure it's something obvious I'm
missing.
I have referred to the documentation on this subject, here:
http://rpy.sourceforge.net/rpy2/doc-2.2/html/robjects_functions.h
Nick,
I think you can use *SignatureTranslatedFunction* to translate argument na.rm
to na_rm. I replicated your example as follows:
from rpy2.robjects.packages import importr
from rpy2.robjects.functions import SignatureTranslatedFunction
base = importr('base')
base.max = SignatureTranslatedFu