Reading the help page for formatC x: an atomic numerical or character object, typically a vector of real numbers.
and that for as.single I think you got what you should have expected! Nevertheless we will build some protection into 2.3.0. On Mon, 17 Oct 2005 [EMAIL PROTECTED] wrote: > Full_Name: Jochen Maydt > Version: R2.2.0 > OS: Windows > Submission from: (NULL) (139.19.34.7) > > > formatC does not handle "single"s correctly: > >> formatC(as.single(1)) > [1] "5.264e-315" > attr(,"Csingle") > [1] TRUE > > This seems to be an unlikely use-case, however. > > Thank you for creating a great programming language, > Jochen > > ______________________________________________ > R-devel@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel > > -- Brian D. Ripley, [EMAIL PROTECTED] Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272866 (PA) Oxford OX1 3TG, UK Fax: +44 1865 272595 ______________________________________________ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel