Sundar Dorai-Raj <sundar.dorai-raj <at> PDF.COM> writes: : : Gabor Grothendieck wrote: : > : > In R 1.9.0 on Windows XP Pro I get an error if I try to : > debug the identity function f shown: : > : > > f <- function(x)x : > > debug(f) : > > f(1) : > debugging in: f(1) : > Error in f(1) : Unimplemented feature in eval : > > R.version.string : > [1] "R version 1.9.0, 2004-04-12" : > : > Without debuggging its ok. : > : > : > : : Try : : f <- function(x) { x } : : --sundar
That made the error go away. Note that f <- function(x)sin(x) does NOT produce the error under debugging. Don't know why x and sin(x) would act differently in the above respect. ______________________________________________ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html