Skip to content

Commit

Permalink
Added files: export package version 0.2.2
Browse files Browse the repository at this point in the history
(Chris) added files that contain the updated version of export where ReporteRs is replaced with officer + additional small changes in the R code
  • Loading branch information
tomwenseleers authored Sep 21, 2018
1 parent e1aaccb commit dd840fe
Show file tree
Hide file tree
Showing 39 changed files with 3,126 additions and 1,503 deletions.
84 changes: 50 additions & 34 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,34 +1,50 @@
Package: export
Type: Package
Title: Convert R Graphs and Statistical Output to Microsoft Office /
LibreOffice, HTML and Latex
Version: 0.2.1
Date: 2016-12-01
Authors@R: c(person("Tom", "Wenseleers", role = c("aut", "cre"),
email = "[email protected]"))
Author: Tom Wenseleers [aut, cre]
Maintainer: Tom Wenseleers <[email protected]>
Depends: R (>= 3.0)
Imports: ReporteRs, stats, utils, datasets, rtable, xtable, grDevices,
rgl, ggplot2 (>= 1.0), plyr, scales, grid, ggthemes
Suggests: lattice, latticeExtra, effects, tikzDevice, stargazer
Description: Easily export 'R' graphs and statistical output to 'Microsoft
Office' / 'LibreOffice', 'Latex' and 'HTML' Documents, using sensible defaults
that result in publication-quality output with simple, straightforward commands.
Output to 'Microsoft Office' is in editable 'DrawingML' vector format for
graphs, and can use corporate template documents for styling. This enables
the production of standardized reports and also allows for manual tidy-up
of the layout of 'R' graphs in 'Powerpoint' before final publication. Export
of graphs is flexible, and functions enable the currently showing R graph
or the currently showing 'R' stats object to be exported, but also allow the
graphs or stats output to be passed as objects. The package relies on package
'ReporteRs' for export to 'Office',and output files are also fully compatible
with 'LibreOffice'. Base 'R', 'ggplot2' and 'lattice' plots are supported, as
well as all as a wide variety of 'R' stats objects, via wrappers to 'xtable' and
'stargazer', including 'aov', 'lm', 'glm', 'lme', 'lmer', 'glmer' and 'coxph' as
well as 'ftable' and 'xtabs' cross-tabulations, matrices and data frames.
License: GPL-2
BugReports: https://github.com/tomwenseleers/export/issues
RoxygenNote: 5.0.1
NeedsCompilation: no
Packaged: 2016-11-30 23:32:55 UTC; User
Package: export
Type: Package
Title: Streamlined export of graphs and data tables.
Version: 0.2.2
Date: 2018-09-18
Authors@R: c(person("Tom", "Wenseleers", role = c("aut", "cre"),
email = "[email protected]"),
person("Christophe", "Vanderaa", role = c("aut", "ctb"),
email = "[email protected]"))
Author: Tom Wenseleers [aut, cre],
Christophe Vanderaa [aut, ctb]
Maintainer: Christophe Vanderaa <[email protected]>
Depends: R (>= 3.0)
Imports: officer (>= 0.2.2),
rvg (>= 0.1.8),
stats,
utils,
datasets,
xtable (>= 1.8-2),
grDevices,
flextable (>= 0.4.3),
rgl (>= 0.99.16),
xml2 (>= 1.2.0),
stargazer,
openxlsx (>= 4.0.17),
broom (>= 0.4.4)
Suggests: lattice,
ggplot2 (>= 1.0),
latticeExtra (>= 0.6-28),
tikzDevice
Description: Easily export 'R' graphs and statistical output to 'Microsoft
Office' / 'LibreOffice', 'Latex' and 'HTML' Documents, using sensible defaults
that result in publication-quality output with simple, straightforward commands.
Output to 'Microsoft Office' is in editable 'DrawingML' vector format for
graphs, and can use corporate template documents for styling. This enables
the production of standardized reports and also allows for manual tidy-up
of the layout of 'R' graphs in 'Powerpoint' before final publication. Export
of graphs is flexible, and functions enable the currently showing R graph
or the currently showing 'R' stats object to be exported, but also allow the
graphs or stats output to be passed as objects. The package relies on package
'officer' for export to 'Office',and output files are also fully compatible
with 'LibreOffice'. Base 'R', 'ggplot2' and 'lattice' plots are supported, as
well as a wide variety of 'R' stats objects, via wrappers to 'xtable', 'broom::tidy'
and 'stargazer', including 'aov', 'lm', 'glm', 'lme', 'lmer', 'glmer' and 'coxph' as
well as matrices and data frames and many more...
License: GPL-2
BugReports: https://github.com/tomwenseleers/export/issues
RoxygenNote: 6.0.1
NeedsCompilation: no
Packaged: 2018-09-17 15:51:05 UTC; Ento
103 changes: 56 additions & 47 deletions NAMESPACE
Original file line number Diff line number Diff line change
@@ -1,47 +1,56 @@
# Generated by roxygen2: do not edit by hand

export(graph2bitmap)
export(graph2doc)
export(graph2eps)
export(graph2jpg)
export(graph2office)
export(graph2pdf)
export(graph2png)
export(graph2ppt)
export(graph2svg)
export(graph2tex)
export(graph2tex2)
export(graph2tif)
export(graph2vector)
export(reqpackagesCRAN)
export(rgl2bitmap)
export(rgl2png)
export(table2doc)
export(table2html)
export(table2ppt)
export(table2tex)
export(table2tex2)
import(ReporteRs)
import(datasets)
import(rtable)
import(stats)
import(xtable)
importFrom(grDevices,cairo_pdf)
importFrom(grDevices,cairo_ps)
importFrom(grDevices,dev.cur)
importFrom(grDevices,dev.off)
importFrom(grDevices,dev.size)
importFrom(grDevices,jpeg)
importFrom(grDevices,pdf)
importFrom(grDevices,png)
importFrom(grDevices,postscript)
importFrom(grDevices,recordPlot)
importFrom(grDevices,svg)
importFrom(grDevices,tiff)
importFrom(rgl,rgl.cur)
importFrom(rgl,rgl.snapshot)
importFrom(utils,browseURL)
importFrom(utils,capture.output)
importFrom(utils,head)
importFrom(utils,methods)
importFrom(utils,tail)
# Generated by roxygen2: do not edit by hand

export(graph2bitmap)
export(graph2doc)
export(graph2eps)
export(graph2jpg)
export(graph2office)
export(graph2pdf)
export(graph2png)
export(graph2ppt)
export(graph2svg)
export(graph2tif)
export(graph2vector)
export(rgl2bitmap)
export(rgl2png)
export(table2csv)
export(table2csv2)
export(table2doc)
export(table2excel)
export(table2html)
export(table2office)
export(table2ppt)
export(table2spreadsheet)
export(table2tex)
import(datasets)
import(flextable)
import(officer)
import(openxlsx)
import(rvg)
import(stargazer)
import(stats)
import(xml2)
importFrom(broom,tidy)
importFrom(grDevices,cairo_pdf)
importFrom(grDevices,cairo_ps)
importFrom(grDevices,dev.cur)
importFrom(grDevices,dev.off)
importFrom(grDevices,dev.size)
importFrom(grDevices,hcl)
importFrom(grDevices,jpeg)
importFrom(grDevices,pdf)
importFrom(grDevices,png)
importFrom(grDevices,postscript)
importFrom(grDevices,recordPlot)
importFrom(grDevices,svg)
importFrom(grDevices,tiff)
importFrom(rgl,rgl.cur)
importFrom(rgl,rgl.snapshot)
importFrom(utils,browseURL)
importFrom(utils,capture.output)
importFrom(utils,head)
importFrom(utils,methods)
importFrom(utils,tail)
importFrom(utils,write.csv)
importFrom(utils,write.csv2)
importFrom(xtable,xtable)
26 changes: 26 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# export 0.2.2 Beta

### New features

* Made export use officer and flextable rather than ReporteRs and rtable, as the two latter were removed from CRAN.
* Created table2spreadsheet() to generate table in a Microsoft Excel / LibreOffice Calc file or in a CSV (using either comma or semicolon as separation)
* table2spreadsheet() and table2office() use the "broom" package additionaly to the "xtable" package which allows for more data classes to be exported as tables

### Removed features

* Removed graph2tex() as it is better to use graph2bitmap or graph2pdf and to manually insert these in the LaTex document


# export 0.2.1 Beta

### New features

* Created table2office() to generate tables in a presentation (Microsoft PowerPoint or LibreOffice) or in a document (Microsoft Word or LibreOffice) with similar behavior as graph2office().


# export 0.2.0 Beta

### New features

* Automatic selection of paper size based on graph size in MS Office export
* Added Latex export of graphs & tables
Loading

0 comments on commit dd840fe

Please sign in to comment.