MichaelChirico / r-bugs

A ⚠️read-only⚠️mirror of https://bugs.r-project.org/
20 stars 0 forks source link

[BUGZILLA #14649] Odd quotes used in print.summary.lm() when run non-interactively #4238

Closed MichaelChirico closed 4 years ago

MichaelChirico commented 4 years ago

Created attachment 1214 [details] Code to reproduce the problem.

print.summary.lm() ordinary uses single quote characters in the significance code key but when run non-interactively under Linux, it uses "\u2018" and "\u2019". This creates problems for gplots::textplot() and maybe other text processing facilities.


METADATA

MichaelChirico commented 4 years ago

This might be a bug in gplots (if it claims to be able to plot those symbols), but I don't see evidence of a bug in R. Presumably you have different settings for "useFancyQuotes" in the two situations. (See ?sQuote for details.)


METADATA

MichaelChirico commented 4 years ago

(In reply to comment #1)

This might be a bug in gplots (if it claims to be able to plot those
symbols),
but I don't see evidence of a bug in R.  Presumably you have different
settings
for "useFancyQuotes" in the two situations.  (See ?sQuote for details.)

The settings for useFancyQuotes are the same (TRUE) in both situations. There is a difference in locale that probably explains the difference in outcome. Thanks!


METADATA