Skip to content

About How to check if a html directory exists

4 messages · Wendy Han, Rolf Turner, Jerome Asselin +1 more

#
On 26/04/11 05:52, Wendy Han wrote:
Not quite sure I understand your question,  but I think that the
file.info() function will provide what you need.  Check out ?file.info.
See also ?files and ?file.access.

     cheers,

         Rolf Turner
#
On Mon, 2011-04-25 at 12:52 -0500, Wendy Han wrote:
You could use the try() command to catch the download.file() error and,
if there is one, handle it accordingly.

See help(try)

Regards,
Jerome
#
Use try() or tryCatch() to let your loop continue looking
for more files after download.file() throws an error.

Bill Dunlap
Spotfire, TIBCO Software
wdunlap tibco.com