From jlindsey@alpha.luc.ac.be  Tue Apr  6 08:45:45 1999
From: jlindsey@alpha.luc.ac.be (jlindsey@alpha.luc.ac.be)
Date: Tue, 6 Apr 1999 09:45:45 +0200
Subject: seg fault with strsplit (PR#158)
Message-ID: <199904060745.JAA32726@blueberry.kubism.ku.dk>

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


seg fault with strsplit (PR#158)
jlindsey@alpha.luc.ac.be