[Rd] read, write generics?
shotwelm at musc.edu
Wed Jul 7 17:39:37 CEST 2010
I'm working on a wrapper for R to the POSIX terminal interface. I'd like
to make this code available as a package (as well as a connection
The 'seek', 'truncate', 'flush', 'open', and 'close' generic functions
are a great help for the packaged interface. The only two missing are
'read' and 'write' generics, but I realize write is currently a wrapper
What are your thoughts on adding 'read', and converting 'write' to
generics in a manner similar to 'seek' and friends?
Also, I'd like to use R's 'iconv' function to re-encode text from tty
data, but this is apparently restricted to character encodings that do
not permit embedded NUL characters. I wrote to R-devel about this
earlier , with potential solution. Any thoughts on this?
Matthew S. Shotwell
Division of Biostatistics and Epidemiology
Medical University of South Carolina
More information about the R-devel