Home » excel » Hooking R from within Excel – DCOM? R add in for Excel?

Hooking R from within Excel – DCOM? R add in for Excel?

Posted by: admin April 23, 2020 Leave a comment

Questions:

In the past I have used a DCOM connection to call R functions from Excel and from VBA inside of Excel. I just got a new laptop and have been looking for the install files for the R add in for Excel. I find references to it all over the place but they all point to R (D)COM Server project’s home page at http://sunsite.univie.ac.at/rcom. That URL has been down now for some time. Is there another way to get the same functionality with another method? Is there a new project page?

I’ve never tried to use the DCOM server without the Excel Add-in. Is that a possibility?

How to&Answers:

Start by installing RExcelInstaller from CRAN via

> install.packages("RExcelInstaller")

and take it from there.