Hello R-helpers, I tried to do "make test" , and it is failing: data() Error: stack overflow ?data Error: Stack overflow data(rivers) Error: incorrect tag type R also initially it balked at: apropos("\\\\[") So, I skipped it :-) This stuff is working on R-0.50-a4 that I have. Anyone built R-0.60.1 on hpux?? Best regards, Osman -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
"Buyukisik, Osman (GEAE)" <Osman.Buyukisik at ae.ge.com> writes:> data() > Error: stack overflow > ?data > Error: Stack overflow > data(rivers) > Error: incorrect tag typeYup. Found and fixed some days ago and the main reason for an upcoming 0.60.2... If you're impatient, fix this bit of code in src/main/memory.c (l.348++) case LANGSXP: s = allocList(length); TYPEOF(s) = LANGSXP; return s; by inserting the line if (length == 0) return R_NilValue; right after the case label. -- O__ ---- Peter Dalgaard Blegdamsvej 3 c/ /'_ --- Dept. of Biostatistics 2200 Cph. N (*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918 ~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk) FAX: (+45) 35327907 -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
"Buyukisik, Osman (GEAE)" <Osman.Buyukisik at ae.ge.com> writes:> data() > Error: stack overflow > ?data > Error: Stack overflow > data(rivers) > Error: incorrect tag typeYup. Found and fixed some days ago and the main reason for an upcoming 0.60.2... If you're impatient, fix this bit of code in src/main/memory.c (l.348++) case LANGSXP: s = allocList(length); TYPEOF(s) = LANGSXP; return s; by inserting the line if (length == 0) return R_NilValue; right after the case label. -- O__ ---- Peter Dalgaard Blegdamsvej 3 c/ /'_ --- Dept. of Biostatistics 2200 Cph. N (*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918 ~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk) FAX: (+45) 35327907 -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
"Buyukisik, Osman (GEAE)" <Osman.Buyukisik at ae.ge.com> writes:> I tried to do "make test" , and it is failing: > > data() > Error: stack overflowThis problem seems to get many new users. It is in the first statement in the data function. > debug(data) > data() debugging in: data() debug: names <- c(as.character(substitute(list(...))[-1]), list) Browse[1]> Error: stack overflow It looks as if the problem is in the indexing of the result of the substitute call. The result of substitute(list(...)) has mode "call". Is there a need for an eval in there? > foo <- function(...) { substitute(list(...)) } > debug(foo) > foo() debugging in: foo() debug: substitute(list(...)) Browse[1]> list(...) NULL Browse[1]> substitute(list(...)) list() Browse[1]> exiting from: foo() list() > list() NULL > list()[-1] NULL > foo <- function(...) { substitute(list(...))[-1] } > foo() > foo() Process R segmentation fault (core dumped) at Fri Dec 12 14:36:59 1997 -- Douglas Bates bates at stat.wisc.edu Statistics Department 608/262-2598 University of Wisconsin - Madison http://www.stat.wisc.edu/~bates/ -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._