Zeitpunkt Nutzer Delta Tröts TNR Titel Version maxTL Do 04.07.2024 00:00:52 61.919 +2 3.517.337 56,8 Fosstodon 4.2.9 500 Mi 03.07.2024 00:00:12 61.917 +2 3.513.906 56,8 Fosstodon 4.2.9 500 Di 02.07.2024 00:01:44 61.915 -2 3.510.479 56,7 Fosstodon 4.2.9 500 Mo 01.07.2024 00:00:33 61.917 0 3.507.420 56,6 Fosstodon 4.2.9 500 So 30.06.2024 00:00:34 61.917 +2 3.504.671 56,6 Fosstodon 4.2.9 500 Sa 29.06.2024 00:01:13 61.915 +2 3.501.982 56,6 Fosstodon 4.2.9 500 Fr 28.06.2024 00:01:07 61.913 +3 3.498.459 56,5 Fosstodon 4.2.9 500 Do 27.06.2024 00:00:32 61.910 0 3.495.444 56,5 Fosstodon 4.2.9 500 Mi 26.06.2024 00:00:07 61.910 +1 3.494.703 56,4 Fosstodon 4.2.9 500 Di 25.06.2024 00:00:06 61.909 0 3.491.246 56,4 Fosstodon 4.2.9 500
Mehrad :kde: :emacs: :rstats: (@Mehrad) · 01/2021 · Tröts: 2.281 · Folger: 1.041
Do 04.07.2024 13:51
Have you ever suffered by the `Rplot.pdf` littering your working directory when running your :rstats: #rstats code in a pipeline? Have you dreamed of being able to pipe the output to `/dev/null` instead of the default device in R?
Well, the solution is super easy: add this to beginning of your code
```r
if(!interactive()){
options(device = function(...) {
.Call("R_GD_nullDevice", PACKAGE = "grDevices")
})
}
```
Inspired by @yihui post: https://yihui.org/en/2010/12/a-special-graphics-device-in-r-the-null-device/
[Öffentlich] Antw.: 0 Wtrl.: 0 Fav.: 0