Re: [Rd] new.env does not recognize parents from subclassesof "environment"

2010-10-22 Thread Vitally S.
nvironment". > I am following the news in daily snapshots from here ftp://ftp.stat.math.ethz.ch/Software/R and the above line is still not in the NEWS of today's version. Thanks for the patch. Looking forward to the stable release. Vitally. > On 10/22/10 10:20 AM, Vitally S.

Re: [Rd] new.env does not recognize parents from subclassesof "environment"

2010-10-22 Thread Vitally S.
7; >>> Subject: Re: [Rd] Recursion error after upgrade to >>> R_2.11.1[Sec=Unclassified] >> It was due to a miscount of how many frames to go >> up before evaluating an expression in >> getMethod("[[<-",".environment") because setMe

Re: [Rd] new.env does not recognize parents from subclasses of "environment"

2010-10-21 Thread Vitally S.
Here is an infinite recursion error which occurs only with S4 subclasses assignment. setClass("myenv", contains = "environment") #[1] "myenv" env <- new("myenv") env[[".me"]] <- e...@.xdata #Error: evaluation nested too deeply: infinite recursion / options(expressions=)? With basic types

Re: [Rd] new.env does not recognize parents from subclasses of "environment"

2010-10-21 Thread Vitally S.
Here is an infinite recursion error which occurs only with S4 subclasses assignment. setClass("myenv", contains = "environment") #[1] "myenv" env <- new("myenv") env[[".me"]] <- e...@.xdata #Error: evaluation nested too deeply: infinite recursion / options(expressions=)? With basic types

Re: [Rd] What do you call the value that represents a missing argument?

2010-10-09 Thread Vitally S.
Hadley Wickham writes: > What's the correct way to create an object like this? (for example if > you are manipulating the formals of a function to add an argument with > no default value, as in > http://stackoverflow.com/questions/3892580/).as.symbol("") returns an error. > Both substitute()

Re: [Rd] strange behaviour of callNextMethod in S4 methods

2010-09-26 Thread Vitally S.
Harold PETITHOMME writes: Hi, > > there is no more an error. > Why does my "object" disappear? I cannot reproduce your problem. Here is an example identical to yours: setClass("foo", list(a = "character", b = "numeric"), proto = 100, contains = "numeric") setClass("boo", list(c = "num