From rpeng at jhsph.edu  Wed Mar 26 22:31:59 2008
From: rpeng at jhsph.edu (Roger D. Peng)
Date: Wed, 26 Mar 2008 17:31:59 -0400
Subject: [Rd] suppressing 'download.file' progress window
In-Reply-To: <alpine.LFD.1.00.0803262000360.458@gannet.stats.ox.ac.uk>
References: <47EAA1D8.8050001@jhsph.edu>
	<alpine.LFD.1.00.0803262000360.458@gannet.stats.ox.ac.uk>
Message-ID: <47EAC0CF.6060805@jhsph.edu>

Thanks!  The patch to src/modules/internet/internet.c in r44937 was just what I 
was looking for.

-roger

Prof Brian Ripley wrote:
> On Wed, 26 Mar 2008, Roger D. Peng wrote:
> 
>> In Windows, 'download.file' pops up a separate window indicating the 
>> progress of the download (even when 'quiet = TRUE').  This is useful 
>> and informative when downloading a single (large) file.  However, when 
>> downloading multiple (smaller) files in sucession, the constant 
>> flashing of the progress window can be a little disorienting (at least 
>> for me).
>>
>> Is there a way to suppress this progress window?  Or is it an 
>> operating system
>> feature?
> 
> The write up was somewhat confusing.  'quiet=TRUE' suppresses the status 
> messages on all platforms, and the (text) progress bar.  Only in R-devel 
> does it suppress the progress bar widget on Windows.
> 
> That said, the main time I download many files is via update.packages() 
> or install.packages(), and there was no provision to set quiet=TRUE from 
> those: I've just added ... to allow that.
> 

-- 
Roger D. Peng  |  http://www.biostat.jhsph.edu/~rpeng/



[Rd] suppressing 'download.file' progress window
Roger D. Peng