Re: [R] Check whether a file exits ...

About this list Date view Thread view Subject view Author view Attachment view

From: Peter Dalgaard BSA (p.dalgaard@biostat.ku.dk)
Date: Tue 31 Dec 2002 - 09:22:38 EST


Message-id: <x2adinf8pd.fsf@biostat.ku.dk>


"Ngayee J Law" <Ngayee.Law@celeradiagnostics.com> writes:

> Hello all,
>
> I need to write a R program that checks whether a file exists in the
> directory. Any easy ways
> to do that? Thanks!

Look up file.exists() (and possibly file.path() too)

-- 
   O__  ---- Peter Dalgaard             Blegdamsvej 3  
  c/ /'_ --- Dept. of Biostatistics     2200 Cph. N   
 (*) \(*) -- University of Copenhagen   Denmark      Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard@biostat.ku.dk)             FAX: (+45) 35327907

______________________________________________ R-help@stat.math.ethz.ch mailing list http://www.stat.math.ethz.ch/mailman/listinfo/r-help


About this list Date view Thread view Subject view Author view Attachment view

This archive was generated by hypermail 2.1.3 : Tue 01 Jun 2004 - 09:32:00 EST