Full_Name: Giles L Crane
Version: 2.8.0 2008-10-20
OS: Windows XP
Submission from: (NULL) (71.168.215.186)
paste(rep(" ",10),sep="")
[1] " " " " " " " " " " " " " " " " " " " "
As I read the documentation for paste(),
this should have produced
" "
that is, all spaces pasted together.
Full_Name: Giles L. Crane
Version: 2.7.2
OS: WIndows XP
Submission from: (NULL) (96.248.112.112)
In the foreign package, read.epiinfo() mistakenly reads the first character
of the heading lines as part of the variable name. This first character of
the heading lines which define the variables
First, I compliment you all
for such a useful project as R.
Suggestion: If read.table() could
take input from a character string,
then one could write
raw=
" x y z
1 2 3
4 5 6
"
df = read.table(raw,head=TRUE)
Of course, one can
cat() to write raw into a
temporary file,
and read