
Dear R-help,

Call RInterface.StartRServer      ' Works fine
Call RInterface.RRun("objects()")		' Works fine
Call Rinterface.RRun( other R commands which do not generate errors, the
demos etc ) 	  ' Works fine
But ...
Call RInterface.RRun("doesnotexist")	' Sends Excel into endless loop it
appears

After about 90 seconds a dialog box appears  "Microsoft Excel is waiting for
another application to complete an OLE action".  Click OK then it hangs for
another minute or so, and displays the dialogue again. Task manager is
required to kill Excel.  I rebooted to ensure only Excel is running, so
there should be no conflicts with any other app, but the same error is
repeatable. In this case I was expecting the R error "Object "doesnotexist"
not found" be passed back into Excel, either as a dialogue box in Excel, or
available to VBA using a GetRError function or something?

I hope someone can help, or point me in the right direction.

Info from "About RExcel" :

RExcel version 1.35
RDCOM server 1.35
R system software: Version 2.0.0
Microsoft Excel 10.0
Windows NT 5.01

> version
         _              
platform i386-pc-mingw32
arch     i386           
os       mingw32        
system   i386, mingw32  
status   beta           
major    2              
minor    0.0            
year     2004           
month    09             
day      28             
language R              
> 

Many thanks,
Matthew





	[[alternative HTML version deleted]]


