Error on R3.1.1 trying to read .sas7bdat file
Hello, I was trying to read a .sas7bdat dataset from this source
http://hints.cancer.gov/dataset.aspx?chkAcceptTerm=on&[email protected]
into R using the read.sas7bdat() function, but the following error was returned:
Error in read.sas7bdat("hints4cycle3_public.sas7bdat") : found 419 column formats and labels 418 expected please report bugs to maintainer
Couldn't say what it means, since I'm not familiar with SAS. Actually, I'm trying to avoid SAS by learning how to interface everything to R.
Cheers,
Segev
Hello.
I'm afraid I can't help you with the R sas7bdat package, but I tried transforming that file to .csv using the parso Java library and it worked fine. You can find my badly written Java wrapper code in github at harrysouthworth/unsas. I can offer some small amount of help getting that running for you, but I'm no kind of Java programmer and find it all a bit hit and miss. If you're desperate for the data, let me know and I'll zip it and email it to you.
Harry