I'm having trouble using the read.mtp function in the foreign package to import datasets from minitab (.mtw) format. Specifically, each file I try to import fails to load any data beyond a header row stating the version of Minitab that saved the dataset. I get this error:

incomplete final line found by readtableHeader on 'income.mtw'

The dataset appears to be complete (ie, using the scan() function I can view the contents, and the file does not end after the header, but the formatting characters make it impossible to guess what the raw data elements are). I got the same result trying to read minitab files from two different sources. Any suggestions would be appreciated.

Thanks,

Peter

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Reply via email to