Re: [Rd] formatC with illegal input crashes Rgui (PR#7686)

From: P Ehlers <ehlers_at_math.ucalgary.ca>
Date: Mon 14 Feb 2005 - 22:07:17 EST

Thanks. And good advice.
Peter

Prof Brian Ripley wrote:

> We'll fix this, but you might like to note that sprintf is more
> bulletproof and as from 2.1.0-to-be, a lot more tolerant, e.g.
>
> sprintf("%s", 1)
>
> works there and in 2.0.1 gives a useful error message.
>
> On Fri, 11 Feb 2005 ehlers@math.ucalgary.ca wrote:
>
>> Full_Name: Peter Ehlers
>> Version: rw2001pat (2005-02-03)
>> OS: Win XP
>> Submission from: (NULL) (136.159.61.115)
>>
>>
>> formatC(1, flag="s") crashes Rgui.
>> Similarly for flag=[SnZ].
>> Stupid input, of course, but I'm error-prone.
>
>



R-devel@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Mon Feb 14 21:31:00 2005

This archive was generated by hypermail 2.1.8 : Mon 14 Feb 2005 - 23:28:34 EST