portable snprintf implementation
RenE J.V. Bertin
rjvbertin@hotmail.com
Wed, 10 Jul 2002 15:22:31 +0200
>From: Martin Maechler <maechler@stat.math.ethz.ch>
>Reply-To: Martin Maechler <maechler@stat.math.ethz.ch>
>To: "RenE J.V. Bertin" <rjvbertin@hotmail.com>
>CC: r-devel@r-project.org
>Subject: Re: portable snprintf implementation
>Date: Wed, 10 Jul 2002 14:35:52 +0200
> RenE> It looks like this version may well be more complete
> RenE> and conform the standards than the version that comes with R.
>
>I haven't looked at either. What makes you think that the above be
>more standard?
The version included in R has been "grafted" from a project called 'wget',
as far as I have read the comments in vsnprintf.c . Those same comments also
mention a list of issues, that may have been solved, but maybe not -- I
haven't tried. It is quite possible that it works well enough as far as R is
concerned. The version on the link I sent works well too (I use it under
Irix), and according to its website, it complies to all standards that
apply. And it *is* free: one can choose between the Artistic License and the
GPL.
>only if they might be incorporated in to a future version of R :--)
>If the diff are relatively small and look good, the chances are
>relatively high the inc. will happen.
My intention is indeed they *be* incorporated in a future version -- that
would save me from having to apply the same patch each time R bumps a
version digit >8-
It sure looks the diffs are going to be small, since (fortunately) adding to
the history is done in a single place. The terminal version works, the gtk
version still needs some polishing that I hope to finish today.
What do you mean with looking good?
>I think this is a very useful idea -- though I probably will
>almost never make use of it, using ESS 99.5% of the time.
You'll see just how useful when you do have to step down to the terminal or
gtk based version :)
RenE
_________________________________________________________________
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._