Closed trinker closed 10 years ago
I can see a use for it, for example if someone submits a huge file and you want it to be summarised. Here's how I see it, for a help site like SO, good display of data is important. I think what you've got here gives a good summary of lists which is better than what would be found in the base packages. I'm making some minor spelling corrections, but I think I will add it.
One note, though: in order to keep in with the theme of the package, I might rename it to sotrunc
. This means that it is easily found with the other so functions and also solves the naming problem above.
Cool, glad it could be of use.
I have added a
Truncate
function (trunc
andtruncate
are already base named functions). It may need to be cleaned up/renamed etc. It basically provides a truncated display of data.frames and matrices (and recursively in lists). It may not fit with the package though. If it doesn't my feelings will remain in tact.I checked and it passes CRAN checks.
TR