Displaying 20 results from an estimated 1100 matches similar to: "Invoking R from application"
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 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
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 =
2006 Dec 04
8
Calling R functions in Delphi
Hello All,
We would like to call quantile() function from the R-package STATS in a
Delphi program. If this is possible, could anyone provide us with an
example?
Thanks in advance.
--Anna
-----------------------------------------
Anna Belova
Abt Associates Inc.
4800 Montgomery Ln, St 600
Bethesda, MD-20814
phone: 301-347-5304
fax: 301-652-7530
http://www.abtassociates.com/environment
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
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
2003 Jan 08
3
Errors running R in Batch mode under Win2000
I have made many different attempts to run a R program in Batch mode. I run a DOS command like:
C:\Progra~1\R\rw1061\bin\rterm.exe -q --no-restore --no-save myprogram.R out.txt
What happens:
1. DOS Shell starts up well
2. R starts
3. I get the messages:
"ARGUMENT 'myprogram.R' __ignored__"
"ARGUMENT 'out.txt' __ignored__"
4. R Shell is ready to
2008 Oct 17
2
R script from Python
Hi,
I'm trying to execute R-script from Python. I'm using R 2.7.2, Python 2.5
and WinXP.
I don't won't to use Python/R interface because of nature of project.
Python code :
import subprocess
command = 'c:\\Program Files\\R\\R-2.7.2\\bin\\Rterm.exe --vanilla -q
<d:\\test\\run\\geneBank.r> d:\\output.out'
subprocess.Popen(command).wait()
After that, I get error
2004 Dec 21
1
scheduling R tasks under windows
I'm trying to schedule R tasks in Windows Server 2003.
I can run the following from the DOS prompt without
any difficulty:
c:\Reports>c:\r\rw2001\bin\rterm.exe --no-restore
--no-save <test.R> test.out
where test.r has two lines: library(tools);
Sweave("rlr.Rnw").
When I try to run the same from the task scheduler, I
fill in the dialogue box as follows:
Run:
2010 Apr 30
1
R package compilation in windows
dear R user,
I al rying to compile an R package with some C code. everithing work fine as
long as I work in Linux or MaCOX. unluckyly I can cant compile it under
Windows, here is the error, but I cant figure it out what is the problem.
can you help me?
* using log directory 'C://MyPKG.Rcheck'
* using ARGUMENT '
' __ignored__ R version 2.11.0 (2010-04-22)
* using session ARGUMENT
2010 May 07
1
Bug in R -e "command"
Hi all:
since about a month we encountered a problem with R -e command: spaces
in the "command" of R -e "command" are no more tolerated. This same
issue affects 2.11 patched (05-05-2010), 2.10.1, and current devel (at
least the one of two weeks ago).
(I skip the mid of the printouts, replaced with ...)
* R -e "message('aaa aaa')"
ARGUMENT
2003 May 20
1
Calling R in BATCH mode from C programm
Hello R-people,
I have the following problem :
In order to run R script from DOS prompt in BATCH mode and pass it some
parameters I do the following :
Rterm --slave --no-save --no-restore <args.R> args.out ARG1=1 ARG2=2
It works fine :
the result is that the script args.R is isexecuted. Sys.getenv() sees the
arguments ARG1 and ARG2, and the R creates output file args.out
Now I want
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
2006 Oct 22
1
new g.729a codecs for asterisk 1.2/1.4 and glibc
Hello!
It seems that the new codec is not backward-compatible to glibc
2.1/2.2 so I receive the following error:
[codec_g729a.so]Oct 22 02:37:18 WARNING[3433]: loader.c:325 __load_resource: /u
sr/local/glibc/libc.so.6: version `GLIBC_2.3' not found (required by /opt/files/
usr/lib/asterisk/modules/codec_g729a.so)
Oct 22 02:37:18 WARNING[3433]: loader.c:554 load_modules: Loading module
2009 Mar 21
1
Calling R from Java (trying the R interface to Omegahat and Java)
Dear R-helpers,
I run R version 2.8.1 (2008-12-22) on i386-apple-darwin8.11.1
I would like to call R from Java. I downloaded SJava_0.69-0.tar.gz,
and then issued the command suggested on http://www.omegahat.org/
RSJava/ :
% R INSTALL -c SJava_0.69-0.tar.gz
ARGUMENT 'INSTALL' __ignored__
WARNING: unknown option '-c'
ARGUMENT 'SJava_0.69-0.tar.gz' __ignored__
I then
2016 Jan 08
1
Troubleshooting on OS X
Thanks very much! It's alive! For others who are having problems, this is
a summary of the differences I needed between Linux and OS X:
You'll need to install http://tuntaposx.sourceforge.net/ manually.
On tinc.conf:
> Linux
Name = ntwigg2014linux
AddressFamily = ipv4
Interface = dpsfVPN
ConnectTo = dpserver001
> Mac
Same, but remove the Interface line entirely
On tinc-up:
>
2005 Apr 21
1
Installing packages from source code
Hi everybody,
I have trouble in installing packages from source code by following Section
5.1 in manual R-admin.pdf . I am using R 2.1.0 and Win NT.
Following the Windows toolset section in the manual, I download the tool
set package from: http://www.murdoch-sutherland.com/Rtools/tools.zip
and unzip under C:\tools
I also downloaded Perl (Windows Port) and installed it.
2018 Sep 16
4
Rscript -e does not accept newlines under Linux?
Hello,
I have found what I believe to be a bug in the Linux version of the Rscript binary.
Under Windows (official 64-bit 3.5.1 R distribution running on an up-to-date Win10), I can do the following (e.g. under powershell):
PS H:\Users\Cesko> Rscript -e 'ls()
>> ls()'
character(0)
character(0)
which works as I expect: I am running Rscript with two arguments, namely (1)
2006 Dec 06
1
for RSYNC on windows 2003 stand along server
Hello,
I have one question for RSYC running on windows 2003,
the rsyncd.conf like following
log file = /var/log/rsyncd.log
pid file = /var/run/rsyncd.pid
lock file = /var/run/rsync.lock
[tkbak]
path = /local/tkbak
comment = tk backup folder
uid = root
gid = root
read only = no
list = yes
auth users = root
secrets file =