Message-ID: <1361872535.15898.1.camel@milan>
Date: 2013-02-26T09:55:35Z
From: Milan Bouchet-Valat
Subject: Issue attaching a dataset
In-Reply-To: <CAG-zrWpiCL03wUO9NPHFS_MwXL5N2D9+1wow+0g12_R0xoTcig@mail.gmail.com>
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