Check if your server is set to foreground server in Excel:
RExcel -> Set R server
In this dialog box you also can check if you can connect to the
foreground (rcom) or background ((D)COM) server.

The foreground server does not need the (D)COM server.
It needs rcom and rscproxy.

A minimalistic version of getting something that works is

Unistall any previous version of the (D)COM server from the control panel.

Install R
Install the packages rscproxy, rcom, and RExcelInstaller

then run the following commands

library(rcom)
comRegisterRegistry()
library(RExcelInstaller)
installRExcel()


After that, RExcel should work.



Prokaj Vilmos wrote:
> The latest rscproxy is 1.0-12. 1.0-11 is buggy. Wait for the compiled
> binary or compile yourself from sources. I could download this morning
> the source of the new version from the austrian mirror of CRAN.
> 
> 
> 
> Murray Eisenberg írta:
>> I have R 2.8.0. In its library I have the latest rcom (2.0.4) and
>> rscproxy (1.0.11) from CRAN (as of 15 minutes ago). I installed the
>> latest RExcelInstaller (3.0.5), and I still have the recently
>> installed DCOM from R_Scilab_DCOM3.0-1B1beta.exe
>>
>> When I start R it tells me that rcom and rscproxy are required
>> packages that have been loaded.  Just to make sure, I executed:
>>
>>   library(rcom)
>>   comRegisterRegistry()
>>
>> Still, when I I try "Server 01- Basic Test," I get a pop-up
>> "StatConnector Test" window. If I click the Start R button, I see:
>>
>>   Loading StatConnector Server... Done
>>   Initializing R...Function call failed
>>      Code: -2147221485
>>      Text: installation problem: unable to load connector
>>
>> and I get a separate "Test1" pop-up saying "Method '~' of object '~'
>> failed.
>>
>> And still if, from Excel's RExcel menu item I select R Start, I get a
>> pop-up saying: Could not start RServer.
>>
>> What's going on here?
>>
>>
> 
> 
> 
> ------------------------------------------------------------------------
> 
> 
> No virus found in this incoming message.
> Checked by AVG - http://www.avg.com 
> Version: 8.0.175 / Virus Database: 270.8.5/1755 - Release Date: 10/29/2008 
> 5:27 PM
> 

-- 
Erich Neuwirth, University of Vienna
Faculty of Computer Science
Computer Supported Didactics Working Group
Visit our SunSITE at http://sunsite.univie.ac.at
Phone: +43-1-4277-39464 Fax: +43-1-4277-39459
_______________________________________________
Rcom-l mailing list
Rcom-l@mailman.csd.univie.ac.at
http://mailman.csd.univie.ac.at/mailman/listinfo/rcom-l
More information (including a Wiki) at http://rcom.univie.ac.at

Reply via email to