Menu

#13 How to pass (user-defined) Python function as parameter to R

rpy2-2.0.x
open
nobody
None
5
2012-07-18
2010-06-17
No

I would like to call the optim {stats} R function from within a Python script. However, the optim() function takes, among other things, a reference to a
user-defined function as one of its arguments. Is this even doable via RPy2?

-- K. C. Cartier

Discussion

Anonymous
Anonymous

Add attachments
Cancel