Thanks David. count.fields revealed the problem, and pointed me in a
direction to understand some basics
that I had missed.
Writing the original file with quote=TRUE solved the problem or
reading it in with
quote="" also fixed the problem.
On Tue, Jul 12, 2011 at 4:48 PM, David Winsemius wrote:
On Jul 12, 2011, at 4:37 PM, Juliet Hannah wrote:
I have a file in stata format, which I have read in, and I am trying
to create a text file. I have exported the data using various
delimiters, but I'm unable to read it back in. I originally read in
the file with:
library(foreign)
myData <- rea
I have a file in stata format, which I have read in, and I am trying
to create a text file. I have exported the data using various
delimiters, but I'm unable to read it back in. I originally read in
the file with:
library(foreign)
myData <- read.dta("mydata.dta")
I then exported it with write.tab
3 matches
Mail list logo