On Fri, Mar 25, 2011 at 06:42:49AM -0700, armstrwa wrote:

> When I attempt to run a script, I keep getting the error message shown

> > load("H:\\Restoration Center\\Climate Change and
> > Restoration\\MidAtlFloodRisk\\discharge data\\R files\\ALRT.txt")
> Error: bad restore file magic number (file may be corrupted) -- no data
> loaded
> In addition: Warning message:
> file 'ALRT.txt' has magic number '# Coh'
>    Use of save versions prior to 2 is deprecated 

The load() function reads stored DATA into the workspace. As you say
you want to run a SCRIPT you are probably looking for source().

cu
        Philipp

-- 
Dr. Philipp Pagel
Lehrstuhl für Genomorientierte Bioinformatik
Technische Universität München
Wissenschaftszentrum Weihenstephan
Maximus-von-Imhof-Forum 3
85354 Freising, Germany
http://webclu.bio.wzw.tum.de/~pagel/

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to