Re: [Rcom-l] Background server (RExcelForRCOM.xls)

2008-12-02 Thread Thomas Baier
Felipe Carrillo schrieb: Hi Erich,Thomas: My background server still doesn't work. If I click on RExcel >> Set R server >> and select Server type = Background and then click on the command button below "Save" should be enough to to set the background or do I need to click on "Configure R serve

Re: [Fwd: Re: [Rcom-l] Background server doesn't work]

2008-12-01 Thread Thomas Baier
Felipe Carrillo schrieb: Ok Thomas. In which order Am I suppossed to install the programs? 1.- R 2.- R_Scilab_DCOM3.0-1B5.exe 3.- RExcel (from R, installRExcel()) Correct? Yes. I'm still missing the output of DbgView. I'm afraid, we cannot help you, if you don't provide the requested infor

[Fwd: Re: [Rcom-l] Background server doesn't work]

2008-12-01 Thread Thomas Baier
Felipe, please leave the reply address unchanged, so replies will go to the list Original-Nachricht Betreff: Re: [Rcom-l] Background server doesn't work Datum: Mon, 01 Dec 2008 22:19:20 +0100 Von: Thomas Baier <[EMAIL PROTECTED]> An: [EMAIL PROTECTED] Referenz

Re: [Rcom-l] Background server doesn't work

2008-12-01 Thread Thomas Baier
Felipe, Felipe Carrillo schrieb: Hi: I just downloaded the new version R_Scilab_DCOM3.0-1B5.exe and followed the instructions: "After installation of Scilab, and R/Scilab (D)COM Server, please copy sciproxy.dll from the "Scilab" folder of the R/Scilab (D)COM Server installation directory to t

Re: [Rcom-l] R (D)COM Server

2008-12-01 Thread Thomas Baier
Christoph Hamer schrieb: Hi, i am interested in using R, Rexcel and an extra insurance package (either reserving or Chainladder). Unfortunately I was not able to find the exe of the compulsory R (D)COM Server. The only thing i can find is a not working link to http://rcom.univie.ac.at/downlo

Re: [Rcom-l] Advice on using .NET with R(COM)

2008-12-01 Thread Thomas Baier
Alex, Alex Park schrieb: 1) Is using Visual Basic the best choice or are there significant advantages of using C# or C++ within .NET? For example, are there performance advantages of using C++ over VB when it comes to processing large amounts of data, and especially if there are lots of loops in

Re: [Rcom-l] crash of R when setting cell value to numeric(0) using rcom

2008-11-25 Thread Thomas Baier
Dear Vilmos, Vilmos Prokaj schrieb: The following code can crash the R session require(rcom) Loading required package: rcom Loading required package: rscproxy XL<-comGetObject("EXCEL.application") XL[["activecell"]][["value"]] [1] NA XL[["activecell"]][["value"]]<-numeric(0) Of course no

Re: [Fwd: Re: [Rcom-l] Building R(D)Com Web Application experiences]

2008-11-21 Thread Thomas Baier
Wayne, [EMAIL PROTECTED] schrieb: THanks for the help in retrieving a server under shared use. In the VB code example: RServerManager.ServerPool.Item("MyR").Server.EvaluateNoReturn("plot(x)") Is this retrieving a server for shared use or is it doing something different? It is for shared u

[Fwd: Re: [Rcom-l] Building R(D)Com Web Application experiences]

2008-11-20 Thread Thomas Baier
Hi Wayne, [EMAIL PROTECTED] schrieb: Hi Thomas & fellow R(D)Com users, Thanks for the excellent suggestion of using RserverManager. This would seem to be exactly what I need! I have managed to get an example in VBA working (See VBA code at bottom of email). However, when I try to run a corr

Re: [Rcom-l] Building R(D)Com Web Application experiences

2008-11-19 Thread Thomas Baier
Dear Wayne, [EMAIL PROTECTED] schrieb: One method of doing this is to define a static StatConnector class in C# see for example:_ ___ but I certainly don't think this would be a recommended approach! Alternatively I could store the instance of the

Re: [Rcom-l] MiKTeX.session

2008-11-14 Thread Thomas Baier
Gabor, Gabor Grothendieck schrieb: Thanks. Are there any plans to address this? Unfortunately not yet. Not many (disp)interfaces are using out-only parameters and VT_RECORD. I've added both features to my list, though, but currently I cannot provide a date for this to become available.

[Rcom-l] new version of R/Scilab (D)COM Server is out

2008-11-09 Thread Thomas Baier
Dear list, the new version 3.0-1B5 of R/Scilab (D)COM Server is out. Please download the setup file from http://rcom.univie.ac.at/download/current/ This version is fully compatible with R 2.7.2 or later and Scilab 5.0 or later. For use with R, the package rscproxy should be installed from C

[Rcom-l] Re: r (d)com server

2008-11-05 Thread Thomas Baier
Christophe, christophe dutang schrieb: Thanks for your quick answer. I'm happy to know an up-to-date version of the (d)com server. will the next version be backward compatible? and if not what will the features unsupported? The interface to COM clients has not changed and hopefully never wi

[Rcom-l] Re: r (d)com server

2008-11-04 Thread Thomas Baier
Christophe, please post future questions to the list, because this information could be interesting for other users, too. christophe dutang schrieb: Hello Thomas, Following your post on an R forum saying " R/Scilab (D)COM Server 2.50 will not work with R 2.8.0. Unfortunately

Re: [Rcom-l] Feedback on R DCOM server (solved)

2008-11-04 Thread Thomas Baier
Dieter, thanks for your message. I'm sure, this will help other users debugging and solving first setup problems. Best, Thomas P.S.: Hope to see you next year in Rennes... Dieter Menne schrieb: In case someone else hast the similar problem: First, the link on http://mailman.csd.univie.a

Re: [Rcom-l] Counmarshalinterface and datetime once more

2008-11-02 Thread Thomas Baier
Dear Vilmos, Prokaj Vilmos schrieb: I downloaded the new version, thanks for incorporating the changes to the main stream. I still see a possible error in the bdx_com.c file, although it did not cause any problem to me. The other portion of the code using counmarshalinterface of windows api is

Re: [Rcom-l] status RExcel, rcom, rscproxy, R2.8.0: confused still

2008-10-31 Thread Thomas Baier
Murray, Murray Eisenberg schrieb: 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

Re: [Rcom-l] Passing a COM object pointer does not work in the new rcom package

2008-10-29 Thread Thomas Baier
Dear Vilmos, thanks for your mails and the very good analyses of the problem(s). I've prepared a version of rscproxy including fixes for both problems. The new version of rscproxy should be available from CRAN soon. The following code (slightly changed your code) now works: XL<-comGetObjec

Re: [Rcom-l] Excel Scilab link

2008-10-26 Thread Thomas Baier
Mathieu, Mathieu Pivaut schrieb: Hello Thomas, I tried using the new sciproxy.dll file you gave, and also using the new version of the R/Scilab DCOM: R_Scilab_DCOM3.0-1B1beta.exe When I open my Excel worksheets now I have this kind of error : /Microsoft Visual C++ Runtime Library Program: c:

Re: [Rcom-l] MISSING RCOM 1.0 Type Library

2008-10-25 Thread Thomas Baier
Murray Eisenberg schrieb: Just what do you mean by "RSrv250.exe won't work"? What about RSrv250_pl1.exe? Or must I go back to the older RSrv135.exe? (And what is RSrv250.exe for?) And where does rproxy.dll come from? R itself? (D)COM? Sorry, but although these questions' answers may be obv

Re: [Rcom-l] MISSING RCOM 1.0 Type Library

2008-10-25 Thread Thomas Baier
Murray Eisenberg schrieb: Here's an excerpt from the DbgView capture: [3176] looking up 0 registry key at "HKCR\Software\R-core\R\InstallPath" [3176] looking up 0 registry key at "HKLM\Software\R-core\R\InstallPath" [3176] loading "D:\Stat\R\R-2.8\bin\rproxy.dll [3176] load proxy librar

Re: [Rcom-l] MISSING RCOM 1.0 Type Library

2008-10-25 Thread Thomas Baier
Murray, Murray Eisenberg schrieb: I just did that: 1. Removed existing rcom in library 2. Opened R Console & installed rcom from CRAN (via Packages > Install package(s). rcom is installed in the library location pointed to by R_LIBS=d:/Stat/R/myRlib which is set in my .Renviron file

Re: [Rcom-l] Problems with matlab and R/Scilab (D)COM Server 3.0 Beta

2008-10-25 Thread Thomas Baier
J. Miguel Marin schrieb: Hello, the option with rcom does work if I open at the same time R while I am working with matlab. But with the other option with R(D)COM, I obtain R_handle=actxserver('StatConnectorSrv.StatConnector'); R_handle.Init('R'); ??? Invoke Error, Dispatch Exception: No se

Re: [Rcom-l] MISSING RCOM 1.0 Type Library

2008-10-24 Thread Thomas Baier
Murray Eisenberg schrieb: With R-2.8 installed under Windows XP, I installed (D)COM, specifically using RSrv250.exe. Something's wrong in the configuration. Please read at least the previous 3-5 postings on the list... with the message that this is should be in Location: C:\PROGRA~2\R\R-

Re: [Rcom-l] Problems with matlab and R/Scilab (D)COM Server 3.0 Beta

2008-10-24 Thread Thomas Baier
J. Miguel Marin schrieb: Hello colleagues, I am afraid that matlab and R conection does not work now: R_handle=actxserver('StatConnectorSrv.StatConnector'); R_handle.Init('R'); ??? Invoke Error, Dispatch Exception Which error code, please. Does DbgView tell us anything? The same proble

[Rcom-l] R/Scilab (D)COM Server 3.0 Beta is out

2008-10-24 Thread Thomas Baier
Friends, as you already know, R 2.8.0 will not work with R/Scilab (D)COM Server 2.5 any more. The reason for this was a major rework of the components building the glue between the (D)COM Server and R. The new version of R/Scilab (D)COM Server is available for testing. This version should wo

Re: [Rcom-l] newbie question

2008-10-24 Thread Thomas Baier
Maxie Maultsby schrieb: SorryR version 2.8.0, (D)COM Server version 2.50 and RExcel version 1.75. R (D)COM Server won't work with R 2.8.0. Please use the previous version or try R/Scilab (D)COM Server 3.0. The beta version will be available tomorrow. Watch rcom-l for an announcement. T

Re: [Rcom-l] newbie question

2008-10-24 Thread Thomas Baier
Maxie Maultsby schrieb: To try to access R from .NET/C#, I followed the instructions laid out on Jeff Cromwell's "The R Statistical Language and C#.NET: Foundations" article here... http://www.codeproject.com/KB/cs/RtoCSharp.aspx. So I've installed both R and R(D) COM interface (from cran.r-

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] 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

Re: [Rcom-l] Meaningful errors via R(D)COM

2008-10-17 Thread Thomas Baier
Igor Mariash schrieb: Thomas I have found http://rcom.univie.ac.at/download/Tutorial/EmbeddingR_Tutorial.pdf StringLogDevice is working, thanks Can you please elaborate a bit about "0x8004000B is an interface-specific code.", which documentation would be helpful to read? e.g. http://rcom.un

Re: [Rcom-l] Meaningful errors via R(D)COM

2008-10-17 Thread Thomas Baier
Igor, Igor Mariash schrieb: For some reason, pretty much any failed R command is resulting in the exception Exception Object is static; operation not allowed (Exception from HRESULT: 0x8004000B (OLE_E_STATIC)) 0x8004000B is an interface-specific code. Sometimes, so I hope, this will lead

[Rcom-l] Re: R(D)COM server error under R 2.8.0 alpha

2008-10-17 Thread Thomas Baier
Ming-Chung Li schrieb: At 12:38 PM 10/16/2008, you wrote: Ming-Chung Li schrieb: Dear Thomas, After installing the R 2.8.0 beta, the '(D)COM Server\samples\Simple.exe' for statconnector test failed. It gives me an error message Method '~' of object '~' failed. The statconnector test works on

Re: [Rcom-l] A question or a bug about x<-c(TRUE,FALSE,NA)

2008-10-12 Thread Thomas Baier
Hi Qiaohj, [EMAIL PROTECTED] schrieb: > and there is another good news. My first child was born three days ago. congratulations and welcome to our rcom family :) Thomas ___ Rcom-l mailing list Rcom-l@mailman.csd.univie.ac.at http://mailman.csd.univie.

Re: [Rcom-l] A question or a bug about x<-c(TRUE,FALSE,NA)

2008-10-12 Thread Thomas Baier
Hi, Qiao Hui-jie schrieb: I know the meaning of "error 2042 "&" -2146826246" is "NA". What confused me is if i execute the command " x<-c(TRUE,FALSE,NA)", the first returned value is "FALSE" but not "TRUE" in both VB6.0 and C#3.5 this is the test code Set r = CreateObject("StatConnectorSrv.S

Re: [Rcom-l] A question or a bug about x<-c(TRUE,FALSE,NA)

2008-10-09 Thread Thomas Baier
Hi, Thanks for your patience. I apologize for my shabby English. I have another question. 1. I execute x<-c(NA,NA) through the funtion of "EvaluateNoReturn". 2. Evaluate("x") the application can return the right value whose type is "object[]", and mode(x)="logical" but if i execute x<-c(NA)

Re: [Rcom-l] R-PLUS 3.3 uses R-DCOM

2008-10-08 Thread Thomas Baier
Jim, jim greensberg schrieb: I got an email from XLSolutions Corp (www.xlsolutions-corp.com ) and they announced R-PLUS 3.3 a www.Experience-Rplus.com . I think this might be helpful for R-DCOM beginner users. This s

Re: [Rcom-l] A question or a bug about x<-c(TRUE,FALSE,NA)

2008-10-08 Thread Thomas Baier
Qiao Hui-jie schrieb: I know the meaning of "error 2042 "&" -2146826246" is "NA". What confused me is if i execute the command " x<-c(TRUE,FALSE,NA)", the first returned value is "FALSE" but not "TRUE" in both VB6.0 and C#3.5 this is the test code Sorry, I just answered too early (or better:

Re: [Rcom-l] A question or a bug about x<-c(TRUE,FALSE,NA)

2008-10-08 Thread Thomas Baier
Qiao Hui-jie schrieb: in R, I type in this command x<-c(TRUE,FALSE,NA) then it returns the correct response "TRUE,FALSE,NA" When i use it in both VB6.0 and C#, the function Evaluate() will return an array of object, and the values in it is "false","false","error 2042(in vb) / -2146826246(in c#)

Re: [Rcom-l] Help for a Beginner please

2008-10-07 Thread Thomas Baier
Lynne, Irvine, Lynne schrieb: Dear Thomas, Thanks for the speedy reply, your help is much appreciated. What I would like to do is to set up a mechanism for dynamically displaying graphs created using R, from data held in an Oracle database. I am using VB.NET to build the application. So far,

Re: [Rcom-l] Internet proxies

2008-10-07 Thread Thomas Baier
Hi Wayne, [EMAIL PROTECTED] schrieb: I have also come across this issue. There are a few potential fixes depending on how you are using R(D)Com. 1) When you install R choose custom instalation and select the --internet 2 option! This will use --internet2 option everytime you start R. Erich o

Re: [Rcom-l] Help for a Beginner please

2008-10-06 Thread Thomas Baier
Dear Lynne, please elaborate on what your code should do, and what it is doing. Thomas Irvine, Lynne schrieb: I think R is great and I would really like to use it generate graphics from my VB.NET application, but I am having a really hard time trying to get it work. It appears to run ok, but I

Re: [Rcom-l] C++ & R: Displaying a lattice graphic using D Com

2008-09-26 Thread Thomas Baier
Noel Mulvihill schrieb: When I modify the MFC sample (using the statconnector graphics device) to show a lattice graph in the Active X control (actually the wireframe from http://addictedtor.free.fr/graphiques/graphcode.php?graph=40 ) the program runs without generating any errors, but the data-

Re: [Rcom-l] help(Rcom server)

2008-09-18 Thread Thomas Baier
Bryan, [EMAIL PROTECTED] schrieb: I chose to use C#.NET for the interface language to build some financial application with the R packages.Since there was not a .NET component bundled with R, I used the R-(D) COM interface for the automation. There have two questions to ask you: 1) Conn

Re: Fwd: Re: [Rcom-l] Using SciLab with R

2008-09-13 Thread Thomas Baier
J. Miguel Marin schrieb: J. Miguel Marin schrieb: I hoped before, that something like sl<-comCreateObject("matlab.Application") should work with SciLab (e.g. "SciLab.Application") But as R> sl<-comCreateObject("STATCONNECTORSRV.StatConnector") sl attr(,"class") [1] "COMObject" R> comInvoke(

Re: [Fwd: Re: [Rcom-l] Using SciLab with R]

2008-09-13 Thread Thomas Baier
Hello, excuse for my insistence. I have only a little experience in MatLab, so I am not an expert. If I write sl<-comCreateObject("STATCONNECTORSRV.StatConnector") it works but comInvoke renders "NULL" In my example, I can see comInvoke to be called 4 times. Only the one I'm assigning to y sh

[Fwd: Re: [Rcom-l] Using SciLab with R]

2008-09-13 Thread Thomas Baier
Original-Nachricht Betreff: Re: [Rcom-l] Using SciLab with R Datum: Fri, 12 Sep 2008 22:33:04 +0200 Von: J. Miguel Marin <[EMAIL PROTECTED]> An: Thomas Baier <[EMAIL PROTECTED]> Referenzen: <[EMAIL PROTECTED]><48CA9F7C. [EMAIL PROTECTED]><[EMAIL P

Re: [Rcom-l] Using SciLab with R

2008-09-12 Thread Thomas Baier
J. Miguel Marin schrieb: > Hello Thomas, > > thank you very much for your quick help, but when I write the code I obtain NULL's: > > R> sl<-comCreateObject("STATCONNECTORSRVLib.StatConnector") > R> sl NULL > R> comInvoke(sl,"Init","Scilab") > NULL OK ok, I told you, its untested :) This one wor

Re: [Rcom-l] Using SciLab with R

2008-09-12 Thread Thomas Baier
J. Miguel, J. Miguel Marin schrieb: I assume that the Scilab part of D(COM) is for using it with Excel. But I think it would be very valuable to connect, as in the case of MatLab, R with free software as Octave or SciLab. No, the Scilab part is for connecting _any_ application with Scilab. To

Re: [Rcom-l] Question

2008-09-11 Thread Thomas Baier
Laszlo, [EMAIL PROTECTED] schrieb: Hi, how are you? I have installed R 2.6.2 and RSrv135 and Excel 9.0.2812. If I choise the RExcel.Demo_Worksheets.DataTransfer and try to the examples, it do not put this arrays, because the get takes RError. please try the current versions of R and the DCOM-S

Re: [Rcom-l] FollowUp: R/Scilab (D)COM Server, rcom, RExcel training

2008-09-11 Thread Thomas Baier
Igor, Igor Mariash schrieb: Can you please elaborate a bit regarding the first two point of the agenda. Will it be also mostly about Excel? The first topic will cover some basics about * COM/DCOM * R/Scilab DCOM-Server (incl. required componentents in R) * rcom (server side) * rcom (client s

Re: AW: AW: [Rcom-l] WG: Usage of R and excel at the com layer

2008-09-10 Thread Thomas Baier
Schellberg, Dieter schrieb: [...] - If not : is anywhere a systematic explanation ( see "hopes" in the link above) Of RCOM in the R-Exc direction ? * read the Excel VBA manual * read the rcom documentation * ask specific questions on the mailing list It's just that simple. As we're current

[Rcom-l] FollowUp: R/Scilab (D)COM Server, rcom, RExcel training

2008-09-08 Thread Thomas Baier
ed in participating (and have not yet replied) or if you have additional questions or remarks. Send mail to [EMAIL PROTECTED] [EMAIL PROTECTED] Best regards, Thomas Baier & Erich Neuwirth ___ Rcom-l mailing list Rcom-l@mailman.csd.univie.a

Re: [Rcom-l] Windowless ActiveX Controls

2008-09-07 Thread Thomas Baier
Mike, Mike Ryckman schrieb: Hello, Thank you for your reply. I've read about some additional issues in disabling DEP (some were having trouble re-enabling it...) and the application is for distribution anyway. Has there been any talk about rebuilding the dcom server in .NET by any chance? D

Re: [Rcom-l] Windowless ActiveX Controls

2008-09-07 Thread Thomas Baier
Mike, Mike Ryckman schrieb: Hello, I’m trying to add and work with both a StatConnectorGraphicsDevice and the character device but I’ve been running into trouble. Using VS 2008 on Vista, I am getting the following error when the project starts: “An error occurred creating the form. S

Re: [Rcom-l] Error messages

2008-08-15 Thread Thomas Baier
jim greensberg schrieb: I am not sure this issue was asked before but when I type say lm(1:4) on R, the error is: > lm(1:4) Error in switch(mode(x), "NULL" = structure(NULL, class = "formula"), : invalid formula from RDCOM: > lm(1:4) There is some errors in "lm(1:4)" How can

Re: [Rcom-l] Installing RExcel 3.0.1 and Visual Basic 400 error

2008-08-12 Thread Thomas Baier
Andrew, Andrew McLachlan schrieb: Secondly, I am not sure how to use RExcelInstaller on CRAN. I have downloaded and extracted RExcelInstaller_3.0-1.zip from my nearest CRAN mirror, but cannot see how I am supposed to use the contents of the archive. Is it somehow used from within R? you should

Re: [Rcom-l] vb R(d)com and data.frame problem?

2008-07-31 Thread Thomas Baier
Marciano, Marciano Ferrier schrieb: /p.EvaluateNoReturn "(library (survival))"/ /p.EvaluateNoReturn "dataR <-read.table ('c:\\test.txt', header=T)"/ /p.EvaluateNoReturn "test.mod <- coxph (Surv(TOTTIJD, DOOD)~(T) + (N) + (M), data=dataR)"/ /p.EvaluateNoReturn "plot(survfit(lumc))"/ /p.Evalu

Re: [Rcom-l] Code: -2147221485

2008-07-16 Thread Thomas Baier
Powers, Scott schrieb: Yes, they have read it, and apparently they don't know what it means or are unwilling to do anything about it. One guy tried but he seemed to have ADD. I have no idea how to change registries or I would do it myself I would suggest to re-install R and make sure, the ver

Re: [Rcom-l] Code: -2147221485

2008-07-15 Thread Thomas Baier
Powers, Scott schrieb: Hi - I used to be able to use Rcom but ever since I ran CGHtools on BRB array tools which uses Rcom I get this error message Loading StatConnector Server... Done Initializing R...Function call failed Code: -2147221485 Text: installation problem: unable to load

Re: [Rcom-l] New install not working

2008-06-27 Thread Thomas Baier
Ian, Ian Kennedy schrieb: I installed R(D)COM Server ( from the file RSrv250_pl1.exe and using previously installed and working R 2.6.1 on Windows XP) and the basic test fails. When I press the "Start R" button, the main window shows the messages Loading StatConnector Server... Done

Re: [Rcom-l] New install not working

2008-06-27 Thread Thomas Baier
Ian Kennedy schrieb: I installed R(D)COM Server ( from the file RSrv250_pl1.exe and using previously installed and working R 2.6.1 on Windows XP) and the basic test fails. When I press the "Start R" button, the main window shows the messages Loading StatConnector Server... Done Initi

[Rcom-l] R/Scilab (D)COM Server, rcom, RExcel training

2008-06-25 Thread Thomas Baier
r web applications). Please let us know, if there is interest in a training course like this and send a message to mailto:[EMAIL PROTECTED] or mailto:[EMAIL PROTECTED] Best wishes Erich Neuwirth & Thomas Baier ___ Rcom-l mailing li

Re: [Rcom-l] help

2008-06-25 Thread Thomas Baier
Abderrazzak MANY schrieb: Hello, I?ve downloaded correctly both R (2.7.0) and R(D)COM, when I press start in the start 01 -Basic Test window it seems working. I wanted to check the whole connection by using this simple code in VBA for Access : set x = new StatConnector x.Init ("R") y = x.E

Re: [Rcom-l] help

2008-06-24 Thread Thomas Baier
Abderrazzak MANY schrieb: Hello, I would like to use R invisibly from Microsoft Access. I want to know if it is possible and how. it is possible using VBA and R (D)COM Server. Have a look at the examples for VB6 Thomas ___ Rcom-l mailing list Rcom

Re: [Rcom-l] Re: Installation Problems (Thomas Baier)

2008-06-06 Thread Thomas Baier
[EMAIL PROTECTED] schrieb: Thanks for the reply. I am actually using Windows 2000 (...). Is there more reason to be worried by the error message then? I'm quite sure, you will be able to run the tests on your machine to get some information about any consequences. Although, I've never hear

Re: [Rcom-l] Installation Problems

2008-06-05 Thread Thomas Baier
[EMAIL PROTECTED] schrieb: When I try to execute RSrv259_pl1 I get an error message saying "C:\WINNT\system32\oleaut32.dll Unable to register the DLL/OCX: DllRegisterServer failed; code 0x80070005" This is a known issue on Windows Vista. If you're using Vista, just ignore the message. Every

Re: [Rcom-l] Embedded R in C++

2008-05-29 Thread Thomas Baier
spam spam schrieb: Hi! Hi "spam spam"! Interesting name, indeed! I have a problem with embedding R in C++. I've been looking for a friendly tutorial or sample code over the web, but didn't manage to find. I need to use R in my C++ application, which is my project at studies. See http://le

Re: [Rcom-l] Evaluating NA value crashes R

2008-05-28 Thread Thomas Baier
Julien, Julien Vanwinsberghe schrieb: 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 co

Re: [Rcom-l] Error 0x80040013 when calling R from MATLAB

2008-05-25 Thread Thomas Baier
Patrick Tai schrieb: I am a R newbie, so please bear with me. Quoting from the documentation (its not much of it, so you should try to read it before asking): "installation problem: unable to load connector" R proxy library could not be loaded. The cause of this common failure can be:

Re: [Rcom-l] New RAndFriends

2008-04-25 Thread Thomas Baier
Wayne, [EMAIL PROTECTED] schrieb: Yes Erich problem only occurs on Vista, RandFriends works fine on XP. This error message would not matter if it was only to be used for my own purposes. However, here at Shell we use RandFriends to deploy applications to different people across the business.

Re: [Rcom-l] rcom - comGetProperty() issue with dates

2008-04-07 Thread Thomas Baier
Enriqze, Bengoechea Bartolomé Enrique (SIES 73) schrieb: Hello, I'm trying to interface R (v2.6.2 in Windows XP) with Lipper Hindsight ODS, a Reuters application that provides a COM server for mutual funds data. I've tried to use the rcom v1.5-2.2 package to access the ODS server, and everyt

Re: [Rcom-l] Problems with TStringLogDevice

2008-03-26 Thread Thomas Baier
Jochen, Jochen Wilhelm schrieb: Thanks a lot Guy Yollin! I never managed to get that far with the CharacterDevice. Your example works fine and the text output from R is shown. But still I don't find a way to _retrieve_ the text shown in the character device. There is nothing like .Text, .Lin

Re: [Rcom-l] C# Graphics Device

2008-03-12 Thread Thomas Baier
Felipe, Felipe Momm schrieb: Hi, I'm trying to add a Graphics control to my app in C# to get the graphics from quantmod package. The code compiles, but when i try to run the application it stops in the line above saying that the "Class not registered (... HRESULT: 0x80040154 (REGDB_E_CLASSNO

Re: [Rcom-l] deploying RDCOM and R

2008-02-06 Thread Thomas Baier
Juan, Juan F. Elvira wrote: I have implemented an application that uses R and R DCOM. One of the major problems that arose is the installation, since the user might have an old version of R or sometimes a newer version that required by my r packages. I'm wondering if it is possible to ship int

Re: [Rcom-l] R version 2.6.1 problems loading R(COM) server

2008-02-01 Thread Thomas Baier
Jon Horne wrote: Hello, I had a Visual Basic program that loaded R (version 2.5.0) with lConnector.Init ("R"). After installing R (version 2.6.1) and unistalling version 2.5.0, the load fails with LIBRARYNOTFOUND -2147221485. When I install 2.5.0 again (having both versions), the VB program w

Re: [Rcom-l] R: Rcom-l Digest, Vol 35, Issue 11

2008-01-30 Thread Thomas Baier
Marco, [EMAIL PROTECTED] wrote: thank you for your response. Could you indicate me which is exactly the relative source, so i can attempt to modificate that ? The code is in rproxy_dev.c in the R distribution (src/gnuwin32/front-ends) Thomas ___ Rc

Re: [Rcom-l] VB Graphics resolution

2008-01-26 Thread Thomas Baier
Hi Marco, [EMAIL PROTECTED] wrote: Hi all, I am trying to plot a chart in VB using R (AddGraphicsDevice method and plot command), but, since I shuold like to have a big chart, the resolution is very poor, and it is blocked. Is there any way to define, from Visual Basic, the resolution of the

Re: [Rcom-l] RExcel installation woes and suggestion

2007-11-28 Thread Thomas Baier
> If I can suggest this code, it would be > if(require(rcom)){ > comRegisterRegistry() > comRegisterServer() > unloadNamespace("rcom") > } Very bad idea. comRegisterServer() is called automatically on loading rcom, comRegisterRegistry() should be called only once on installation and re

Re: [Rcom-l] How R (D)COM server choose R version to run ?

2007-11-22 Thread Thomas Baier
> Thanks for your response Thomas, > > And can we also look if R (D) COM Server is installed with some keys in > registry ? Please have a look at the documentation. The registry keys set on installation are documented Thomas ___ Rcom-l mailing list Rc

Re: [Rcom-l] How R (D)COM server choose R version to run ?

2007-11-22 Thread Thomas Baier
> Would you know how R (D)COM server choose R version to run if several > ones have been installed on computer ? R (D)COM Server looks up the "current" R version in the registry. Most likely this is the R version installed last or where RSetReg has been called last. Thomas __

Re: [Rcom-l] DCOM Version Issue

2007-11-11 Thread Thomas Baier
Mike, [ Charset US-ASCII converted... ] > ## Language for messages > language = > > ## Default setting for console buffering: 'yes' or 'no' > buffered = yes > > Then the (D)COM server will work on R versions greater than 2.5... > Otherwise, I'm finding it fails. Would this be because the DCOM i

Re: [Rcom-l] Busy-message apprearing in C++ program calling R

2007-10-25 Thread Thomas Baier
Hi, > asleep after completion of one day. To wake it up, I simply have to > activate and deactivate the window. But I'd rather not stay up all > night... > > Have anyone exerienced, or even solved, this problem? Hopefully most Software developers have solved this problem for their applications.

Re: [Rcom-l] rcom comInvoke #2

2007-10-23 Thread Thomas Baier
Dwayne, > Out of curiosity, has comInvoke been corrected to add slides to > PowerPoint presentations? We've regressed back to rcom 2.4 for this > very reason. Typically, we generate >75 graphs/data set and we dump the > graphs right into PowerPoint. Unfortunately, the newer version of rcom, > a

Re: [Rcom-l] rcom comInvoke #2

2007-10-22 Thread Thomas Baier
Gyula, > it still does not work, and I think the syntax you > gave is not correct either. > > i tried this: > > retval<-0 > x<-comInvoke(v,"myfunction","PL",retval) > > myfunction returns a long (actually true or false) > that simply indicates that things worked ok or not. > (in this case x wil

Re: [Rcom-l] accessing R from Perl issues

2007-10-17 Thread Thomas Baier
> Thanks for the quick answer! > > I've read about RServerManager in the distribution, but I couldn't find any > Perl code examples that show how to use it. There are no perl code examples in the distribution. Sorry. > Even after searching so much in the mailing list archives, Internet, etc, >

Re: [Rcom-l] accessing R from Perl issues

2007-10-16 Thread Thomas Baier
> i encountered with a problem that i couldnt sove. hope somebody can help me > with this .. > > i'm developing an Internet application in Perl that invoke R functions using > DCOM interface. > > in this application, the user can invoke an analysis that is processed by R > functions and the

Re: [Rcom-l] (sin asunto)

2007-10-03 Thread Thomas Baier
heck the box asking about putting information about Scilab into the registry. -- Thomas Baier ___ 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

Re: [Rcom-l] rcom home page link

2007-09-28 Thread Thomas Baier
Gabor, > It would be nice if the rcom home page URL were listed in the URL field > of the DESCRIPTION file so that one could follow its CRAN page: > > http://cran.r-project.org/src/contrib/Descriptions/rcom.html > > to the home page or if one had it installed already could easily find its home >

Re: [Rcom-l] Simple Regression Test

2007-09-13 Thread Thomas Baier
David, > I am using Python 2.5 and R2.5.1 > > I am trying to do a simple test using the Iris data set and a regression. > > Here is my code > > > from win32com.client import Dispatch > r=Dispatch("StatConnectorSrv.StatConnector") > r.Init("R") > r.Evaluate("data(iris)") > r.Evaluate("iris.

Re: [Rcom-l] R Graphics using VBA

2007-09-10 Thread Thomas Baier
ion to this is to provide an Active X control. Although I am > familiar with Excel Active X controls, I can't work out how to do this. If you are using the ActiveX control, the graphics will show on the machine where the ActiveX is shown, no matter if R is r

Re: [Rcom-l]How can an image be retrieved from StatConnectorGraphicsDevice

2007-09-10 Thread Thomas Baier
Julien, > Do you know if it's possible to export StatConnectorGraphicsDevice plots > as bitmaps ? This is currently not possible. But as the source is public, you can simply add an additional method for retrieving the bitmap. The graphics itself is drawn with the bitmap functions. Thomas __