Please help me to get rid out of this situation. While loading the csv file error msg like Error: bad restore file manager (file may be corrupted)-- no data loaded. In addition warning message: file "S_D.csv" has magic number GeneN. Use of save versions more than 2 is deprecated. Please kindly suggest -- *Madhu Pusuluri, Ph D* *Visiting Scientist.* *Genomics & Trait discovery- Genetic Gains* *International Crops Research Institute for the Semi-Arid Tropics (ICRISAT)* *Patancheru, Hyderabad, Telangana 502324, INDIA.* *E-mail: **m.pusuluri at cgiar.org <m.pusuluri at cgiar.org>**; madhupusuluri at gmail.com <https://outlook.office.com/owa/madhupusuluri at gmail.com>* *Tel: +91 9912241982.* [[alternative HTML version deleted]]
To be honest , we would probably have to see a sample of the data. Can you supply a location for small data sample. Other than that we are guessing. Other than that , can you open it in a text editor? That will help assure it is really not a corrupt file. After using R for over 15 years, the worst thing is importing data files ! On Tue, 27 Aug 2019 at 14:00, pusuluri madhu <madhupusuluri at gmail.com> wrote:> > Please help me to get rid out of this situation. While loading the csv file > error msg like > Error: bad restore file manager (file may be corrupted)-- no data loaded. > In addition warning message: file "S_D.csv" has magic number GeneN. Use of > save versions more than 2 is deprecated. > > Please kindly suggest > > -- > > *Madhu Pusuluri, Ph D* > *Visiting Scientist.* > *Genomics & Trait discovery- Genetic Gains* > > *International Crops Research Institute for the Semi-Arid Tropics (ICRISAT)* > > *Patancheru, Hyderabad, Telangana 502324, INDIA.* > > *E-mail: **m.pusuluri at cgiar.org <m.pusuluri at cgiar.org>**; > madhupusuluri at gmail.com > <https://outlook.office.com/owa/madhupusuluri at gmail.com>* > > *Tel: +91 9912241982.* > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code.-- John Kane Kingston ON Canada
Summoning my telepathy, I suspect that you tried to use load() to get your CSV file into R, instead of read.csv() Here's the first link that came up when I searched for "read csv file into R" http://rprogramming.net/read-csv-in-r/ On Tue, Aug 27, 2019 at 2:00 PM pusuluri madhu <madhupusuluri at gmail.com> wrote:> > Please help me to get rid out of this situation. While loading the csv file > error msg like > Error: bad restore file manager (file may be corrupted)-- no data loaded. > In addition warning message: file "S_D.csv" has magic number GeneN. Use of > save versions more than 2 is deprecated. > > Please kindly suggest > > -- > > *Madhu Pusuluri, Ph D* > *Visiting Scientist.* > *Genomics & Trait discovery- Genetic Gains* > > *International Crops Research Institute for the Semi-Arid Tropics (ICRISAT)* > > *Patancheru, Hyderabad, Telangana 502324, INDIA.* > > *E-mail: **m.pusuluri at cgiar.org <m.pusuluri at cgiar.org>**; > madhupusuluri at gmail.com > <https://outlook.office.com/owa/madhupusuluri at gmail.com>* > > *Tel: +91 9912241982.* > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code.-- Sarah Goslee (she/her) http://www.numberwright.com