search for: 342cntl

Displaying 1 result from an estimated 1 matches for "342cntl".

2008 Jan 26
1
Read stata file from internet?
...("http://www.stat.ucla.edu/projects/datasets/risk_project.dta > ") : > incomplete final line found by readTableHeader on 'http://www.stat.ucla.edu/projects/datasets/risk_project.dta' > head(riskTmp) > V1 > 1 l\001\001\300 > 2 .%9.0g > 3 \342CNTL%8.0g > > risk2 <- read.dta(riskTmp) > Error in read.dta(riskTmp) : first argument must be a file name So I tried to save riskTmp as a file, and read it in using read.dta(): > save(riskTmp, file = 'risk.dta') > risk2 <- read.dta('risk.dta') > Error in read.d...