On 7 October 2011 11:57, Nick Schurch <n.schu...@dundee.ac.uk> wrote:

> r('estimateVarianceFunctions <-
> function(){load("mySavedR.rdata")\nx=estimateVarianceFunctions(z)\nreturn(x)}')
>
> and then call it from python:
>
> >>> test = r.estimateVarianceFunctions()
>
> I get:
>
> Traceback (most recent call last):
>   File "<console>", line 1, in <module>
> RPy_RException: Error: evaluation nested too deeply: infinite recursion /
> options(expressions=)?
>

By giving your function the same name as the function from the library, I
assume you're overriding it. This would mean your function calls itself
instead of the library function, and recurses infinitely.

Why not call your function something else (even just
"myEstimateVarianceFunctions" or "wrapperEstimateVarianceFunctions")?

Thomas
------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2dcopy2
_______________________________________________
rpy-list mailing list
rpy-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rpy-list

Reply via email to