similar to: Wrapping R for windows in a com dll

Displaying 20 results from an estimated 2000 matches similar to: "Wrapping R for windows in a com dll"

2000 Sep 27
1
Wrapping R for windows in a com dll
Dear R Community, I am trying to create a com dll wrapper for R in a mannor similiar to the R Com Server by Thomas Baier except that I would much rather avoid using the proxy dll ("Rproxy.dll"). Perhaps I don't really understand the reason for going throug the proxy in the first place, but it seems like an unnecessary indirection for an application which is not intended to use DCom.
2000 Sep 28
1
creating custom I/O for R
Dear R developers, I am building an ActiveX Com wrapper for R. I have successfully implemented an Evaluate function using rproxy_impl.c and rtest.c as examples. The Com object as it stands at the moment is similar to Thomas Baier's automation server StatConnectorSrv.exe except that it does not use the Proxy. My goal it to include a couple of activeX controls in the library: One to provide a
2000 Oct 03
0
FW: Parse Errors
Earlier I posted the message below to R-announce. Please, let me appologize for this mistake, it was not intended. The solution was provided by Duncan Murdoch who passed on a message he recieved from Brian Ripley which informed me that settimg R_Interactive to 1 changes the default behavor of aborting on an error. Thankyou, Don Wingate. -----Original Message----- From: Don Wingate
2005 Dec 09
2
Blocking problem with embeded R (windows)
Hi all, I am trying to make calls to R from an MFC application running on XP and am having problems blocking the application while the call executes. I have tried the following approaches to using R from the application (note that I set a wait cursor while R is executing). 1) call rcmd in BATCH mode using system(). This works well, except that I get the cmd window popping up... which makes the
2000 Nov 07
0
error handling
Hello R developers, Platform: Windows 2000. Compiler: GNU GCC - 2.95.2 (CRTDLL) I have a C function for evaluating commands using eval(SEXP,SEXP) which is included in a personal make of R.dll. (Similiar to R_Proxy_evaluate() in rproxy_impl.c) Using SETJMP to catch errors works but there is a problem. For example, the following code: if (SETJMP(R_ToplevelContext->cjmpbuf)) //
2003 May 05
1
R-1.7.0: Rproxy.dll loadlibrary/freelibrary error (PR#2914)
Full_Name: Venkatesh Mysore Version: R-1.7.0 OS: WindowsXP Submission from: (NULL) (216.165.110.10) While accessing Rproxy.dll repeatedly (using the code from the (D)COM example in the R website) causes a failure in the 24th iteration. R-1.6.2 does NOT give this error. This seems to be a memory management error, that might be linked to the huge leakage difference between R-1.7.0 and R-1.6.2
2000 Dec 14
2
create a function given a string
Hello, I am trying to dynamically create/define a function inside of another function (as part of a package.) I build a string that looks something like this: "x + y" and what I need to do is define a function f <- function(x,y) { x+y }. This function "string" is much more complex than this example and depends on other variables so there is no way to predict what the
1999 Oct 09
2
Re: R-0.65.1 for WinNT/9XRe: R-0.65.1 for WinNT/9X
Hello. I've dowloaded R-0.65.1 for WinNT/9X. >There is more support for (support of) ActiveX Automation via the >Rproxy.dll: see the file front-ends/readme. And where is this "the file front-ends/readme" which describes R's ActiveX Automation ? In "readme" under "r-install path\" and FAQ for Win port, no description about this. Please teach me.
1999 Oct 09
2
Re: R-0.65.1 for WinNT/9XRe: R-0.65.1 for WinNT/9X
Hello. I've dowloaded R-0.65.1 for WinNT/9X. >There is more support for (support of) ActiveX Automation via the >Rproxy.dll: see the file front-ends/readme. And where is this "the file front-ends/readme" which describes R's ActiveX Automation ? In "readme" under "r-install path\" and FAQ for Win port, no description about this. Please teach me.
2000 Oct 03
2
Parse Errors
Dear R Development Team, Using Thomas Baier's R Com Server -- or a dll I am building which supports an evaluate function that is based on Baier's function R_Proxy_evaluate contained in proxy_impl.c -- when I issue an invalid command to R such as "plo(x)" the program crashes. There is code in R_Proxy_evaluate to test for a parse error before actually generating code and issuing
2000 Oct 03
2
Parse Errors
Dear R Development Team, Using Thomas Baier's R Com Server -- or a dll I am building which supports an evaluate function that is based on Baier's function R_Proxy_evaluate contained in proxy_impl.c -- when I issue an invalid command to R such as "plo(x)" the program crashes. There is code in R_Proxy_evaluate to test for a parse error before actually generating code and issuing
2007 Feb 06
4
Mongrel service will not start on win32 w/ --prefix option
All, I am in need of some help. I''ve run into a problem that I am not able to fix or even troubleshoot. I am trying to run Mongrel as a service on Win32. Basically, my problem is that running Mongrel as a service works fine. Fine until I change the configuration (using service::remove and service::install) to use --prefix. I must have this as I am running multiple webapps and app
2005 Oct 30
1
attaching the debugger to functional test.
People, I''m trying to run the ruby debugger against a Test::Unit::TestCase class which is a parent of a Rails class. I started my study with a simple script: # # bikle_test.rb # require ''test/unit'' class BikleTest < Test::Unit::TestCase def setup @string10 = "hello" end def test10 assert_equal @string10, "hello" end end The
2007 Oct 17
0
Using R.dll in .NET IPC
Hi - I wrapped R.dll up using somebody code online (see below). I am comparing R on .NET IPC with R(D)COM. I got it all working. Except, I realize that in my client code of the IPC remoting, if I call 'plot' function in R via EvaluateNoReturn, I don't seem to see any results on the R plot window (although the window pops up). Is there anything to do with the code of R.dll wrapper
2005 Nov 27
2
'For each file in folder F do....'
Hello, I have 2700 text files in a folder and need to apply the same program/procedure to each individually. I'm trying to find how to code something like: For each file in <Folder> do {<Procedure>} is there an easy way to do this? other suggestions? I have tried to list all the files names in a vector e.g. >listfiles[1:10,1] 1 H:/Rtest/AXP.txt 2 H:/Rtest/BA.txt 3
2012 Feb 26
2
Help needed! Error in setwd(newdir) : cannot change working directory
Hi Guys, I am new to R and just trying to write a small script to automate a couple commands. But I run into the setwd(): cannot change working directory. I googled a little bit and tried all fixes/suggestions with no success. Basically I have a script that works from inside a directory with my data (/home/sean/Rtest/Data01). Now I want to modify the script to make it run from the upper directory
2008 Jun 09
1
DO NOT REPLY [Bug 5528] New: rsync deletes files it shouldn't even look at!
https://bugzilla.samba.org/show_bug.cgi?id=5528 Summary: rsync deletes files it shouldn't even look at! Product: rsync Version: 3.0.3 Platform: Sparc OS/Version: Solaris Status: NEW Severity: major Priority: P3 Component: core AssignedTo: wayned@samba.org ReportedBy:
2006 Nov 27
1
R.DLL mapping by P/Invoke
After a long processing, I was able to create a version of a small C# class that was able to emulate the rproxy by P/Invoke. This is mostly to find a workaround a performance problem of the StatConnector. It's almost work but ... I have strange memory exception when I call the print function. The variable seems to not survive from one call to the other. As there is no debug symbol for
2003 Jun 08
2
state of the rsync nation? (revisited 6/2003 from 11/2000)
I'm interested in these very questions (librsync-rsync relationship, remaining limitations of rsync, active prospects for ground-up rewrites), Google searches for rsync info have proved a little too vague due to the programs ubiquity. Much has certainly changed since this was written, could some people with knowledge in these areas could update martin's response for the state of rsync,
2003 Nov 20
1
Compile Packages under Windows and CHM
Hi, I have been developing a small package. It install under RedHat Linux 9.0 without a problem. However, I have a small problem under Windows XP. I am using R-1.8.0 on both systems and HTML Help Workshop 4.74.8702.0 on Windows XP. I created the package under Linux. When I try to install the package created under Linux in Windows XP using c:\rtest> rcmd install rtest I get the following