Skip to content
Back to formatted view

Raw Message

Message-ID: <199904060745.JAA32726@blueberry.kubism.ku.dk>
Date: 1999-04-06T07:45:45Z
From: Jim Lindsey
Subject: seg fault with strsplit (PR#158)

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)

Jim

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._