Dear John,

I found the following possible reason. I don't use the latest version, but in a similar manner you can find the reason. Rexcel defines a few form, which you can inspect through the VBA editor. One of these forms is the serverform. On this form the setserverfromregistry subroutine sets the enabled field of the bottons of the form. For the backgroundbutton, the one which is grayed, the LocalBackgroundServerAvailable() function is used. It is defined in the Registry module, and as you can expect it reads a registry entry. So one possible reason is that the rcom server is not registered in the registry. You can do that by starting the R console, loading the rcom package, and issuing the comRegisterRegistry() command in the R console window. To do that you need the appropriate right.
I hope this will help.

Best wishes
    Vilmos

John Logsdon írta:
I posted this a month ago now. Does anyone have an idea why R won't run in background?
----------  Forwarded Message  ----------

Subject: [Rcom-l] Offline installation
Date: Friday 19 Sep 2008
From: John Logsdon <[EMAIL PROTECTED]>
To: rcom-l@mailman.csd.univie.ac.at

I had to install RExcel etc on an offline box - for company reasons they want it completely isolated! The version is the latest RExcel 3.0-1, rcom 1.5-2.2 RSrv250 (although I don't really need this) on R 2.7.2 and Excel 2003 on XP Home.

After getting all the bits and pieces, it did install OK by trial and error except I can't make it work with R in background - this option is greyed out.

Is there a trick - one of the many macros that can be called - that can enable this?

Best wishes

John

John Logsdon                               "Try to make things as simple
Quantex Research Ltd, Manchester UK         as possible but not simpler"
[EMAIL PROTECTED]              [EMAIL PROTECTED]
+44(0)161 445 4951/G:+44(0)7717758675       www.quantex-research.com
_______________________________________________
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

-------------------------------------------------------



--
Vilmos Prokaj
Eötvös Loránd University,
Department of Probability and Statistics
Pázmány Péter sétány 1/C
Budapest, 1117
Hungary

e-mail:[EMAIL PROTECTED]
_______________________________________________
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