0

When I change the locale, there is an output to the console:

> Sys.setlocale("LC_TIME", "de_DE")
[1] "de_DE"

How do I turn off this output?

  • 2
    Either `invisible(Sys.setlocale(...))` or capture it and ignore/discard the variable as in `ign – r2evans Jun 04 '20 at 04:29

1 Answers1

1

Use invisible ?

invisible(Sys.setlocale("LC_TIME", "de_DE"))
Ronak Shah
  • 355,584
  • 18
  • 123
  • 178