[R] Formatting column displays
br at dmstat1.com
Fri May 5 23:50:03 CEST 2017
I cannot install the ReporteR package. Is there a work-around, or is the
error message correct?
R> install.packages("ReporteR") Installing package into
‘C:/Users/BruceRatner/Documents/R/win-library/3.3’ (as ‘lib’ is
unspecified) Warning in install.packages :
package ‘ReporteR’ is not available (for R version 3.3.3)
Jeff Newmiller wrote:
> Data frames are primarily data storage objects, not data display objects. You can create a separate version of your data frame with formatted text strings, but what you usually really want is to handle column alignment as well and that really has to be addressed as part of your data output process, which you have said nothing about.
> Do you know about HTML or markdown or LaTeX? These are useful formats for creating reproducible research, and they are well supported through the knitr package and in RStudio via Rnw and Rmd files. Tables in particular are well supported via LaTeX with the tables package. The ReporteR package can output to Microsoft Word files directly with various formatting options, but it doesn't play well with the other tools.
More information about the R-help