Hi!

28.09.2012 09:13, Bhupendrasinh Thakre wrote:
Statement I tried :

b <- unclass(Sys.time())
b = 1348812597
c_b <- rnorm(1,2,1)

Do you mean this:

--- code ---

> df<-data.frame("x"=0,"y"=0)
> colnames(df)
[1] "x" "y"
> colnames(df)[2]<-paste("b",unclass(Sys.time()),sep="_")
> colnames(df)
[1] "x"                  "b_1348813791.55393"

--- code ---

HTH,
Kimmo

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to