similar to: "a binary read error occurred" in read.dta

Displaying 20 results from an estimated 1000 matches similar to: ""a binary read error occurred" in read.dta"

2009 Jun 29
2
Large Stata file Import in R
Hi I am using Stata 10 and I need to import a data set in stata 10 to R, I have saved the dataset in lower versions of Stata as well by using saveold command in Stata. My RAM is 4gb and the stata file is 600MB, I am getting an error message which says : "Error: cannot allocate vector of size 3.4 Mb In addition: There were 50 or more warnings (use warnings() to see the first 50)" Thus
2005 Sep 25
0
Tip: Working directory in titlebar
I hope others may find this useful. I use R in many different directories. By adding the following line to the .Rprofile file: utils:::setWindowTitle(paste("-",getwd())) the titlebar of each R instance shows the directory from which it was started. I have tested this with rterm.exe and rgui.exe under Windows and with RECENT versions of R only. ----- For changing directories
2009 Jun 30
1
Stata file and R Interaction :File Size Problem in Import
Hi I am using Stata 10 and I need to import a data set in stata 10 to R, I have saved the dataset in lower versions of Stata as well by using saveold command in Stata. My RAM is 4gb and the stata file is 600MB, I am getting an error message which says : "Error: cannot allocate vector of size 3.4 Mb In addition: There were 50 or more warnings (use warnings() to see the first
2013 Jan 16
1
Read.dta and Write.dta Binary Data Error
Thanks in advance. I pass data sets between R and Stata and think dta files would be the best files for this. To do this I can use package foreign or package memisc. I mostly use foreign, although have used memisc and this problem mostly didn't happen, but created errors at other times. I have a csv data set (and created a test case) with with at least one column completely missing. This
2004 Sep 24
5
using tcltk in R under ESS/XEmacs on Windows
Sorry for the cross-post. Not sure where the problem is... A while back I posted an R function to R-help: cd <- function (dir = tclvalue(tkchooseDirectory()), saveOld = FALSE, loadNew = TRUE) { stopifnot(require(tcltk)) if (saveOld) save.image(compress = TRUE) setwd(dir) rm(list = ls(all = TRUE, envir = .GlobalEnv), envir = .GlobalEnv) if (loadNew &&
2007 Jun 15
1
importing .dta files
I'm trying to read in a Stata file but I've never used this function ( read.dta). It's the only one that seems to come close to working, but I keep getting this error: > data<-read.dta("C:/Documents and Settings/Chris/Desktop/S4412/catestscores.dta") Error in read.dta("C:/Documents and Settings/Chris/Desktop/S4412/catestscores.dta", : a binary read
2005 Jun 06
3
write.dta limits
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
2012 Mar 05
1
problems reading a large dta dataset in R
Dear R listers, I have a silly problem. I am trying to load a dta (Stata) file in R. The dta is about 650 MB and contains the integrated World Values Survey/ European Value Study data-set. My problem is that I don't manage to load the file. After almost 3 hours after I issued the following command: data <-
2011 Jan 14
1
Write.dta and export of variable labels
When I import a data file in stata format using read.dta, the full variable labels (e.g. variable= "inc2000"; variable label= "Total household income in year 2000"). When I then export the same data file using write.dta, the variable labels are not included in the new .dta file. Is there any way to ensure that the variable labels are maintained? Thanks [[alternative HTML
2008 Jan 10
1
write.dta (foreign package)
Hi, I'd like to request that the 'write.dta' command also save the "var.labels" attributes of the data frame. 'read.dta' can read them, but 'write.dta' doesn't write them back. Thanks.... Edward McNeil -- Epidemiology Unit Faculty of Medicine Prince of Songkla University Hat Yai THAILAND (\_ _/) (='.'=) ('')_('') -- This
2008 Mar 18
2
read.dta for files from stata 9.0
Dear R-helpers, if I want to read a .dta-file generated by stata 9.0 with read.dta (foreign), I get the message "not a stata version 5-8 .dta-file". I'm using R-2.6.2 and the latest version of the foreign package. Has someone any hint? With many thanks, Albrecht
2005 Dec 14
0
SAS.xpt/STATA.dta, field descriptions, and dbWriteTable
Hello all, I have a large database (~100MB in 13 relational files) that made its way to me in two formats. The files were sent in both SAS xport and STATA, thanks, I am told, to stat-transfer. The two files, ostensibly, contain the same data, just in different formats. My goal: Move these files to MySQl without the help of SAS or STATA (which I do not have). The tools I am using are: 1.
2003 Nov 04
2
write.dta and handling labels
Hello, I need to write out a data matrix as a STATA 7 file and this happens perfectly with write.dta(), except I cannot seem to export the labelnames to Stata. So far I have tried the following: # X is the data matrix that is to be exported attributes(X)$var.labels <- c("apple", "banana", "cat") write(X, filename = "text.dta", version = 7) When i
2009 May 03
1
dates from Stata's .dta to R's .Rdata: become character
Dear Sir/Madam, I converted the .dta into .Rdata with the foreign library read.dta. However, when I use fix() I get the message that the dates are discarded. Before fix(), class(dateX) gives 'dates' as class; after fix() class(dateX) gives 'character' Why is that? Best regards, Rob Bakker [[alternative HTML version deleted]]
2011 Mar 01
2
How to Save R library data into xls or dta format
Thanks in advance. I'm having a trouble with data saving. I want to run the same data which is in Ecdat library at different statistic programs(excel, stata and matlab) The data I want to use is library(Ecdat) data(Housing) and I want to extract this data our of R as *.dta *.xls formats. So, my first try was to open the data in R window and drag and paste to excel or notepad. BUT, it
2006 Apr 04
2
Application configuration options
I''ve been kicking this around for months and I thought I would finally ask the list and see if I can get some opinions. I want a database table that holds configuration options for my system. Think exmail server address, port, maybe a path for a banner image, things liike that. The way i''ve implemented it is a single column, each column is a value. This maps very nicely to a
2011 Aug 06
3
.dta from e-mail
I got a .dta extension file by e-mail, but I can't save it in my computer and open it in R. How can I do it? [[alternative HTML version deleted]]
2004 Apr 03
1
Direct connection to Packet8 without DTA
I found some old messages regarding a possible pkt8 DTA "bypass". Anyone is using Packet8 with Asterisk? ========== http://www.dslreports.com/forum/remark,7292324~root=voip~mode=flat Got Softphone Working with Packet8 Friendly name: {Anything you'd like.} SIP domain: packet8.net SIP proxy: packet8.net Leave everything else at the default. When you login, it will ask for a username
2007 Dec 31
1
read.dta error after OSX change in time zone
Hello all, I recently moved from the US to Africa & on changing my time zone in the OSX system preferences from EST to GMT+3 ( East Africa) on attempting to use read.dta using the foreign package began getting an error of: "Error in fromchar(x) : character string is not in a standard unambiguous format" This error goes away & the data is correctly read in when
2008 May 26
1
read.dta error
Greetings! I attempted to read a STATA 10 file using the following syntax: library(foreign) data <- read.dta("~/Documents/agestandard/analysis.dta") I got the following error: *** stack smashing detected ***: /usr/lib/R/bin/exec/R terminated ======= Backtrace: ========= /lib/tls/i686/cmov/libc.so.6(__fortify_fail+0x48)[0xb7c13138]