Hope everyone id doing great .. Just need some clarification over the limit of write.dta. I have some coauthors that use stata and I need to send them my data in .dta format. the data.frame is 41706x229 and I get the following Error in write.dta(Panel, file = "STATADATA/Panel.dta", version = 7) : a binary write error occured Once I subset the data everything works out fine. my question is what are the limits of write.dta. I tried to find out but no luck.. Thank you Jean
did not clarify the system and such ... platform i386-pc-linux-gnu arch i386 os linux-gnu system i386, linux-gnu status major 2 minor 0.1 year 2004 month 11 day 15 language R The foreign package version is 0.8-4 On Mon, 6 Jun 2005, Jean Eid wrote:> Hope everyone id doing great .. > > Just need some clarification over the limit of write.dta. I have some > coauthors that use stata and I need to send them my data in .dta format. > the data.frame is 41706x229 and I get the following > > Error in write.dta(Panel, file = "STATADATA/Panel.dta", version = 7) : > a binary write error occured > > > Once I subset the data everything works out fine. my question is what are > the limits of write.dta. I tried to find out but no luck.. > > > Thank you > > Jean > > ______________________________________________ > R-help at 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 >
On Mon, 6 Jun 2005, Jean Eid wrote:> Hope everyone id doing great .. > > Just need some clarification over the limit of write.dta. I have some > coauthors that use stata and I need to send them my data in .dta format. > the data.frame is 41706x229 and I get the following > > Error in write.dta(Panel, file = "STATADATA/Panel.dta", version = 7) : > a binary write error occured > > > Once I subset the data everything works out fine. my question is what are > the limits of write.dta. I tried to find out but no luck..There aren't supposed to be any built-in limits. The error message that you report means that the low-level operating system calls to write data gave an error, so if a limit was hit it was in the operating system (?disk full) -thomas
i can write the file to dta.> a<-matrix(rnorm(41706*229),nrow=41706) > a<-as.data.frame(a) > write.dta(a,file="c:\\new.dta") > version_ platform i386-pc-mingw32 arch i386 os mingw32 system i386, mingw32 status Patched major 2 minor 1.0 year 2005 month 05 day 29 language R OS:win 2K ======= 2005-06-07 11:56:17 伳侜佋佢伬伌佇伵佒佇佇伌伒伬仯伜======>Thomas Lumley <tlumley at u.washington.edu> wrote on 2005-Jun-06: >> On Mon, 6 Jun 2005, Jean Eid wrote: >> >> >Hope everyone id doing great .. >> > >> >Just need some clarification over the limit of write.dta. I have some >> >coauthors that use stata and I need to send them my data in .dta format. >> >the data.frame is 41706x229 and I get the following >> > >> >Error in write.dta(Panel, file = "STATADATA/Panel.dta", version = 7) : >> > a binary write error occured >> > >> > >> >Once I subset the data everything works out fine. my question is what are >> >the limits of write.dta. I tried to find out but no luck.. >> >> >> There aren't supposed to be any built-in limits. The error message that >> you report means that the low-level operating system calls to write data >> gave an error, so if a limit was hit it was in the operating system (?disk >> full) >> >> -thomas > >I have encountered the same error on Windows XP systems when >trying to write large data frame to Stata files. Using R 2.1 and >the current foreign package. The disk was not full. > >Andrew > >______________________________________________ >R-help at 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= = = = = = = = = = = = = = = = = = = 仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭佒伮 伬侎仯仭 仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭ronggui 仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭0034058 at fudan.edu.cn 仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭仭2005-06-07