search for: rconn_getline2

Displaying 3 results from an estimated 3 matches for "rconn_getline2".

2015 Sep 21
5
segfault with readDCF on R 3.1.2 on AIX 6.1 when using install.packages
...), which never worked: dcf <- paste(c("aa: ", rep(letters, length.out=10000)), collapse="") writeLines(dcf, "test.dcf") nchar(read.dcf("test.dcf")) # aa # [1,] 8186 The culprit being line 53 in src/main/dcf.c where the author of the Rconn_getline2() function only copies 'nbuf' chars from 'buf' to 'buf2' when in fact 'nbuf + 1' chars have been stored in 'buf' so far. Quickest fix: Index: src/main/dcf.c =================================================================== --- src/main/dcf.c (revision 694...
2015 Sep 21
0
segfault with readDCF on R 3.1.2 on AIX 6.1 when using install.packages
...uot;test.dcf")) > # aa > # [1,] 8186 > I don't see that in R 3.2.2 on OSX or 3.2.2 patched on Windows: > nchar(read.dcf("test.dcf")) aa [1,] 10000 Duncan Murdoch > The culprit being line 53 in src/main/dcf.c where the author of the > Rconn_getline2() function only copies 'nbuf' chars from 'buf' to 'buf2' > when in fact 'nbuf + 1' chars have been stored in 'buf' so far. > > Quickest fix: > > Index: src/main/dcf.c > =================================================================== &g...
2015 Sep 21
2
segfault with readDCF on R 3.1.2 on AIX 6.1 when using install.packages
Here's an update: I checked the ChangeLog for R, and it seems like readDCF was changed in 3.0.2. I went on a whim and copied src/main/dcf.c from R 2.15.3 over to 3.2.2, and R compiled fine and install.packages now work for me. This is probably not ideal, but it at least makes R usable on AIX for me. Would definitely like to help figure out what's wrong with the new dcf.c on AIX.