Hello Ruth:

> Many thanks for this detailed explanation. It seems that the printing is 
> going to vary because it is not done by R. I will try alternative 
> numbers of significant digits: I had set options(digits=4) in an attempt 
> to avoid inter-platform printing differences, without really 
> understanding what was causing them.

If you round the numbers by, say, signif(x, digits=4) before printing
and print with at least 4 digits precision, then the output should not
depend on the printing function, but on signif(), since in this case,
the printing function does not get middle cases.

Function signif() can also have platform dependence, but i think, it
should be rare. Send examples of platform dependencies in signif(), if
you find some.

Petr.

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

Reply via email to