R fails to save long strings... (with xdr)> str<-''; for(i in c(0:1000)) str<-paste(str,'a') > q(save='yes')Error: a write error occured>This was noticed a while ago and someone suggested a large fixed sized buffer. The attached patch allocates a buffer as needed using malloc. I know R has ist own allocation mechanism but I figured malloc was ok for such short-lived buffers. If not, please let me know how to do it properly. -- Jean Meloche