Hi,

I got the following error when reading a Stata file:

> library("rio")
> x <- import('XXX.dta')
Fehler in df_parse_dta_file(spec, encoding) :
  Evaluation error: Column name `Merge` must not be duplicated.
Use .name_repair to specify repair.

I understand that the column name "Merge" appears at least twice in the Stata file.

My problem is that I have created the data as data.frame in R and saved with the export command of rio. How could it be that I can save a data set but I'am not able to read in again?

Sigbert

--
https://hu.berlin/sk
https://hu.berlin/mmstat3

______________________________________________
[email protected] 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.

Reply via email to