Re: [Rcom-l] Update to R2.8.0: Can't copy Excel Worksheet

2008-10-22 Thread Thomas Baier
Erich & Christian, maybe there is a problem with optional arguments to methods. I will check this with your example. In principle, passing objects as arguments should be fine, as long as the objects are IDispatch. Thomas Erich Neuwirth schrieb: I ran your code in R 2.8.0 and it worked (did

Re: [Rcom-l] Update to R2.8.0: Can't copy Excel Worksheet

2008-10-22 Thread Erich Neuwirth
I ran your code in R 2.8.0 and it worked (did not crash but it ptobably also did not do what you wanted. Please explain what you want. Did you install the version of rcom compiled for R-2.8.0? Did you run comRegisterRegistry() after installing the new version? Christian Asseburg wrote: > Dear

RE: [Rcom-l] Memory problems: cannot allocate vector of size 979 Kb

2008-10-22 Thread Igor Mariash
Thomas The problem can be easily recreated, though machine with >2GB of ram is needed. 1. Open RGUI 2. Execute the following R-commands tata1 <- matrix(0.02, ncol=200, nrow=15) tata2 <- matrix(0.02, ncol=200, nrow=15) tata3 <- matrix(0.02, ncol=200, nrow=15) tata4 <- matrix(0.02, nco

Re: [Rcom-l] Update to R2.8.0: Can't copy Excel Worksheet

2008-10-22 Thread Christian Asseburg
Dear Wayne, thanks, I might have to do that. I noticed that R 2.8.0 also crashes with a command like Chartobject$SetSourceData(Source=range, PlotBy=plotby.value) so I suspect that the crash has something to do with passing rcom objects as arguments to rcom functions. With best wishes - . .

[Rcom-l] Graphics in VB6

2008-10-22 Thread jagadish patra
Hello *I need visual basic in front end and R in background.* For this I installed R-(D)COM server . I am developing for winXP OS. Is this the best option? I have successfully implemented in data transfer part, but I have some query to graphics

RE: [Rcom-l] Update to R2.8.0: Can't copy Excel Worksheet

2008-10-22 Thread Wayne.W.Jones
Hi Christian, There are some big changes to R in version R 2.8.0. Apparently some of the dll files in the core R distribution have changed and rcom hasnt been updated to accomodate these yet (Erich, Thomas correct me if I am wrong). I would revert back to R.7.2 for now. Regards, Wayne --

[Rcom-l] Update to R2.8.0: Can't copy Excel Worksheet

2008-10-22 Thread Christian Asseburg
Dear RCOM list - I've been using rcom since R version 2.5.1 to read and manipulate workbooks in Excel. It's great to have this facility with rcom and R! The following lines in my code worked fine with up to R 2.7.2 but in R 2.8.0 they result in a crash of R. Does anyone know why, and how to

RE: [Rcom-l] Memory problems: cannot allocate vector of size 979 Kb

2008-10-22 Thread Igor Mariash
Thomas Unfortunatly we cannot send any data outside, but I will try to replicate matrix with the random information. Cheers, Igor -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Thomas Baier Sent: 22 October 2008 08:30 To: R (D)COM and RExcel server rel

Re: [Rcom-l] Memory problems: cannot allocate vector of size 979 Kb

2008-10-22 Thread Thomas Baier
Igor, Igor Mariash schrieb: Hello I am trying to load a big workspace via R(D)Com. The operation is failing with the following error: cannot allocate vector of size 979 Kb. Exception is thrown on every run just before process memory is about to reach 2GB. The same operation via RGUI is worki

Re: [Rcom-l] Excel Scilab link

2008-10-22 Thread Thomas Baier
Dear Mathieu, Mathieu Pivaut schrieb: I recently update scilbab 4... to version 5.0.2 and reinstalled the R Dcom server and the sciproxi.dll file into the bin directory of scilab. Unfortunately, all my Excel worksheets don't work anymore. I get the following error : err -2147221485 The meth