[Rd] RFC: Ability to suppress 'locale' from sessionInfo
Friedrich Leisch
friedrich.leisch at stat.uni-muenchen.de
Wed Apr 22 09:26:37 CEST 2009
>>>>> On Tue, 21 Apr 2009 21:16:59 -0500,
>>>>> Kevin W (KW) wrote:
> The printing of the locale information from sessionInfo is not very tidy.
> Using toLatex(sessionInfo) pretty much guarantees "badness" from breaking
> the margin boundary (though my version of TeX no longer reports such
> errors). A random example is here:
> http://cran.r-project.org/web/packages/Matrix/vignettes/Design-issues.pdf
> I find the locale information unnecessary and right now I hack this with
> si = sessionInfo()
> si$locale = "US"
> toLatex(si)
> I would like to be able to do something a bit cleaner, for example
> sessionInfo(locale=FALSE)
> For what it's worth, I don't think that early versions of sessionInfo
> printed information about the locale.
It went in on 2006-05-26, so it's bben there for some time now.
> Discussion welcome.
I agree that it doesn't look nice in latex documents, but it is very
handy in bug reports.
Are there any objections if we add a locale argument to the toLatex()
method and let that default to FALSE?
Best,
Fritz
More information about the R-devel
mailing list