tags:

views:

320

answers:

2

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?

+1  A: 

Start by installing RExcelInstaller from CRAN via

> install.packages("RExcelInstaller")

and take it from there.

Dirk Eddelbuettel
Yep, that's the way it *used* to work. I install RExcelInstaller and then try to run installstatconnDCOM() and it barfs saying "the download site http://rcom.univie.ac.at seems to be currently unreachable" The command installRExcel() results in the same response.
JD Long
Methinks you want to contact the package authors, or at least the dedicated mailing list rather than posting here. YMMV.
Dirk Eddelbuettel
Good point Dirk. I contacted Erich Neuwirth and he said they were having some server problems but they are still maintaining the project. I was able to download everything as expected this morning.
JD Long
+1  A: 

Hi,

I had exactly the same problem, found this answer, applied it and it worked. I think the server is just problematic at the moment.

I am trying this out for the first time, if you have a short example code for how to access R functionality that would be much appreciated? Thanks, GISbod.