On Mon, 01 Mar 2010 14:50:57 -0000 (GMT) ted.hard...@manchester.ac.uk <ted.hard...@manchester.ac.uk> wrote: > as.character(pi) > # [1] "3.14159265358979" > > That raises a few questions about "expectations" too!
Expectations can indeed be dangerous. I have been bitten by this one: as.numeric(as.character(pi)) It works fine in the US, but not in Europe. :) Hint: Try options(OutDec=",") -- Karl Ove Hufthammer ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.