[datatable-help] How to speed up grouping time series, help please

djmuseR djmuser at gmail.com
Thu Apr 7 11:37:59 CEST 2011


Hi Daniele:

Further to Matthew's comments:

When you copy and paste data from the console into an e-mail, there is no
guarantee that the person on the other end will have an easy time reading
it. From past experience, I can already tell you that if I tried to copy
your data snippet into an R session with the read.table(textConnection(" 
")) mantra, I would get a read error because there is a space between the
day and the time in each record. It would 'see' four observations but only
three variable names are present -> error. 

The better thing to do is to use dput(): it conveys class information,
attributes, etc. correctly in an easily transportable text file. That way,
the data object you see will be the same as the data object a potential
helper will see. See Santosh Srinivas' recent post in this forum for some
good examples. 

The R Posting Guide provides a number of useful guidelines for framing a
help request that greatly improves the chances of receiving one or more
prompt and productive replies. Pretty much everything that Matthew raised is
mentioned in the Posting Guide, too.

HTH,
Dennis

--
View this message in context: http://r.789695.n4.nabble.com/How-to-speed-up-grouping-time-series-help-please-tp3427315p3432872.html
Sent from the datatable-help mailing list archive at Nabble.com.


More information about the datatable-help mailing list