Hi Everyone,
I am trying a very simple task to append the Timestamp with a variable name so
something like
a_2012_09_27_00_12_30 <- rnorm(1,2,1).
Tried some commands but it doesn't work out well. Hope someone has some answer
on it.
Session Info
R version 2.15.1 (2012-06-22)
Platform: i386-apple-darwin9.8.0/i386 (32-bit)
locale:
[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] chron_2.3-42 twitteR_0.99.19 rjson_0.2.9 RCurl_1.91-1
bitops_1.0-4.1 tm_0.5-7.1 RMySQL_0.9-3 DBI_0.2-5
loaded via a namespace (and not attached):
[1] slam_0.1-24 tools_2.15.1
Statement I tried :
b <- unclass(Sys.time())
b = 1348812597
c_b <- rnorm(1,2,1)
Works perfect but doesn't show me c_1348812597.
Best Regards,
Bhupendrasinh Thakre
[[alternative HTML version deleted]]
______________________________________________
[email protected] 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.