Try this:
df <- data.frame('1.test'=rnorm(100), '2.test'=runif(100), check.names=F)
--
Henrique Dallazuanna
Curitiba-Paraná-Brasil
25° 25' 40" S 49° 16' 22" O
On 15/09/2007, kevinchang <[EMAIL PROTECTED]> wrote:
>
>
> Hey,
>
> I am trying to make a data frame and the name of a column is compos
when I try what you describe there is no problem -maybe send a
reproducible example.
> x<-data.frame(matrix(2,2,2))
> colnames(x) <- c("1.xx", "2.xx")
> x
1.xx 2.xx
122
222
On Sat, 15 Sep 2007, kevinchang wrote:
>
> Hey,
>
> I am trying to make a data frame and the name of a c
Hey,
I am trying to make a data frame and the name of a column is composed of a
number, a dot, and a word, such as "1.whatever". But I always get this error
message:"syntax error, unexpected SYMBOL, expecting ',' in:" while printing
data frame out . When I rename the column with purely letter, ev
3 matches
Mail list logo