Maybe I could help. I do the same thing all the time. I know it's boring to open files in R. Look what I did in R, when open a converted (from gretl) file:

tax <- 
  read.table("C:/Users/cdshikida/Documents/Meus Documentos/textos/textos em andamento (e planilhas)/cargatributarianovo/novocargatrib.R",
   header=TRUE, sep="", na.strings="NA", dec=".", strip.white=TRUE)


I don't know exactly the nature of your problem, but it could be the difference between anglo-saxon world in decimals separator and latino's convention of using comma instead.

Hope this could help you.

Best Wishes

Claudio

On Wed, May 23, 2012 at 10:48 AM, Leandro Zipitria <leandro.zipitria@gmail.com> wrote:
Dear Gretl community,

I have atempted to save several databases used in gretl and then open them on R, and have always problems to open it. I attach gretl file, and R file. Does anyone have the same problem? Here is the R output (translated from spanish)

] ERROR: magic number invalid restore file (the file may be corrupted) - no data reloaded

Regards,
Leandro

_______________________________________________
Gretl-users mailing list
Gretl-users@lists.wfu.edu
http://lists.wfu.edu/mailman/listinfo/gretl-users



--
http://www.shikida.net  and http://works.bepress.com/claudio_shikida/

Esta mensagem pode conter informação confidencial e/ou privilegiada. Se você não for o destinatário ou a pessoa autorizada a receber esta mensagem, não poderá usar, copiar ou divulgar as informações nela contidas ou tomar qualquer ação baseada nessas informações. Se você recebeu esta mensagem por engano, por favor avise imediatamente o remetente, respondendo o presente e-mail e apague-o em seguida.
This message may contain confidential and/or privileged information. If you are not the addressee or authorized to receive this for the addressee, you must not use, copy, disclose or take any action based on this message or any information herein. If you have received this message in error, please advise the sender immediately by reply e-mail and delete this message.