[Rd] Clarification for readChar man page

From: Jeffrey Horner <jeff.horner_at_vanderbilt.edu>
Date: Thu, 14 Jun 2007 09:49:10 -0500


Here's a patch to the readChar manual page (R-trunk as of today) that better clarifies readChar's return value. It could use some work as I'd also like to add some text about using nchar() to find the length of the string that readchar() returns, but I'm unsure which of type="bytes" or type="chars" to mention. Is it type="chars"?

Index: src/library/base/man/readChar.Rd

- For \code{readChar}, a character vector of length the number of

    For \code{writeChar}, a raw vector (if \code{con} is a raw vector) or     invisibly \code{NULL}.



R-devel_at_r-project.org mailing list
Received on Thu 14 Jun 2007 - 15:22:49 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Thu 14 Jun 2007 - 16:34:44 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-devel. Please read the posting guide before posting to the list.