[Rd] Changing HTTP proxy configurations at run time

2013-04-05 Thread Moritz Gerstung
DeaR developers, I was recently moving with my laptop between two environments with and without a HTTP proxy server. As the internal proxy configuration is read only once from the environment variables http_proxy/HTTP_PROXY at the first call of download.file(), the proxy configurations couldn't

Re: [Rd] Non-vignette sweave file in package

2013-04-05 Thread ONKELINX, Thierry
Dear Duncan, Thanks a lot for the advice. When I place the Rnw file in inst/doc it is treated as a vignette, which I don't want. Placing it in inst/sweave works fine. I can compile it either as you suggested in R or from the command line with R CMD Sweave --pdf path.to.R.library/mypkg/sweave/m

[Rd] R 3.0 in newsticker of German computer magazine c't

2013-04-05 Thread Thomas Petzoldt
Hi, just a short notice for the record that the long vectors of R 3.0 have been recognized by the news ticker of the leading German computer magazine publisher 'Heise Verlag': http://www.heise.de/newsticker/meldung/Programmiersprache-R-3-0-fuehrt-Lang-Vektoren-ein-1835822.html Thanks to you

[Rd] parallel: Race-condition concern regarding graphics devices in a multi-thread environment

2013-04-05 Thread Henrik Bengtsson
Hi, I'm trying to figure out how to safely make sure that I close the same graphics device that I opened earlier in a thread (and not one opened by a parallel thread). In a *single-thread* environment, one can do the following to open and close a device: makePlot <- function(i) { filename <- s

Re: [Rd] parallel: Race-condition concern regarding graphics devices in a multi-thread environment

2013-04-05 Thread Simon Urbanek
Henrik, there are no threads. Hence you're on the wrong track there, it has nothing to do with device numbers/devices.The device number will be the same in all processes and that's ok. The issue here really is which png() pack-end are you using? (You didn't say). Some back-ends (like X11) canno