similar to: Calling R functions in Delphi

Displaying 20 results from an estimated 100 matches similar to: "Calling R functions in Delphi"

2009 Apr 07
2
Running an R script from Delphi 7
Gentlepersons: A long time ago I used to be able to start R (version 2.6.1) from a Delphi 7 program and run a script by using a procedure like the following: function StartRAndWait (CommandLine : string) : Boolean; var Proc_info: TProcessInformation; Startinfo: TStartupInfo; ExitCode: longword; CreateOK : Boolean; begin Result := False; { Initialize the structures }
2007 Mar 26
16
mongrel_service fails to get "service.exe" from ppid?
Konnichiwa Mongrel users, mongrel_service cannot run as a windows service under my environment, with the windows message : "error 1053 : The service did not respond to the start or control request in a timely fashion." >From a part of "ServiceFB.log" at c:/ruby/bin, mongrel_service failed to get the process name of "service.exe".
2008 Jun 04
12
Mongrel as Windows service with normal privileges
I am trying to run Mongrel 1.1.5 with mongrel_service 0.3.4 on Ruby 1.8.6 with a "normal" user account, i.e. a user which belongs only to the Windows group "Users". The rationale behind this is that running a web server with full administrative rights (e.g. Local System) is not something that I would like to do. Unfortunately, starting the service from the services control
2007 Aug 21
1
runing .r file from C#
Hi, I know that the general subject "calling R from C" has been discused but I have been reading the manuals and also scouting the lists and I can not seam to find a working solution for my problem. I want to call a R script ( let's call it "test.r" ) from within C# code. After reading about this topic I am trying to do this : System.Diagnostics.Process proc = new
2013 Feb 07
2
calling outside program to run from R - similar to X command in SAS
I'm new to R and have not been able to find what I am looking for online. I found the system command but that seems to be used for getting lists of directories, etc. I am trying to replicate something that I used to do in SAS. I am simulating some data (which I can do in R with a particular package) and then trying to call an outside program to fit a specific model to the data. In SAS, the
2009 Sep 10
1
executing rscript from VB
Hi, I am looking to execute an R script from VB as below. The script runs fine but the redirection doesnt seem to happen. The redirection operator and the out file seem to be treated as arguments to the R script. Is there a way to get the > operator working thanks, R System.Diagnostics.Process proc = new System.Diagnostics.Process(); proc.StartInfo.FileName =
2008 Aug 08
1
Invoking R from application
Dear all, I'm trying to invoke R from an application which I'm developing. I have indications that the problem is specific to R. I'm able to e.g. invoke a Python script in the same way with success, but R is giving me problems. Last year a guy with nickname vital101 posted a message on the Java forums website about invoking R from Java. The link to that thread is:
2007 Dec 05
21
Fwd: win32/process problem
Any ideas? ---------- Forwarded message ---------- From: Christian Kerth <christian.ke... at dynamicmedia.at> Date: Dec 5, 8:28 am Subject: win32/process problem To: comp.lang.ruby I have an application that consists of serveral independent parts. I want to use the Windows Process API to spawn the different processes. e.g. require ''rubygems'' require
2011 Oct 06
6
reg dom0 console
Hello All, After a few months of hiatus, we have resumed working on mips port of Xen. We are at the point of booting dom0 userland (init process and its children). The init process gets spawned and in turn forks off processes to run commands in /etc/rc.d/init.d/rcS. However, the getty process does not seem to run subsequently and hence the login prompt is not displayed. Dom 0 does not use the
2019 Jan 04
2
virsh on mac os X
Mac OS X 10.14.2 VirtualBox 5.2.22 and 6.0.0 libvirt installed via homebrew virsh -V Virsh command line tool of libvirt 4.10.0 See web site at https://libvirt.org/ Compiled with support for: Hypervisors: QEMU/KVM VMware VirtualBox ESX Test Networking: Remote Bridging Storage: Dir Miscellaneous: Daemon Secrets Debug brew services start libvirt virsh -c vbox:///session list error:
2009 Jul 17
3
[LLVMdev] [PATCH 1/2] Trailing whitespace.
--- include/llvm/System/Program.h | 8 ++++---- lib/System/Unix/Program.inc | 30 +++++++++++++++--------------- 2 files changed, 19 insertions(+), 19 deletions(-) diff --git a/include/llvm/System/Program.h b/include/llvm/System/Program.h index 49de7cf..14f9e9e 100644 --- a/include/llvm/System/Program.h +++ b/include/llvm/System/Program.h @@ -97,12 +97,12 @@ namespace sys { ///
2009 Jul 17
1
[LLVMdev] [PATCH 2/2] Make Program::ExecuteNoWait return a process ID.
--- include/llvm/System/Program.h | 14 ++++++++++---- lib/System/Unix/Program.inc | 17 +++++++++-------- lib/System/Win32/Program.inc | 16 +++++++++------- 3 files changed, 28 insertions(+), 19 deletions(-) diff --git a/include/llvm/System/Program.h b/include/llvm/System/Program.h index 14f9e9e..05c73ac 100644 --- a/include/llvm/System/Program.h +++ b/include/llvm/System/Program.h @@
2008 Dec 17
1
CreateProcess for Unix binaries
The CreateProcess function sets a lpProcessInformation field. This field is set when a Windows process is called, but erased when a Unix binary (e.g. /bin/sleep 2) is called, so the hprocess handle is unknown. Is there a way to obtain this process handle so that GetExitCodeProcess can be called? I basically want to know when the called process has exited. Thanks
2013 Oct 28
5
FreeBSD PVH guest support
Hello, The Xen community is working on a new virtualization mode (or maybe I should say an extension of HVM) to be able to run PV guests inside HVM containers without requiring a device-model (Qemu). One of the advantages of this new virtualization mode is that now it is much more easier to port guests to run under it (as compared to pure PV guests). Given that FreeBSD already supports
2007 Jun 01
0
USB phone -- Help
Hi, I attached a mobile phone (its name I-MATE SMART PHONE) to a box running CentOS 5 by using a usb cable which came with that phone. Now, it shows /dev/ttyUSB0 Now I want to send a sms to my friends. I installed gammu. Pls see below for installed rpm. [root at mailgw ~]# rpm -qa |grep gammu gammu-1.11.0-1.el5.rf here's my /etc/gammurc file. [gammu] port = /dev/ttyUSB0 ;model = 6110
2004 Jan 21
2
[Fwd: Re: Comboot Menu]
Thanks for the comment. The next pass for a file format ... ------ FILE BEGINS ----- # Comment lines [menu] item="text to display" status="status line text" action= SUBMENU | INACTIVE | whatever submenu= <number> data="arbitrary string" item="text to display" status="status line text" action= SUBMENU | INACTIVE | RUN | EXIT submenu=
2019 Jan 07
2
Re: virsh on mac os X
after a reboot into recovery mode, csrutil enable --without dtrace (ignoring warnings about how horribly unsupported this is). This eliminates the dtrace errors, but virsh remains ill. Clue bats appreciated! Last login: Mon Jan 7 12:31:39 on console /Users/AB84394>sudo dtruss -fn virsh PID/THRD SYSCALL(args) = return 918/0x3b12: thread_selfid(0x0, 0x0, 0x0) = 15122 0 918/0x3b12:
2019 Jan 07
0
Re: virsh on mac os X
On Fri, Jan 4, 2019 at 11:12 AM Keith Bierman <khbkhb@gmail.com> wrote: > Mac OS X 10.14.2 > VirtualBox 5.2.22 and 6.0.0 > libvirt installed via homebrew.... > > virsh -c vbox:///session list > > error: failed to connect to the hypervisor > > error: internal error: unable to initialize VirtualBox driver API > .... > In case it's helpful, here's
2005 May 31
0
[PATCH] Store page and evtchn in start_info_t
Hi all, This is a trivial patch which adds the two fields to start_info_t for the shared page and event channel port for the share. Feel free to destroy this in any way. The python binding just fills zeros in for the moment, making it harmless. Mike Wray has a nicer version in his tree, but this is the minimal version. (Thanks to Mike for the .esp fix, too). Cheers, Rusty. diff -ur
2010 Sep 20
1
Dynamic forking in Win32
I created an application that uses dynamic forking and it works perfect in windows, but fails in wine. Is this a bug or is this feature disabled in Wine? I don't have wine myself but someone we have testing the app for us does. It's difficult to debug over the net so I was hoping for some help here... After adding some debug info we've traced a few failure points to a call to