[R] bad restore file magic number

Jeff Gentry jgentry at jimmy.harvard.edu
Tue Jul 27 00:19:09 CEST 2004


> I'm running R 1.9.1 and trying to load a macro I've written.  It gives the e
> Error: bad restore file magic number (file may be corrupted)-- no data
> loaded

You probably want to use source() here, if you have the code in a
file.  The load() command is for use with stuff saved via the
save() command.

-J




More information about the R-help mailing list