[R] exporting data into STATA
John Kane
jrkrideau at inbox.com
Sat May 18 16:53:49 CEST 2013
Presumably it means what it says : You have a non-ASCII character in the dataset. Any accented character, for example, is going to be outside the basic ASCII character set.
Examples
mydata <- data.frame(étt=1:10) # error
newdata <- data.frame(ntt=1:10) # no error
See http://www.theasciicode.com.ar/ for a list
write.dta(mydata, file = "stata.dta")
John Kane
Kingston ON Canada
> -----Original Message-----
> From: niklasfischer980 at gmail.com
> Sent: Sat, 18 May 2013 15:05:57 +0200
> To: r-help at r-project.org
> Subject: [R] exporting data into STATA
>
> Dear All,
>
> I am not very familiar with ASCII file format, and now I am trying to
> export R data frame into STATA
> When I run write.dta command, there is a warning below appear.
>
> 5: In abbreviate(ll, 80L) : abbreviate used with non-ASCII chars
>
> Do you have any suggestion to fix it?
>
> All the bests
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at r-project.org mailing list
> 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.
____________________________________________________________
FREE 3D EARTH SCREENSAVER - Watch the Earth right on your desktop!
More information about the R-help
mailing list