export
R package for streamlined export of graphs and data tables.
Science Score: 26.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (13.7%) to scientific vocabulary
Repository
R package for streamlined export of graphs and data tables.
Basic Info
Statistics
- Stars: 196
- Watchers: 12
- Forks: 37
- Open Issues: 6
- Releases: 1
Metadata Files
README.md
export version 0.3.0
export is an R package to easily export active R graphs and statistical output in publication quality to Microsoft Office (Word, PowerPoint and Excel), HTML and Latex.
Features
- Save active R graphs or ggplot2, lattice or base R plots in publication quality to Microsoft Word, Powerpoint, or various other bitmap or vector formats using a single command with sensible defaults.
- Fully editable Powerpoint vector format output, enabling manual tidy-up of plot layout.
- Save the output of statistical analysis in R as tables in Excel, Word, PowerPoint, Latex or HTML documents.
- Customize formatting of R outputs.
Installation
The export package works cross-platform on Windows, Ubuntu & Mac. Some Mac distributions though do not have the cairo device installed by default, and this is required by the export package. This problem is solved if Mac users first install XQuartz, which is available for free from https://www.xquartz.org/.
You can report bugs at http://github.com/tomwenseleers/export/issues. If you report a bug, try to send a reproducible example and don't forget to send the result of
r
sessionInfo()
Official CRAN release
Get the latest official release from CRAN:
r
install.packages("export")
Github development version
Get the latest development version:
r
install.packages("officer")
install.packages("rvg")
install.packages("openxlsx")
install.packages("ggplot2")
install.packages("flextable")
install.packages("xtable")
install.packages("rgl")
install.packages("stargazer")
install.packages("tikzDevice")
install.packages("xml2")
install.packages("broom")
install.packages("devtools")
devtools::install_github("tomwenseleers/export")
Getting Started
```r library(export)
?graph2ppt ?graph2doc ?graph2svg ?graph2png ?table2ppt ?table2tex ?table2excel ?table2doc ?table2html
export of ggplot2 plot
library(ggplot2) qplot(Sepal.Length, Petal.Length, data = iris, color = Species, size = Petal.Width, alpha = I(0.7))
export to Powerpoint
graph2ppt()
graph2ppt(file="ggplot2_plot.pptx", aspectr=1.7)
add 2nd slide with same graph 9 inches wide and A4 aspect ratio
graph2ppt(file="ggplot2_plot.pptx", width=9, aspectr=sqrt(2), append=TRUE)
add 3d slide with same graph with fixed width & height
graph2ppt(file="ggplot2_plot.pptx", width=6, height=5, append=TRUE)
export to Word
graph2doc()
export to bitmap or vector formats
graph2svg() graph2png() graph2tif() graph2jpg()
export of aov Anova output
fit=aov(yield ~ block + N * P + K, npk) x=summary(fit)
export to Powerpoint
table2ppt(x=x) table2ppt(x=x,file="tableaov.pptx") table2ppt(x=x,file="tableaov.pptx",digits=4,append=TRUE) table2ppt(x=x,file="table_aov.pptx",digits=4,digitspvals=1, font="Times New Roman",pointsize=16,append=TRUE)
export to Word
table2doc(x=x)
export to Excel
table2excel(x=x, file = "tableaov.xlsx",digits=4,digitspvals=1, sheetName = "Anovatable", add.rownames = TRUE)
export to Latex
table2tex(x=x)
export to HTML
table2html(x=x) ```
License
The export package is licensed under the GPLv2.
Owner
- Name: Tom Wenseleers
- Login: tomwenseleers
- Kind: user
- Location: Leuven, Belgium
- Company: University of Leuven
- Website: https://bio.kuleuven.be/ento/wenseleers/twenseleers.htm
- Repositories: 5
- Profile: https://github.com/tomwenseleers
GitHub Events
Total
- Issues event: 1
- Watch event: 6
- Issue comment event: 3
- Push event: 3
- Pull request event: 6
- Fork event: 2
Last Year
- Issues event: 1
- Watch event: 6
- Issue comment event: 3
- Push event: 3
- Pull request event: 6
- Fork event: 2
Issues and Pull Requests
Last synced: 10 months ago
All Time
- Total issues: 50
- Total pull requests: 12
- Average time to close issues: 6 months
- Average time to close pull requests: 15 days
- Total issue authors: 45
- Total pull request authors: 6
- Average comments per issue: 3.58
- Average comments per pull request: 0.92
- Merged pull requests: 9
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 2
- Pull requests: 5
- Average time to close issues: 2 days
- Average time to close pull requests: about 12 hours
- Issue authors: 2
- Pull request authors: 1
- Average comments per issue: 0.5
- Average comments per pull request: 0.6
- Merged pull requests: 4
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- lincj1994 (3)
- noatrs (2)
- hammao (2)
- ThomasR099 (2)
- bingyu19821270 (1)
- Shaneyyj (1)
- alexmufeq (1)
- M-Schreurs (1)
- melaniegrieb (1)
- jchap14 (1)
- User1122334 (1)
- boral (1)
- carlmcqueen (1)
- xjin15 (1)
- niszet (1)
Pull Request Authors
- jonathon-love (10)
- tomwenseleers (3)
- davidgohel (1)
- cvanderaa (1)
- xuzhougeng (1)
- andrewbaxter439 (1)
Top Labels
Issue Labels
Pull Request Labels
Packages
- Total packages: 1
-
Total downloads:
- cran 2,563 last-month
- Total dependent packages: 0
- Total dependent repositories: 1
- Total versions: 4
- Total maintainers: 1
cran.r-project.org: export
Streamlined Export of Graphs and Data Tables
- Documentation: http://cran.r-project.org/web/packages/export/export.pdf
- License: GPL-2
-
Latest release: 0.3.2
published 10 months ago
Rankings
Maintainers (1)
Dependencies
- R >= 3.0 depends
- broom >= 0.4.4 imports
- datasets * imports
- devEMF >= 3.8 imports
- flextable >= 0.4.3 imports
- grDevices * imports
- officer >= 0.2.2 imports
- openxlsx >= 4.0.17 imports
- rgl >= 0.99.16 imports
- rvg >= 0.1.8 imports
- stargazer >= 5.2.1 imports
- stats * imports
- utils * imports
- xml2 >= 1.2.0 imports
- xtable >= 1.8 imports
- ggplot2 >= 1.0 suggests
- actions/checkout v3 composite
- r-lib/actions/check-r-package v2 composite
- r-lib/actions/setup-pandoc v2 composite
- r-lib/actions/setup-r v2 composite
- r-lib/actions/setup-r-dependencies v2 composite