DescToolsOffices contains functions to produce documents using MS Word (or PowerPoint) and functions to import data from Excel, based on the functions contained in the package DescTools (https://CRAN.R-project.org/package=DescTools).
Feedback, feature requests, bug reports and other suggestions are welcome! Please report problems to GitHub issues tracker.
You can install the released version of DescToolsOffice from CRAN with:
install.packages("DescToolsOffice")And the development version from GitHub with:
if (!require("remotes")) install.packages("remotes")
remotes::install_github("AndriSignorell/DescToolsOffice")To make use of MS-Office features, you must have Office in one of its
variants installed. All Wrd*, XL* and Pp* functions require the
package RDCOMClient to be installed as well. Hence the use of these
functions is restricted to Windows systems. RDCOMClient can be
installed with:
install.packages("RDCOMClient", repos="http://www.omegahat.net/R")The omegahat repository does not benefit from the same update service as CRAN. So you may be forced to install a package compiled with an earlier version, which usually is not a problem. Use e.g. for R 4.3.x:
url <- "http://www.omegahat.net/R/bin/windows/contrib/4.2/RDCOMClient_0.96-1.zip"
install.packages(url, repos = NULL, type = "binary")RDCOMClient does not exist for Mac or Linux, sorry.
Warning: This package is still under development. Although the code seems meanwhile quite stable, until release of version 1.0 you should be aware that everything in the package might be subject to change. Backward compatibility is not yet guaranteed. Functions may be deleted or renamed and new syntax may be inconsistent with earlier versions. By release of version 1.0 the “deprecated-defunct process” will be installed.
Andri Signorell
Helsana Versicherungen AG, Health Sciences, Zurich
HWZ University of Applied Sciences in Business Administration Zurich.
R is a community project. This can be seen from the fact that this package includes R source code and/or documentation previously published by various authors and contributors. The good things come from all these guys, any problems are likely due to my tweaking. Thank you all!
Maintainer: Andri Signorell
library(DescToolsOffice)demo(describe, package = "DescToolsOffice")