Skip to content
Back to formatted view

Raw Message

Message-ID: <Pine.A41.4.44.0306251632190.39252-100000@homer21.u.washington.edu>
Date: 2003-06-25T23:34:22Z
From: Thomas Lumley
Subject: probelem of function inside function
In-Reply-To: <20030625204823.35956.qmail@web41202.mail.yahoo.com>

On Wed, 25 Jun 2003, array chip wrote:

> Hi,
>
> I encountered a problem when I am trying to write my
> own function which contains another function. To
> simplify a problem, I tried the following simplified
> function, hope someone can idenfity the problem for
> me.
>
<snip>
> > f.fun(var='x',fdata=testdata)
> Problem in eval(oc, list()): Object "fdata" not found
> Use traceback() to see the call stack

This looks very much like an S-PLUS error message, and in addition to any
etiquette issues about asking S-PLUS questions on r-help, this is the sort
of question where the answer may actually be quite different in the two
systems.

	-thomas