Issue attaching a dataset
Le lundi 25 f?vrier 2013 ? 20:26 -0300, Pablo Menese a ?crit :
I use to work whit stata dataframe, so, when I use R I type read.dta
Until today I do that without any problem, after type:
mydata<-read.dta("C:/dropbox/dataframe.dta")
attach(mydata)
Everything works great... but today, when I typed:
mydata<-read.dta("C:/dropbox/dataframe.dta")
attach(mydata)
Appeared:
Error in substr(these, 1L, 6L) : invalid multibyte string at '<f1>'
I searched in google and nothing. Can anyone help me?
To be clear: the error appears when running read.dta(), not when calling attach(), right? And the C:/dropbox/dataframe.dta that fails today is different from the one that worked yesterday? Are you able to read it in Stata? Also, please provide the output of sessionInfo(). Regards