There are editors that are R aware and have some functionality along
these lines (though I don't know of any command line type). Some to
look at are the Emacs/ESS combination or Rstudio.
On Tue, May 27, 2014 at 11:10 AM, Stavros Macrakis (Σταῦρος Μακράκης)
wrote:
> Is there a pretty-printer for
Is there a pretty-printer for R data (and code for that matter), similar to
Lisp's prettyprint/grind? I've looked in CRAN, and couldn't find anything.
For example, I'd like to have:
prettyprint(list(a=1:20*2, b=list(data.frame(q = c(2,1,3),
r = c(3,1,2), s = c(1,3,2)), as.POSIXct("2014-02-03"))