[R] not a Stata version 5-12 .dta file
Ista Zahn
istazahn at gmail.com
Thu Mar 19 21:41:49 CET 2015
Hi Nicole,
Is it a stata 13 data file? If so your best bet is to open it in Stata
and use the "saveold" command to save it as a stata 12 file.
Best,
Ista
On Thu, Mar 19, 2015 at 3:00 PM, Nicole Ford <nicole.ford at me.com> wrote:
> Hello,
>
> I recently updated to the newest version of R and I am encountering issues. Please find my error and session info below. My data are attached. I have tried the readstata13 package just in case to no avail. Unless I am missing something, google isn’t helping.
>
>
>
> Thank you in advance.
>
>
>
> error:
>> dat <- read.dta(file.choose())
> Error in read.dta(file.choose()) : not a Stata version 5-12 .dta file
> 2015-03-19 14:14:21.445 R[398:5728] Unable to simultaneously satisfy constraints:
> (
> "<NSAutoresizingMaskLayoutConstraint:0x608000490bd0 h=-&- v=-&- H:|-(0)-[NSView:0x60000012eba0] (Names: '|':FIFinderView:0x600000363a80 )>",
> "<NSAutoresizingMaskLayoutConstraint:0x608000490e50 h=-&- v=-&- H:[NSView:0x60000012eba0]-(0)-| (Names: '|':FIFinderView:0x600000363a80 )>",
> "<NSAutoresizingMaskLayoutConstraint:0x608000491120 h=-&- v=-&- H:|-(0)-[FIFinderView:0x600000363a80] (Names: '|':NSNavFinderViewFileBrowser:0x608000377400 )>",
> "<NSAutoresizingMaskLayoutConstraint:0x608000491170 h=-&- v=-&- H:[FIFinderView:0x600000363a80]-(0)-| (Names: '|':NSNavFinderViewFileBrowser:0x608000377400 )>",
> "<NSAutoresizingMaskLayoutConstraint:0x608000491350 h=--& v=--& H:[NSNavFinderViewFileBrowser:0x608000377400(585)]>",
> "<NSLayoutConstraint:0x600000482d50 H:|-(0)-[NSView:0x60000012e380] (Names: '|':NSView:0x60000012eba0 )>",
> "<NSLayoutConstraint:0x600000482da0 H:[NSView:0x60000012e380]-(0)-| (Names: '|':NSView:0x60000012eba0 )>",
> "<NSLayoutConstraint:0x6000004816d0 H:[FILocationPopUp:0x6000001f2800(207)]>",
> "<NSLayoutConstraint:0x600000482a30 NSView:0x60000012e380.centerX == FILocationPopUp:0x6000001f2800.centerX>",
> "<NSLayoutConstraint:0x6000004825d0 H:[FILocationPopUp:0x6000001f2800]-(>=10)-[SGTSearchField:0x6000003a5160]>",
> "<NSLayoutConstraint:0x600000482b70 H:[SGTSearchField:0x6000003a5160]-(11)-| (Names: '|':NSView:0x60000012e380 )>",
> "<NSLayoutConstraint:0x6000004814f0 H:[SGTSearchField:0x6000003a5160(>=218)]>"
> )
>
> Will attempt to recover by breaking constraint
> <NSLayoutConstraint:0x6000004814f0 H:[SGTSearchField:0x6000003a5160(>=218)]>
>
> Set the NSUserDefault NSConstraintBasedLayoutVisualizeMutuallyExclusiveConstraints to YES to have -[NSWindow visualizeConstraints:] automatically called when this happens. And/or, break on objc_exception_throw to catch this in the debugger.
>> sessionInfo()
>
> Session Info:
> R version 3.1.3 (2015-03-09)
> Platform: x86_64-apple-darwin13.4.0 (64-bit)
> Running under: OS X 10.10.1 (Yosemite)
>
> locale:
> [1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8
>
> attached base packages:
> [1] stats graphics grDevices utils datasets methods base
>
> other attached packages:
> [1] effects_3.0-3 lattice_0.20-30 lme4_1.1-7 Rcpp_0.11.2 Matrix_1.1-5 runjags_1.2.1-0 sm_2.2-5.4 foreign_0.8-63 car_2.0-25
>
> loaded via a namespace (and not attached):
> [1] coda_0.16-1 colorspace_1.2-4 grid_3.1.3 MASS_7.3-39 mgcv_1.8-4 minqa_1.2.3 nlme_3.1-120 nloptr_1.0.0 nnet_7.3-9
> [10] parallel_3.1.3 pbkrtest_0.4-2 quantreg_5.11 SparseM_1.6 splines_3.1.3 tools_3.1.3
>
> ~n
>
>
>
>
>
>
> ______________________________________________
> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
> 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.
More information about the R-help
mailing list