similar to: Calling R in BATCH mode from C programm

Displaying 20 results from an estimated 3000 matches similar to: "Calling R in BATCH mode from C programm"

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
2004 May 27
3
Different results
Hello everybody, I've been practicing with some data in R and SPSS and I noticed that there are some differences in ANOVA results. For example with : y<-c(1,2,34,2,3,45,2,1,67,3,2,67,2,2,98,4,4,23,1,1,23,2,3,45) and x<-rep(c(1,2,3),8) I get in R ( with summary(aov(y~x)) ) MSres=350.7 df=22 while in SPSS I get MSres=221.9 df=21 Can enyone explain me what is the problem or
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:
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
2003 May 20
1
R in BATCH mode
Dear all, In R<=1.6.2 I usually used the following code (in DOS prompt) to run R in batch mode C:\documents> Rcmd BATCH myfile.R and I could see the results (including warning messages) in the file myfile.Rout In R.1.7.0 I'm experiencing the followings: (1) even if I type "Rcmd BATCH myfile.R myfile.Rout", no file myfile.Rout is created, but just a "&1" file
2001 Oct 31
1
Xilinx ise4.1i par trouble
Hi, When I excecute the following command line wine --winver nt40 --dll shlwapi=b --managed -- /nfs2/bin/Xilinx/ise4.1i/bin/nt/par.exe -pl 5 -rl 5 -e 1 -t 1 -w /tmp/design.ncd design.ncd design.pcf the following error message is returned err:seh:EXC_DefaultHandling Unhandled exception code c0000005 flags 0 addr 0x400a5648 but if I run the following command line wine --winver nt40 --dll
2001 Feb 01
1
flash5 ?
i'm trying to install flash5-trail with wine ... but it runs an hour while using 90% of my Prozezzor, and nothing happens ! i use the CVS version from yesterday. i've no windows on my box ! the installdialog stops at the prompt : content of packages gets read. can enyone help ? how do i install it ? i ran 'wine flash5-trialG.exe' and in the setup i set desktop to 640x480 (does
2001 Feb 02
1
wine ? what the hack is going on ?
hmm so : no i'm realy confused ! i can instell Half-life ! (check:OK) i can _not_ install Flash 5 ! (check:faild) i can _not_ install Encarta 99 plus ! (check:faild) what is going on ? why wont that work ? enyone eny idea ? please help ! i need this for school ! _______________________________________ with best reguards M.Angermann ???????????????????????????????????????
2001 Feb 04
1
Hey ! thanks ! Flash 5 works now ... for short ... :(
so ... not i got some screens further ... but now i get : setup could not start the install-engine ( 0x80070005 ). and it shuts down .. one oether question is : why does wine open so many desktopst ? for every run a new one ? that is kinda annoing ... eny idea ? would be grate if u could help me to fix that problem .. the problem with the install screnn can be fixt, by patching manualy the
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:
2005 Jul 13
1
Total Annihilationcd annd map problems
I've heard that Total Annihilation (a fantastic game) runs in wine, (frankscorner.org and som other people on various malinglists). I've applied the 3.1 patch (ta1x-31c.exe) and tried to run the game under wine-20050628 in Fedora Core 4 with 2.6.11 kernel, it starts and I press "single", no problem, but when I try to press "new campagne" or "skirmish" I
2003 Nov 03
2
Problem with batch-file
Hi I have written a graphical user interface using tcltk. Now I would like to run it under rterm.exe with a batch file. I tried the following code written in a .bat file: d:\R\rw1071\bin\Rterm.exe --no-restore --no-save <d:\RGui.r> d:\RGui.out The problem is that rterm does open but the gui isn't running properly. After a few seconds rterm is closeing without doing anything more
2002 Oct 16
1
Batch mode on windows
Posted on behalf of chenwj <stop4optimal at hotmail.com> who is having trouble posting. hi all, I'm completely new in R, and here are my questions (under windows): 1. i want to run my four R files (pl1.r -- pl4.r) in batch mode. i'd like to write a batch file using Rterm.exe, since i dont get perl installed on my computer. My experimental batch file (*.bat) didnt work, which
2002 Oct 17
0
questions about batch manipulation
hi all, I'm completely new in R, and here are my questions (under windows): 1. i want to run my four R files (pl1.r -- pl4.r) in batch mode. i'd like to write a batch file using Rterm.exe, since i dont get perl installed on my computer. My experimental batch file (*.bat) didnt work, which contains the following lines. however it works well when i pasted each single line to run in the
2005 Jan 28
1
Windows Batch File
Hiya, I have read the FAQ for windows and read point 2.10. I setup a dos batch file which contains the following line: C:\progra~1\R\rw2001\bin\Rterm.exe --vanilla I then tried: R CMD BATCH --argument myscript.R result.out then it started R. I thought by running R CMD BATCH executes R non-interactively. I am working on a Windows XP. I tried it on a Mac OSX and that worked fine. So I'm not
2010 Dec 28
4
batch file output
I run a batch file with the following command in Windows XP: C:\R\R-2.12.1\bin\Rterm.exe --no-save --no-restore <C:\users\me\file.R> C:\users\me\file.out 2>&1 Is there any way to get only the output of R in file.out, without getting all the code from file.R too? Any help greatly appreciated, Mikkel
2003 Apr 17
2
BATCH and tcltk
Hi R-hackers I try to write a batch (in Windows, i have to use!) with Rcmd BATCH D:\Test.R D:\Test.Rout and Rterm.exe --no-restore --no-save < D:\Test.R > D:\Test.Rout. In my file Test.R are any tk-codelines (like: Window1 <- tktoplevel(); ... tkbutton...). It works not interactifly, what is written in Rcmd BATCH --help. Exist there a way to do it all the same? Please help...
2003 May 12
1
problems with Rcmd BATCH (PR#2965)
Hello, I have a test file that runs OK with > Rterm.exe --no-restore < filename.R When I try > Rcmd BATCH filename.R I get the following error message: Can't locate R/Utils.pm in @INC (@INC contains: C:\PROGRA~1\R\rw1070\share\perl c:/Perl/lib c:/Perl/site/lib .) at C:\PROGRA~1\R\rw1070/bin/BATCH line 22. BEGIN failed--compilation aborted at C:\PROGRA~1\R\rw1070/bin/BATCH
2005 Dec 20
1
Problems in batch mode
Dear R-users, I am trying to run some simulations in batch mode. In an older version of the program, I used rterm --vsize=100M --nsize=5000K --restore --save <input file> output file, however, in the new version R 2.2.0 , the parameters vsize and nsize are ignored. I can use the command memory.limit to increase memory, but I am not sure if this corresponds to vsize and nsize.
2009 Feb 02
1
executing R batch files
The following command, issued from the DOS command prompt (running Windows XP), produces the intended result of a .csv file created by program.R: ?c:\program files\R\R-2.8.0\bin\Rterm.exe? --save < "c:\TEMP\program.R" However, when I create a file called Rbatch.bat that contains exactly the line above, and try to execute it (by double clicking or via the Shell command in an Excel