Re: [R] probelem of function inside function

About this list Date view Thread view Subject view Author view Attachment view

From: array chip (arrayprofile@yahoo.com)
Date: Thu 26 Jun 2003 - 09:46:50 EST


Message-id: <20030625234650.72297.qmail@web41214.mail.yahoo.com>

Actually, It is the question I encountered in S-Plus.
Sorry that I forgot to mention. As Simon just pointed
out, the function works fine in R (Thanks!). But in
any case, does anyone know how to solve the problem in
S-Plus?

Thanks

--- Thomas Lumley <tlumley@u.washington.edu> wrote:
> 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
>

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help


About this list Date view Thread view Subject view Author view Attachment view

This archive was generated by hypermail 2.1.3 : Tue 01 Jul 2003 - 09:12:09 EST