[R] function to check if an object is present, and if not, load it from my hard drive

Martin Maechler maechler at stat.math.ethz.ch
Mon May 8 10:10:21 CEST 2006


>>>>> "UweL" == Uwe Ligges <ligges at statistik.uni-dortmund.de>
>>>>>     on Fri, 05 May 2006 17:50:22 +0200 writes:

    UweL> r user wrote:
    >> I want to check if an "object" (dataset, vector, etc) is
    >> “present”.  If it is present, I will do nothing.
    >> If it is not present, I will load it from my hard drive.
    >> 
    >> Is there function to determine if an object is present?

    UweL> Guess its name: exists()

Further, if I guess correctly what you are thinking about,
the next level would be to look at
    help(autoload)

Martin




More information about the R-help mailing list