[Rd] mkString (PR#866)

Timothy H. Keitt Timothy.Keitt@StonyBrook.Edu
Wed, 07 Mar 2001 14:09:13 -0500

Thomas Lumley wrote:

> Don't do that, then?

Indeed, it could be a feature. :-)  (That said, I do prefer functions that handle all possible values of a type.)


> It's supposed to be passed a zero-terminated string, so it doesn't seem
> unreasonable for it to assume that it can dereference its argument. The C
> library functions don't in general accept NULL pointers as string
> arguments.
> I suppose a check for NULL would be fairly harmless, though.
> 	-thomas
> Thomas Lumley			Asst. Professor, Biostatistics
> tlumley@u.washington.edu	University of Washington, Seattle

Timothy H. Keitt
Department of Ecology and Evolution
State University of New York at Stony Brook
Phone: 631-632-1101, FAX: 631-632-7626

r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch