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 <- Sys.setlocale(...)` – r2evans Jun 04 '20 at 04:29

1 Answers1

2

Use invisible ?

invisible(Sys.setlocale("LC_TIME", "de_DE"))
Ronak Shah
  • 377,200
  • 20
  • 156
  • 213