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





Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.