13

I´m trying to install the RDCOMClient package in rstudio in order to use the R2PPT package to create power point presentations.

I search and the instruction to install RDCOMClient package is:

install.packages("RDCOMClient", repos = "http://www.omegahat.org/R")

The problem is that the reposotory webpage is not available anymore.

does anyone know how to install the RDCOMClient or use R2PPT without RDCOMClient package?

RafaelCacho
  • 133
  • 1
  • 1
  • 5

5 Answers5

15

You can install it from github

https://github.com/omegahat/RDCOMClient

library("devtools")
install_github('omegahat/RDCOMClient')

should work.

Florian
  • 597
  • 3
  • 9
  • I'm getting an error that this requires Rtools. I've installed RTools but then get build errors. (I'm trying to use the new Visual Studio R extension) – winwaed Sep 14 '16 at 15:15
  • I can't even install Rtools: Warning in install.packages : package ‘Rtools’ is not available (for R version 3.5.0) – lawyeR Apr 29 '18 at 13:26
  • Rtools is just a collection of tools like mingw, ... for Windows. You can obtain it from https://cran.r-project.org/bin/windows/Rtools/ and install it via the installer (.exe) file. – Florian Nov 23 '18 at 00:29
14

To those struggling to install RDCOMClient with the warning:

package ‘RDCOMClient’ is not available (for R version 3.5.0)

Remember to explicitly set the repo to load from the omegahat source (as opposed to the default CRAN location):

install.packages("RDCOMClient", repos = "http://www.omegahat.net/R")

Note the OP used the old website as repo source.

Nick
  • 3,262
  • 30
  • 44
2

I also could install it from CRAN with R 3.4 but with a computer stuck with R 3.3.1 I had error:

package ‘RDCOMClient’ is not available (for R version 3.3.1)

It's undocumented on CRAN so I tried OmegaHat and got

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

Then I followed @g-grothendieck 's link in this post this post's comments and found a version I could install manually :

http://www.stats.ox.ac.uk/pub/RWin/bin/windows/contrib/3.3/

You can find every version there.

moodymudskipper
  • 46,417
  • 11
  • 121
  • 167
1

A little late to the game, but have you tried running just: install.packages("RDCOMClient") It lives on CRAN in both 32 and 64 bit versions but isn't documented...

  • 2
    > install.packages("RDCOMClient") Installing package into ‘C:/Users/R/Documents/R/win-library/3.5’ (as ‘lib’ is unspecified) Warning in install.packages : package ‘RDCOMClient’ is not available (for R version 3.5.0) – lawyeR Apr 29 '18 at 13:23
0

Today I ran into the same problem, on R 4.0.3, and this worked for me:

remotes::install_github("BSchamberger/RDCOMClient", ref = "main")