Re: [Rd] Question about Rweb

2011-10-05 Thread Simon Urbanek
Ted, On Oct 5, 2011, at 6:06 PM, Ted Byers wrote: > Hi Simon, > >> -Original Message- >> From: Simon Urbanek [mailto:simon.urba...@r-project.org] >> Sent: October-05-11 5:07 PM >> To: Ted Byers >> Cc: 'Tonidandel, Scott'; r-devel@r-project.org >> Subject: Re: [Rd] Question about Rweb >>

Re: [Rd] suppressing stderr output from system() calls

2011-10-05 Thread Mark Cowley
Thanks Martin, Simon and Brian, They're all good suggestions for code that I write, however how can I suppress stderr from pre-existing code. For instance, install.packages has 3 system calls. Perhaps a better worded question would be: how can I redirect the output of this command: install.pack

Re: [Rd] Question about Rweb

2011-10-05 Thread Ted Byers
Hi Simon, > -Original Message- > From: Simon Urbanek [mailto:simon.urba...@r-project.org] > Sent: October-05-11 5:07 PM > To: Ted Byers > Cc: 'Tonidandel, Scott'; r-devel@r-project.org > Subject: Re: [Rd] Question about Rweb > > Ted, > > On Oct 5, 2011, at 4:00 PM, Ted Byers wrote: > >

Re: [Rd] Question about Rweb

2011-10-05 Thread Simon Urbanek
Ted, On Oct 5, 2011, at 4:00 PM, Ted Byers wrote: > Hi Simon, > > Any chance of getting step by instructions on setting it up to work with a > web server like Apache's httpd server (I have Apache's web server running, > actually a couple instances on different ports, and I do all my CGI > progra

Re: [Rd] Question about Rweb

2011-10-05 Thread Hervé Pagès
Hi, On 11-10-05 01:00 PM, Ted Byers wrote: Hi Simon, Any chance of getting step by instructions on setting it up to work with a web server like Apache's httpd server (I have Apache's web server running, actually a couple instances on different ports, and I do all my CGI programming using Perl)?

Re: [Rd] Question about Rweb

2011-10-05 Thread Ted Byers
Hi Simon, Any chance of getting step by instructions on setting it up to work with a web server like Apache's httpd server (I have Apache's web server running, actually a couple instances on different ports, and I do all my CGI programming using Perl)? I am not so much looking to provide a web in

Re: [Rd] Question about Rweb

2011-10-05 Thread Simon Urbanek
On Oct 5, 2011, at 2:16 PM, Tonidandel, Scott wrote: > Greetings, > > I am working on creating an interactive website that will generate R-code for > users based in the information they input on the site. Currently, the R-code > can be generated and downloaded to be run locally on a computer w

[Rd] Question about Rweb

2011-10-05 Thread Tonidandel, Scott
Greetings, I am working on creating an interactive website that will generate R-code for users based in the information they input on the site. Currently, the R-code can be generated and downloaded to be run locally on a computer with R. However, I have noticed a number of applications out ther

Re: [Rd] R-devel (2.14 alpha) Windows binary

2011-10-05 Thread Duncan Murdoch
On 05/10/2011 1:06 PM, Dan Tenenbaum wrote: On Wed, Oct 5, 2011 at 10:04 AM, Prof Brian Ripley wrote: > An automated build (done on winbuilder) will take a few days: people are too > busy this week. > > For the time being, I have put a current Windows installer for R 2.14.0 > alpha at > ht

Re: [Rd] R-devel (2.14 alpha) Windows binary

2011-10-05 Thread Dan Tenenbaum
On Wed, Oct 5, 2011 at 10:04 AM, Prof Brian Ripley wrote: > An automated build (done on winbuilder) will take a few days: people are too > busy this week. > > For the time being, I have put a current Windows installer for R 2.14.0 > alpha at > http://www.stats.ox.ac.uk/pub/RWin/R-2.14.0alpha-win.e

Re: [Rd] R-devel (2.14 alpha) Windows binary

2011-10-05 Thread Prof Brian Ripley
An automated build (done on winbuilder) will take a few days: people are too busy this week. For the time being, I have put a current Windows installer for R 2.14.0 alpha at http://www.stats.ox.ac.uk/pub/RWin/R-2.14.0alpha-win.exe I am unlikely to update it often (and I too am busy this week).

Re: [Rd] suppressing stderr output from system() calls

2011-10-05 Thread Martin Morgan
On 10/05/2011 02:36 AM, Mark Cowley wrote: Dear list, I'm trying to suppress/redirect/squash the output from commands like install.packages, or download.file. The problem is that none of: sink(..., type="message"), sink(..., type="output"), capture.output, suppressMessages are quite doing the

Re: [Rd] suppressing stderr output from system() calls

2011-10-05 Thread Prof Brian Ripley
See ?system2 to answer your subject line. But you seem confused about external programs and R's own stdout() connection. Have you read the R News article on connections? On Wed, 5 Oct 2011, Mark Cowley wrote: Dear list, I'm trying to suppress/redirect/squash the output from commands like in

Re: [Rd] suppressing stderr output from system() calls

2011-10-05 Thread Simon Urbanek
See ?system, in particular ignore.stdout, ignore.stderr and intern. Cheers, Simon On Oct 5, 2011, at 5:36 AM, Mark Cowley wrote: > Dear list, > I'm trying to suppress/redirect/squash the output from commands like > install.packages, or download.file. The problem is that none of: sink(..., > t

[Rd] suppressing stderr output from system() calls

2011-10-05 Thread Mark Cowley
Dear list, I'm trying to suppress/redirect/squash the output from commands like install.packages, or download.file. The problem is that none of: sink(..., type="message"), sink(..., type="output"), capture.output, suppressMessages are quite doing the trick. Output gets written to the stderr stre

Re: [Rd] problems (seg-faults) while trying to compile for older suse versions

2011-10-05 Thread Prof Brian Ripley
On Wed, 5 Oct 2011, Detlef Steuer wrote: Hi! While preparing 2.13.2 in the build service I get stuck for some older releases of openSUSE / SLED. While it built fine for 2.13.1 now I get segfaults in 'make docs' and do so only for 32-bit architectures. This is not urgent, because only older rel

Re: [Rd] R-devel (2.14 alpha) Windows binary

2011-10-05 Thread Prof Brian Ripley
On Wed, 5 Oct 2011, Peter Dalgaard wrote: I suspect that the Windows build system just hasn't caught on to the short time between 2.13.2 and the start of run-in for 2.14.0. I think the usual logic is that pre-releases of the next version replace the patch releases of the old one (by definitio

[Rd] problems (seg-faults) while trying to compile for older suse versions

2011-10-05 Thread Detlef Steuer
Hi! While preparing 2.13.2 in the build service I get stuck for some older releases of openSUSE / SLED. While it built fine for 2.13.1 now I get segfaults in 'make docs' and do so only for 32-bit architectures. This is not urgent, because only older releases are affected, nevertheless I would li