I created an R function offline with a text editor and saved it as fhv.R When I type in load(file="fhv.R") I get the message Error: bad restore file magic number (file may be corrupted)-- no data loaded I've checked the file, and it opens up fine in Notepad and other text editors. I also tried this from another folder and got the same message. What's going on? Thanks in advance. David Reinke Senior Transportation Engineer/Economist Dowling Associates, Inc. 180 Grand Avenue, Suite 250 Oakland, California 94612-3774 510.839.1742 x104 (voice) 510.839.0871 (fax) www.dowlinginc.com
try: source("fhv.R") David Reinke wrote:> I created an R function offline with a text editor and saved it as fhv.R > When I type in > load(file="fhv.R") > I get the message > Error: bad restore file magic number (file may be corrupted)-- no data > loaded > I've checked the file, and it opens up fine in Notepad and other text > editors. I also tried this from another folder and got the same message. > What's going on? > Thanks in advance. > > David Reinke > > Senior Transportation Engineer/Economist > Dowling Associates, Inc. > 180 Grand Avenue, Suite 250 > Oakland, California 94612-3774 > 510.839.1742 x104 (voice) > 510.839.0871 (fax) > www.dowlinginc.com > > ______________________________________________ > R-help at stat.math.ethz.ch mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
Apparently Analagous Threads
- Method for checking automatically which distribtions fits a data
- calculation of entropy in R???
- decode_pw_buffer: incorrect password length
- ext3 instability in RH8.0?
- SIP SECURITY WARNING: v1-0 (cvs today) sip context in general section ignored goes to default instead - allowing unauthorized sip devices to place calls in default context