I have a R script that reads files and generates graphs automatically. It works when it runs the first time. If the .png files are there and the script needs to re-create them with the new data, I get this error:
Error: bad restore file magic number (file may be corrupted) -- no data loaded
In addition: Warning message:
file 'test1.png' has magic number 'ëPNG'
Use of save versions prior to 2 is deprecated
Execution halted
what does this error mean? I tried to use source("filename"), it did not work either.
thanks,