DescTools package output to word document

730 views Asked by At

I am having trouble with outputting results using DescTools package to word document. Anybody was able to get output saved in a word document as intended in the package? I get the following error. Thank you in advance.

wrd<-GetNewWrd()

Loading required package: RDCOMClient Failed with error: ‘package ‘RDCOMClient’ was built before R 3.0.0: please re-install it’ Error: require(RDCOMClient) is not TRUE

library(RDCOMClient)

Error: package ‘RDCOMClient’ was built before R 3.0.0: please re-install it

sessionInfo() R version 3.1.0 (2014-04-10) Platform: x86_64-w64-mingw32/x64 (64-bit)

locale: [1] LC_COLLATE=English_Canada.1252 LC_CTYPE=English_Canada.1252 LC_MONETARY=English_Canada.1252 [4] LC_NUMERIC=C LC_TIME=English_Canada.1252

attached base packages: [1] stats graphics grDevices utils datasets methods base

other attached packages: [1] DescTools_0.99.8.1

loaded via a namespace (and not attached): [1] boot_1.3-11 tcltk_3.1.0 tools_3.1.0

I installed RDCOMClient with no errors.

install.packages("//tsclient/D/user1/R packages/RDCOMClient_0.93-0.zip", repos = NULL)

Installing package into ‘C:/Users/user1/Documents/R/win-library/3.1’ (as ‘lib’ is unspecified) package ‘RDCOMClient’ successfully unpacked and MD5 sums checked

library(RDCOMClient)

Error: package ‘RDCOMClient’ was built before R 3.0.0: please re-install it

1

There are 1 answers

5
Gregor Thomas On BEST ANSWER

Downloading the source .tar.gz files from the RDCOM website, I was able to install the package by uncompressing the files and then using devtools::install. I'm a little out of date, using R 3.1.0, but it looks like you are too, so it should work as well.