Hi Erich, I have had a little more time to analyse why the RExcel examples are not working correctly. It seems to be associated with the worksheet functions as opposed to the macro functions.
Im getting errors in the "interactive graphics" demo because the variable x is not being read in correctly to R. The value of x in RGui turns out to be: > x [1] "RError" It would seem that the RPut worksheet function is not working correctly. Also the RApply function in the grpahics with slider example is not working. Wayne -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Erich Neuwirth Sent: 29 May 2008 14:05 To: R (D)COM and RExcel server related issues Subject: Re: [Rcom-l] RAndFriendsSetup2070V20-5 issues Do you have another demo file open at the same time? [EMAIL PROTECTED] wrote: > Hi there, > > I have just downloaded and installed the latest version of RandFriends ( > RAndFriendsSetup2070V20-5). > > It installed with no problems or error messages using Excel 2007 on both > Vista and XP machines. > > However, the RExcel examples are not working correctly on both XP and Vista. > > > FOr the RDemoRecalc I get the following pop-up error message: > > Error -2147220502 in Module RExcel.RServer > Error running expression > eval(parse(text="z<-(cor.test(xvar,yvar))")) > > > I get a similar error message with the "Interactive Graphics" demo. > > > Regards, > > Wayne > > > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of Gary > Prothero > Sent: 28 May 2008 16:07 > To: 'R (D)COM and RExcel server related issues' > Subject: RE: [Rcom-l] Evaluating NA value crashes R > > > Julien, > > I handle the NA's on the R side by resetting the NA's to my own missing > value (in my case -9999) before importing to C#. > > Gary Prothero > ProWorks Corporation > [EMAIL PROTECTED] > www.proworks.com > (541) 752-9885 ext. 1001 > > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Julien > Vanwinsberghe > Sent: Wednesday, May 28, 2008 12:53 AM > To: 'R (D)COM and RExcel server related issues' > Subject: [Rcom-l] Evaluating NA value crashes R > > Dear all, > > Evaluating "NA" value with a StatConnectorClass object > ('Robj.Evaluate("NA");' in C#) causes this error: "unexpected fatal error in > back-end implementation. release the object!". > > So my program crashes when some results that I bring back from R contain NA > values. > Is it normal? And would you have some ideas to avoid this type of error? > > Thanks, > > Julien > > _______________________________________________ > 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 > > _______________________________________________ > 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 > > > _______________________________________________ > 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 > > -- 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 _______________________________________________ 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