From Timothy.Keitt@StonyBrook.Edu  Wed Mar  7 19:09:13 2001
From: Timothy.Keitt@StonyBrook.Edu (Timothy H. Keitt)
Date: Wed, 07 Mar 2001 14:09:13 -0500
Subject: [Rd] mkString (PR#866)
References: <Pine.A41.4.33.0103071026150.93332-100000@homer29.u.washington.edu>
Message-ID: <3AA68759.9040203@StonyBrook.Edu>

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.)

T.

> 
> 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
http://life.bio.sunysb.edu/ee/keitt/

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


[Rd] mkString (PR#866)
Timothy H. Keitt