I'm switching from Sweave
to knitr
and like it very much. Big THANKS to Yihui!
One thing that keeps annoying me is that plot windows pop up and get active. So when I write while knitr
is working, my editor looses focus every so often. This happens even if there's no plot produced in the code chunk.
Is there a way to avoid this?
Here's my sessionInfo ()
, in case that helps:
R version 2.15.0 (2012-03-30) Platform: x86_64-unknown-linux-gnu (64-bit) locale: [1] LC_CTYPE=de_DE.UTF-8 LC_NUMERIC=C [3] LC_TIME=de_DE.UTF-8 LC_COLLATE=de_DE.UTF-8 [5] LC_MONETARY=de_DE.UTF-8 LC_MESSAGES=de_DE.UTF-8 [7] LC_PAPER=C LC_NAME=C [9] LC_ADDRESS=C LC_TELEPHONE=C [11] LC_MEASUREMENT=de_DE.UTF-8 LC_IDENTIFICATION=C attached base packages: [1] grid stats graphics grDevices utils datasets methods [8] base other attached packages: [1] hyperSpec.sim_0.5 mvtnorm_0.9-9992 hyperSpec_0.98-20120531 [4] lattice_0.20-6 knitr_0.5 loaded via a namespace (and not attached): [1] arrayhelpers_0.75-20120531 codetools_0.2-8 [3] digest_0.5.2 evaluate_0.4.2 [5] formatR_0.4 highlight_0.3.1 [7] parser_0.0-14 plyr_1.7.1 [9] Rcpp_0.9.10 stringr_0.6 [11] tools_2.15.0
This must have been fixed in a commit last week. There will not be plot windows opened any more. If you do not know how to install the development version, you will wait for about one week for the next CRAN release, otherwise just install from Github.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With