[Xts-commits] r737 - pkg/xts/R
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Mon Oct 15 04:56:05 CEST 2012
Author: jryan
Date: 2012-10-15 04:56:05 +0200 (Mon, 15 Oct 2012)
New Revision: 737
Modified:
pkg/xts/R/str.R
Log:
o modified str() output to make use of proper ISO8601 range formating
Modified: pkg/xts/R/str.R
===================================================================
--- pkg/xts/R/str.R 2012-10-12 18:54:33 UTC (rev 736)
+++ pkg/xts/R/str.R 2012-10-15 02:56:05 UTC (rev 737)
@@ -24,8 +24,9 @@
if(length(object) == 0) {
cat("An 'xts' object of zero-width\n")
} else {
- cat(paste("An",sQuote('xts'),"object from",
- index(first(object)),"to",index(last(object)),
+ cat(paste("An",sQuote('xts'),"object on",
+ #index(first(object)),"to",index(last(object)),
+ .makeISO8601(object),
"containing:\n"))
cat(paste(" Data:"))
str(coredata(object))
More information about the Xts-commits
mailing list