[R] Problem loading .r file

Christofer Bogaso bogaso.christofer at gmail.com
Thu Dec 20 17:10:14 CET 2012


Hello all,

I was trying to load a .r file using source() and load() functions.
Although I could be able to load the codes (mainly few user defined
functions) written in that .r. file correctly, however getting
following error:

> source("D:/Book Code.r")
Error in sys.call(sys.parent()) : node stack overflow


> load("D:/Book Code.r")
Error: bad restore file magic number (file may be corrupted) -- no data loaded
In addition: Warning message:
file ‘NG Book Code.r’ has magic number 'Pos_T'
   Use of save versions prior to 2 is deprecated

What is the possible problem?

Thanks and regards,



More information about the R-help mailing list