search for: getallconnections

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

2001 Oct 02
1
connections: remember to close it!
Hi all, I have newly discovered the power of connections (although just a small part of it, namely the file() connection). It allowed me to process data file with arbitrary number of fields per line, which I was using awk for preprocessing before readling into R. The combination of the connection, readLines() and strsplit() really make the work a lot easier and more organized. Thanks a bundle
2005 Aug 22
2
RFC: "loop connections"
...P_FUNCALL, PREC_FN, 0}}, +{"loopConnection",do_loopconnection,0, 11, 4, {PP_FUNCALL, PREC_FN, 0}}, {"socketConnection",do_sockconn,0, 11, 6, {PP_FUNCALL, PREC_FN, 0}}, {"sockSelect",do_sockselect,0, 11, 3, {PP_FUNCALL, PREC_FN, 0}}, {"getAllConnections",do_getallconnections,0,11, 0, {PP_FUNCALL, PREC_FN, 0}}, --- src/include/Rconnections.h.orig 2005-04-18 04:34:02.000000000 -0700 +++ src/include/Rconnections.h 2005-08-22 15:40:02.582767400 -0700 @@ -82,19 +82,19 @@ int cp; } *Rgzfileconn; -typedef struct textconn { +typedef stru...
2005 Sep 18
0
Updated rawConnection() patch
...00000000 -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, SEXP, SEXP); --- ./src/include/Rconnections.h.orig 2005-08-03 08:50:36.000000000 -0700 +++ ./src/include/Rconnections.h 2005-09-17 23:56:01.875475000 -0700 @@ -94,8 +94,7 @@ typedef struct outt...