jlindsey@alpha.luc.ac.be writes:
> Try the following with R 63.3:
>
> test <- function(z){
> ch1 <- deparse(z,width=500)
> ch <- NULL
> for(i in 1:length(ch1))ch <- paste(ch,ch1[i],collapse=" ")
> a <-
gsub("(\\[(0|1|2|3|4|5|6|7|8|9|:|,)+\\])|([][+*/^():!<>%&|~,{}\"\\\=-])|(
[0-9]+)|(^[0-9]+)"," ",ch)
> print("here")
> strsplit(a," ")
> }
> test(glm)
We know... Buffer overflow. There's been a patch for it on r-devel by Jean
Meloche, using a short-lived malloc/free thing, but I'm still waiting
for someone to assure me that it won't interfere with current and
future memory management schemes.
--
O__ ---- Peter Dalgaard Blegdamsvej 3
c/ /'_ --- Dept. of Biostatistics 2200 Cph. N
(*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard@biostat.ku.dk) FAX: (+45) 35327907
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel 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-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._