Ista, I am pulling multiple countries and multiple waves, but here is one country in one wave. I know if I can get one to work, I can get them all to work. I have used WVS data in the past and never encountered any issues, so I am at a loss here. Thanks again! http://www.worldvaluessurvey.org/WVSDocumentationWV3.jsp <http://www.worldvaluessurvey.org/WVSDocumentationWV3.jsp> ~Nicole> On Mar 19, 2015, at 4:59 PM, Ista Zahn <istazahn at gmail.com> wrote: > > Is the file publicly available? What is the URL? > > Best, > Ista > > On Thu, Mar 19, 2015 at 4:46 PM, Nicole Ford <nicole.ford at me.com> wrote: >> Hello, Ista. >> >> Honestly, I am uncertain. I don't have STATA -- I downloaded this from the data source website. >> >> I can't imagine it is 13 because the data are old (2006). >> >> I tried package readstata13 out of desperation, but didn't think it would resolve. >> >> Thanks for the suggestion! >> >> Sent from my iPhone >> >>> On Mar 19, 2015, at 4:41 PM, Ista Zahn <istazahn at gmail.com> wrote: >>> >>> 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.[[alternative HTML version deleted]]
the text didn?t send for the R data file erros. sorry about that. 2015-03-19 17:41:38.544 R[398:5728] Unable to simultaneously satisfy constraints: ( "<NSAutoresizingMaskLayoutConstraint:0x6000018966c0 h=-&- v=-&- H:|-(0)-[NSView:0x60000032da20] (Names: '|':FIFinderView:0x6080003612c0 )>", "<NSAutoresizingMaskLayoutConstraint:0x6000012881b0 h=-&- v=-&- H:[NSView:0x60000032da20]-(0)-| (Names: '|':FIFinderView:0x6080003612c0 )>", "<NSAutoresizingMaskLayoutConstraint:0x600000a8c710 h=-&- v=-&- H:|-(0)-[FIFinderView:0x6080003612c0] (Names: '|':NSNavFinderViewFileBrowser:0x608000375fc0 )>", "<NSAutoresizingMaskLayoutConstraint:0x60000128eb50 h=-&- v=-&- H:[FIFinderView:0x6080003612c0]-(0)-| (Names: '|':NSNavFinderViewFileBrowser:0x608000375fc0 )>", "<NSAutoresizingMaskLayoutConstraint:0x600000c93fb0 h=--& v=--& H:[NSNavFinderViewFileBrowser:0x608000375fc0(585)]>", "<NSLayoutConstraint:0x60000149d740 H:|-(0)-[NSView:0x600000133ec0] (Names: '|':NSView:0x60000032da20 )>", "<NSLayoutConstraint:0x600001489880 H:[NSView:0x600000133ec0]-(0)-| (Names: '|':NSView:0x60000032da20 )>", "<NSLayoutConstraint:0x60000109e280 H:[FILocationPopUp:0x6000003fda00(207)]>", "<NSLayoutConstraint:0x600000a82760 NSView:0x600000133ec0.centerX == FILocationPopUp:0x6000003fda00.centerX>", "<NSLayoutConstraint:0x600000e835c0 H:[FILocationPopUp:0x6000003fda00]-(>=10)-[SGTSearchField:0x6000003bf800]>", "<NSLayoutConstraint:0x60000069f2c0 H:[SGTSearchField:0x6000003bf800]-(11)-| (Names: '|':NSView:0x600000133ec0 )>", "<NSLayoutConstraint:0x6000006801e0 H:[SGTSearchField:0x6000003bf800(>=218)]>" ) Will attempt to recover by breaking constraint <NSLayoutConstraint:0x6000006801e0 H:[SGTSearchField:0x6000003bf800(>=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.> str(dat)chr [1:2] ".Traceback" "WV3_Data_rdata_v_2014_09_21"> ls(dat)Error in as.environment(pos) : no item called ".Traceback" on the search list> dat[1] ".Traceback" "WV3_Data_rdata_v_2014_09_21"> sessionInfo()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] readstata13_0.5-3 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 [9] 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>> On Mar 19, 2015, at 5:08 PM, Nicole Ford <nicole.ford at me.com> wrote: > > Ista, > > I am pulling multiple countries and multiple waves, but here is one country in one wave. I know if I can get one to work, I can get them all to work. I have used WVS data in the past and never encountered any issues, so I am at a loss here. Thanks again! > > http://www.worldvaluessurvey.org/WVSDocumentationWV3.jsp <http://www.worldvaluessurvey.org/WVSDocumentationWV3.jsp> > > > ~Nicole > > > > > > >> On Mar 19, 2015, at 4:59 PM, Ista Zahn <istazahn at gmail.com <mailto:istazahn at gmail.com>> wrote: >> >> Is the file publicly available? What is the URL? >> >> Best, >> Ista >> >> On Thu, Mar 19, 2015 at 4:46 PM, Nicole Ford <nicole.ford at me.com <mailto:nicole.ford at me.com>> wrote: >>> Hello, Ista. >>> >>> Honestly, I am uncertain. I don't have STATA -- I downloaded this from the data source website. >>> >>> I can't imagine it is 13 because the data are old (2006). >>> >>> I tried package readstata13 out of desperation, but didn't think it would resolve. >>> >>> Thanks for the suggestion! >>> >>> Sent from my iPhone >>> >>>> On Mar 19, 2015, at 4:41 PM, Ista Zahn <istazahn at gmail.com <mailto:istazahn at gmail.com>> wrote: >>>> >>>> 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 <mailto: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 <mailto:R-help at r-project.org> mailing list -- To UNSUBSCRIBE and more, see >>>>> https://stat.ethz.ch/mailman/listinfo/r-help <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. >[[alternative HTML version deleted]]
hi nicole, i have published easy to reproduce, well-documented code to download and then analyze every file from every wave of the world values survey here. the download automation script should solve your problem, or at least work around it :) http://www.asdfree.com/search/label/world%20values%20survey%20%28wvs%29 On Thu, Mar 19, 2015 at 6:09 PM, Nicole Ford <nicole.ford at me.com> wrote:> the text didn?t send for the R data file erros. sorry about that. > > > 2015-03-19 17:41:38.544 R[398:5728] Unable to simultaneously satisfy > constraints: > ( > "<NSAutoresizingMaskLayoutConstraint:0x6000018966c0 h=-&- v=-&- > H:|-(0)-[NSView:0x60000032da20] (Names: '|':FIFinderView:0x6080003612c0 > )>", > "<NSAutoresizingMaskLayoutConstraint:0x6000012881b0 h=-&- v=-&- > H:[NSView:0x60000032da20]-(0)-| (Names: '|':FIFinderView:0x6080003612c0 > )>", > "<NSAutoresizingMaskLayoutConstraint:0x600000a8c710 h=-&- v=-&- > H:|-(0)-[FIFinderView:0x6080003612c0] (Names: > '|':NSNavFinderViewFileBrowser:0x608000375fc0 )>", > "<NSAutoresizingMaskLayoutConstraint:0x60000128eb50 h=-&- v=-&- > H:[FIFinderView:0x6080003612c0]-(0)-| (Names: > '|':NSNavFinderViewFileBrowser:0x608000375fc0 )>", > "<NSAutoresizingMaskLayoutConstraint:0x600000c93fb0 h=--& v=--& > H:[NSNavFinderViewFileBrowser:0x608000375fc0(585)]>", > "<NSLayoutConstraint:0x60000149d740 H:|-(0)-[NSView:0x600000133ec0] > (Names: '|':NSView:0x60000032da20 )>", > "<NSLayoutConstraint:0x600001489880 H:[NSView:0x600000133ec0]-(0)-| > (Names: '|':NSView:0x60000032da20 )>", > "<NSLayoutConstraint:0x60000109e280 > H:[FILocationPopUp:0x6000003fda00(207)]>", > "<NSLayoutConstraint:0x600000a82760 NSView:0x600000133ec0.centerX => FILocationPopUp:0x6000003fda00.centerX>", > "<NSLayoutConstraint:0x600000e835c0 > H:[FILocationPopUp:0x6000003fda00]-(>=10)-[SGTSearchField:0x6000003bf800]>", > "<NSLayoutConstraint:0x60000069f2c0 > H:[SGTSearchField:0x6000003bf800]-(11)-| (Names: > '|':NSView:0x600000133ec0 )>", > "<NSLayoutConstraint:0x6000006801e0 > H:[SGTSearchField:0x6000003bf800(>=218)]>" > ) > > Will attempt to recover by breaking constraint > <NSLayoutConstraint:0x6000006801e0 > H:[SGTSearchField:0x6000003bf800(>=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. > > str(dat) > chr [1:2] ".Traceback" "WV3_Data_rdata_v_2014_09_21" > > ls(dat) > Error in as.environment(pos) : > no item called ".Traceback" on the search list > > dat > [1] ".Traceback" "WV3_Data_rdata_v_2014_09_21" > > sessionInfo() > 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] readstata13_0.5-3 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 > [9] 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 > > > > > > > > On Mar 19, 2015, at 5:08 PM, Nicole Ford <nicole.ford at me.com> wrote: > > > > Ista, > > > > I am pulling multiple countries and multiple waves, but here is one > country in one wave. I know if I can get one to work, I can get them all > to work. I have used WVS data in the past and never encountered any > issues, so I am at a loss here. Thanks again! > > > > http://www.worldvaluessurvey.org/WVSDocumentationWV3.jsp < > http://www.worldvaluessurvey.org/WVSDocumentationWV3.jsp> > > > > > > ~Nicole > > > > > > > > > > > > > >> On Mar 19, 2015, at 4:59 PM, Ista Zahn <istazahn at gmail.com <mailto: > istazahn at gmail.com>> wrote: > >> > >> Is the file publicly available? What is the URL? > >> > >> Best, > >> Ista > >> > >> On Thu, Mar 19, 2015 at 4:46 PM, Nicole Ford <nicole.ford at me.com > <mailto:nicole.ford at me.com>> wrote: > >>> Hello, Ista. > >>> > >>> Honestly, I am uncertain. I don't have STATA -- I downloaded this > from the data source website. > >>> > >>> I can't imagine it is 13 because the data are old (2006). > >>> > >>> I tried package readstata13 out of desperation, but didn't think it > would resolve. > >>> > >>> Thanks for the suggestion! > >>> > >>> Sent from my iPhone > >>> > >>>> On Mar 19, 2015, at 4:41 PM, Ista Zahn <istazahn at gmail.com <mailto: > istazahn at gmail.com>> wrote: > >>>> > >>>> 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 > <mailto: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 <mailto:R-help at r-project.org> mailing list -- > To UNSUBSCRIBE and more, see > >>>>> https://stat.ethz.ch/mailman/listinfo/r-help < > 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. > > > > > [[alternative HTML version deleted]] > > ______________________________________________ > 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. >[[alternative HTML version deleted]]
That is not a Stata data file, but a plain text data file. You can try reading it into R like x <- read.table("WV3_Data_Russia_1995_stata_v_2014_04_28.dat", fill = TRUE) but you won't know what anything is. The metadata is in the .dct file, in a format only Stata can love... Best, Ista On Thu, Mar 19, 2015 at 9:50 PM, Nicole Ford <nicole.ford at me.com> wrote:> It seems the problem I am having is actually on the WVS end. The files I am > downloading seem to have incorrect endings? for example: > > WV3_Data_Russia_1995_stata_v_2014_04_28.dat > > I have emailed them and let them know. > ~Nicole Ford > Ph.D. Candidate/ Instructor > University of South Florida > Government and International Affairs > Visitor, University of Rochester > office: Gavett 303P > e: nicole.ford at me.com > http://usf.academia.edu/NicoleFord > > > > > > > On Mar 19, 2015, at 8:53 PM, Ista Zahn <istazahn at gmail.com> wrote: > > Does > > /Users/nicoleford/Desktop/Russia2006.dta > > exist? What does > > list.files("/Users/nicoleford/Desktop", pattern = "\\.dta") > > say? > > On Thu, Mar 19, 2015 at 8:35 PM, Nicole Ford <nicole.ford at me.com> wrote: > > ok so after another restart- I got rid of some of the errors. But I am > still unable to load and R is telling me it is not a stata13 file. > > dat <- read.dta13(file.choose()) > > Error: First byte: Not a version 13 dta-file. > > options(useFancyQuotes=F) > dat <- read.dta(file.choose()) > > Error in read.dta(file.choose()) : not a Stata version 5-12 .dta file > > options(useFancyQuotes=F) > dat <- read.dta('/Users/nicoleford/Desktop/Russia2006.dta') > > Error in read.dta("/Users/nicoleford/Desktop/Russia2006.dta") : > unable to open file: 'No such file or directory' > > dat <- read.dta(file='/Users/nicoleford/Desktop/Russia2006.dta') > > Error in read.dta(file = "/Users/nicoleford/Desktop/Russia2006.dta") : > unable to open file: 'No such file or directory? > > I?m really at a loss. > ~Nicole Ford > Ph.D. Candidate/ Instructor > University of South Florida > Government and International Affairs > Visitor, University of Rochester > office: Gavett 303P > e: nford5 at ur.rochester.edu > http://usf.academia.edu/NicoleFord > > > > > > > On Mar 19, 2015, at 6:09 PM, Nicole Ford <nicole.ford at me.com> wrote: > > the text didn?t send for the R data file erros. sorry about that. > > > 2015-03-19 17:41:38.544 R[398:5728] Unable to simultaneously satisfy > constraints: > ( > "<NSAutoresizingMaskLayoutConstraint:0x6000018966c0 h=-&- v=-&- > H:|-(0)-[NSView:0x60000032da20] (Names: '|':FIFinderView:0x6080003612c0 > )>", > "<NSAutoresizingMaskLayoutConstraint:0x6000012881b0 h=-&- v=-&- > H:[NSView:0x60000032da20]-(0)-| (Names: '|':FIFinderView:0x6080003612c0 > )>", > "<NSAutoresizingMaskLayoutConstraint:0x600000a8c710 h=-&- v=-&- > H:|-(0)-[FIFinderView:0x6080003612c0] (Names: > '|':NSNavFinderViewFileBrowser:0x608000375fc0 )>", > "<NSAutoresizingMaskLayoutConstraint:0x60000128eb50 h=-&- v=-&- > H:[FIFinderView:0x6080003612c0]-(0)-| (Names: > '|':NSNavFinderViewFileBrowser:0x608000375fc0 )>", > "<NSAutoresizingMaskLayoutConstraint:0x600000c93fb0 h=--& v=--& > H:[NSNavFinderViewFileBrowser:0x608000375fc0(585)]>", > "<NSLayoutConstraint:0x60000149d740 H:|-(0)-[NSView:0x600000133ec0] > (Names: '|':NSView:0x60000032da20 )>", > "<NSLayoutConstraint:0x600001489880 H:[NSView:0x600000133ec0]-(0)-| > (Names: '|':NSView:0x60000032da20 )>", > "<NSLayoutConstraint:0x60000109e280 > H:[FILocationPopUp:0x6000003fda00(207)]>", > "<NSLayoutConstraint:0x600000a82760 NSView:0x600000133ec0.centerX => FILocationPopUp:0x6000003fda00.centerX>", > "<NSLayoutConstraint:0x600000e835c0 > H:[FILocationPopUp:0x6000003fda00]-(>=10)-[SGTSearchField:0x6000003bf800]>", > "<NSLayoutConstraint:0x60000069f2c0 > H:[SGTSearchField:0x6000003bf800]-(11)-| (Names: '|':NSView:0x600000133ec0 > )>", > "<NSLayoutConstraint:0x6000006801e0 > H:[SGTSearchField:0x6000003bf800(>=218)]>" > ) > > Will attempt to recover by breaking constraint > <NSLayoutConstraint:0x6000006801e0 H:[SGTSearchField:0x6000003bf800(>=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. > > str(dat) > > chr [1:2] ".Traceback" "WV3_Data_rdata_v_2014_09_21" > > ls(dat) > > Error in as.environment(pos) : > no item called ".Traceback" on the search list > > dat > > [1] ".Traceback" "WV3_Data_rdata_v_2014_09_21" > > sessionInfo() > > 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] readstata13_0.5-3 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 > [9] 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 > > > > > > > On Mar 19, 2015, at 5:08 PM, Nicole Ford <nicole.ford at me.com> wrote: > > Ista, > > I am pulling multiple countries and multiple waves, but here is one country > in one wave. I know if I can get one to work, I can get them all to work. > I have used WVS data in the past and never encountered any issues, so I am > at a loss here. Thanks again! > > http://www.worldvaluessurvey.org/WVSDocumentationWV3.jsp > > > ~Nicole > > > > > > > On Mar 19, 2015, at 4:59 PM, Ista Zahn <istazahn at gmail.com> wrote: > > Is the file publicly available? What is the URL? > > Best, > Ista > > On Thu, Mar 19, 2015 at 4:46 PM, Nicole Ford <nicole.ford at me.com> wrote: > > Hello, Ista. > > Honestly, I am uncertain. I don't have STATA -- I downloaded this from the > data source website. > > I can't imagine it is 13 because the data are old (2006). > > I tried package readstata13 out of desperation, but didn't think it would > resolve. > > Thanks for the suggestion! > > Sent from my iPhone > > On Mar 19, 2015, at 4:41 PM, Ista Zahn <istazahn at gmail.com> wrote: > > 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. > > > > >