Skip to content
Prev 51022 / 63424 Next

segfault with readDCF on R 3.1.2 on AIX 6.1 when using install.packages

On 09/21/2015 02:48 PM, Duncan Murdoch wrote:
You're just being lucky that 'buf2[nbuf + 1]' is not '\0' after
allocation by R_alloc(). Try this:

   val <- paste(rep(letters, length.out=10000), collapse="")
   writeLines(paste("aa:", val), "test.dcf")
   identical(val, read.dcf("test.dcf")[1])

Maybe you won't be so lucky with this one.

H.