[R] reading non-existing files
Patrick Connolly
p.connolly at hortresearch.co.nz
Wed Jun 8 01:15:07 CEST 2005
On Tue, 07-Jun-2005 at 09:48AM -0700, Dave Evens wrote:
|>
|> Dear all,
|>
|> I'm trying to read to a collection of files in a loop
|> using odbcConnectExcel - but not all of the files
|> exist. This is the code I have
Try try().
Use a condition on what you get back to avoid attempting to do things
to empty files.
?try will be a good place to start.
--
Patrick Connolly
HortResearch
Mt Albert
Auckland
New Zealand
Ph: +64-9 815 4200 x 7188
~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~
I have the world`s largest collection of seashells. I keep it on all
the beaches of the world ... Perhaps you`ve seen it. ---Steven Wright
~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~
More information about the R-help
mailing list