Displaying 3 results from an estimated 3 matches for "pushbacklength".
2009 Dec 04
0
(PR#14103) read.csv confused by newline characters in
...format=flowed
Content-Transfer-Encoding: 8BIT
Content-ID: <alpine.LFD.2.00.0912041222341.18586 at gannet.stats.ox.ac.uk>
It's not to do with pushback per se. The works as one might expect,
e.g.
f <- file("test.txt", "r")
pushBack('"A1\nA2"', f)
pushBackLength(f)
scan(f, "", quote='"')
gives "A1\nA2" on a single line, then whatever was in test.txt.
Rather, the issue is
if (header) {
readLines(file, 1L) # skip over header
and that stops at the embedded newline. The fix is to read the head...
2005 Aug 22
2
RFC: "loop connections"
...on"));
classgets(ans, class);
UNPROTECT(2);
--- src/main/names.c.orig 2005-05-20 05:51:46.000000000 -0700
+++ src/main/names.c 2005-08-22 15:59:47.968828400 -0700
@@ -866,7 +866,7 @@
{"pushBack", do_pushback, 0, 11, 3, {PP_FUNCALL, PREC_FN, 0}},
{"clearPushBackLength",do_clearpushback,0, 11, 1, {PP_FUNCALL, PREC_FN, 0}},
{"pushBackLength",do_pushbacklength,0, 11, 1, {PP_FUNCALL, PREC_FN, 0}},
-{"textConnection",do_textconnection,0, 11, 4, {PP_FUNCALL, PREC_FN, 0}},
+{"loopConnection",do_loopconnec...
2005 Sep 18
0
Updated rawConnection() patch
...t I think having a
raw version of textConnection is still a bit more orthogonal and
flexible, and requires very little code.
-- Dave
--- ./src/include/Internal.h.orig 2005-08-29 17:47:27.000000000 -0700
+++ ./src/include/Internal.h 2005-09-18 00:32:08.196336200 -0700
@@ -525,6 +525,7 @@
SEXP do_pushbacklength(SEXP, SEXP, SEXP, SEXP);
SEXP do_clearpushback(SEXP, SEXP, SEXP, SEXP);
SEXP do_textconnection(SEXP, SEXP, SEXP, SEXP);
+SEXP do_graboutput(SEXP, SEXP, SEXP, SEXP);
SEXP do_getallconnections(SEXP, SEXP, SEXP, SEXP);
SEXP do_sumconnection(SEXP, SEXP, SEXP, SEXP);
SEXP do_download(SEXP, SEXP, SE...