[datatable-help] Detailed verbose after common data operations?
Matthew Dowle
mdowle at mdowle.plus.com
Mon Dec 13 15:10:00 CET 2010
Hi,
That's a very nice idea. Perhaps verbose could be changed from boolean to :
0 (silent by default),
1 (user messages like your suggestions)
2 (for performance tuning and advanced tracing, of the type it currently
does)
similar to the warn option in R.
Added feature request here :
https://r-forge.r-project.org/tracker/index.php?func=detail&aid=1233&group_id=240&atid=978
Matthew
"mbacou" <mel at mbacou.com> wrote in message
news:1291953200796-3081352.post at n4.nabble.com...
>
> Matt,
>
> Thanks for the suggestion. [verbose=TRUE] does provide timing for grouping
> operations, but I wonder if this could be extended to other fairly
> standard
> operations with more user-friendly messages -- and maybe using another
> argument if verbose is typically used for developers and not for
> end-users,
> or by calling another function (similar to warnings() behavior).
>
> For example:
>
> - on data.table creation
> => "DF with xx variables and yy observations indexed on {w, z}"
>
> - on index creation
> => "key created on variables x, y, z with xx unique values"
>
> - on subsetting
> => "xx observations affected"
>
> - on joining
> => "xx observations matched, yy NAs generated"
>
>
> I'm happy to hear about other users' views and suggestions here.
>
> --Mel.
>
>
> --
> View this message in context:
> http://r.789695.n4.nabble.com/Detailed-verbose-after-common-data-operations-tp3077538p3081352.html
> Sent from the datatable-help mailing list archive at Nabble.com.
More information about the datatable-help
mailing list