Odd Stuff with MacBook Pro Tiger (after Leopard)
From InterSciWiki
DRW got a new MacBook Pro Tiger Odd Stuff:
- I finally figured out to put the file in my desktop:
setwd("/Users/doug/Desktop")
- The dta file couldnt be read
> sccs<-read.dta("SCCSvar1-2008NoMap.dta")
- Downloading the *.dta file from the net added an extra extension .dta.html. I removed that extension:
[1] "SCCSvar1-2008NoMap.dta.html" "SCCSvar1-2008NoMapStata5.dta"
- Then > sccs<-read.dta("SCCSvar1-2008NoMap.dta")
- Error in read.dta("SCCSvar1-2008NoMap.dta") :
not a Stata version 5-10 .dta file
- Whoa: not a Stata version 5-10 .dta file - So I made a version 5 file but
- > sccs<-read.dta("SCCSvar1-2008NoMapStata5.dta")
- Warning message: In read.dta("SCCSvar1-2008NoMapStata5.dta") :
- cannot read factor labels from Stata 5 files
- So I made a Stata 5 file
- sccs<-read.dta("SCCSvar1-2008NoMapStata5.dta")
- Warning message: In read.dta("SCCSvar1-2008NoMapStata5.dta") :
- cannot read factor labels from Stata 8 files
- So finally I made a Stata 8 file
- sccs<-read.dta("SCCSvar1-2008NoMapStata8.dta") and that worked perfectly
