similar to: getting input from the console when running R in batch mode

Displaying 20 results from an estimated 10000 matches similar to: "getting input from the console when running R in batch mode"

2001 Oct 08
1
Yet another batch mode question
Hello all and thanks in advance, I know you can start R with either: 1. R CMD BATCH myfile.R or 2. R < myfile.R My question is this: what if I want multiple input files and/or command line arguments. For example, under unix you can run a script command (in a shell language, perl, or python) like: python myScript.py or better yet, if you have things set up right, you can place a
2005 Feb 25
3
passing command line arguments to 'R CMD BATCH myScript.R'
Hi Community, I have a question about how to pass command line parameters to R script running in the batch mode. The problem is: there is a banch of data files which are to be processed by R script called from a web-server, i.e. in the batch mode. The web server generates data files and passes their names calling 'R CMD BATCH' one by one for every file. Now the question is how to
2008 Aug 27
5
Integrate a 1-variable function with 1 parameter (Jose L. Romero)
Hey fellas: I would like to integrate the following function: integrand <- function (x,t) { exp(-2*t)*(2*t)^x/(10*factorial(x)) } with respect to the t variable, from 0 to 10. The variable x here works as a parameter: I would like to integrate the said function for each value of x in 0,1,..,44. I have tried Vectorize to no avail. Thanks in advance, jose romero
1998 Jun 15
0
R-beta: Batch jobs in Win32 version?
I'm using the recent (rw0613) Windows port of R under NT 4.0 and Win95 OSR2, and I can't execute scripts from the command line. R programs that work with the source("myscript.s") command within R, as well as with "R < myscript.s" on my Sun workstation, produce this error message if run in a DOS window under NT or '95: Error: workspace file corrupted -- no data
2010 Feb 12
3
summary statistics for grouped data
Hello list: Is there an easy way (preferably through one of the standard R packages) of obtaining summary statistics for grouped data? I could split the data into classes by hist, and then progressively calculate all the "columns" i need to obtain the mean and standard deviation, but i was looking for a single function that could do that with a data vector. Thanks in advance, jose
2008 Mar 11
1
R-console vs. bash console (execution halted)
Dear Everyone, I am using R 2.6.2 on my Redhat AS4. I installed the RPM offered on the cran website. I would like to use R from my bash console with the following command: /path/to/R --vanilla --slave --args < /data/myscript.R this script invokes a range of functions and tools, among others to process a bunch of raster images in a loop using GDAL. The thing is that releasing this command in
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
2002 Feb 27
3
BATCH mode
Dear R users I wonder if it is possible to run R code in the batch mode like in Splus (Splus5 scriptfile outputfile). Any hints? Andreas -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the
2016 Mar 06
3
Latest version of geany editor
On 02/28/2016 06:53 PM, Frank Cox wrote: > On Sun, 28 Feb 2016 16:30:44 +0100 > H wrote: > >> I initially downloaded geany 1.24 from the EPEL repository but now >> wanted to install the plugin package which is not in EPEL. I visited >> your webpage , downloaded the Centos 6 x86_64 version of both geany 1.26 >> and the and lib-geany, which I assume is the
2016 Feb 28
1
Latest version of kate editor
On 02/28/2016 06:53 PM, Frank Cox wrote: > On Sun, 28 Feb 2016 16:30:44 +0100 > H wrote: > >> I initially downloaded geany 1.24 from the EPEL repository but now >> wanted to install the plugin package which is not in EPEL. I visited >> your webpage , downloaded the Centos 6 x86_64 version of both geany 1.26 >> and the and lib-geany, which I assume is the
2016 Feb 28
0
Latest version of kate editor
On Sun, 28 Feb 2016 16:30:44 +0100 H wrote: > I initially downloaded geany 1.24 from the EPEL repository but now > wanted to install the plugin package which is not in EPEL. I visited > your webpage , downloaded the Centos 6 x86_64 version of both geany 1.26 > and the and lib-geany, which I assume is the plugin-package, but neither > could be installed. You assume incorrectly.
2009 Dec 02
0
R Batch Mode Customized Input
Dear all, I use R in Batch Mode with the following syntax: X:\...\Rcmd BATCH --slave X\...\test.R X:\...\Log.txt It works very fine. Now I want to write a function and customize the input for my R-File, e.g I want to define the start and the end date. Let's assume that test.R includes only a function like this: analysis<-function(start.date,end.date){...} Is it possible to give
2010 Nov 01
3
Geany plugins out of sync
I'm intending to do some version control, hence looking for some plugins. Geany and geany-plugins packages in Rpmforge seem to be out of sync: Name : geany-plugins Arch : i386 Version : 0.18 Release : 1.el5.rf Name : geany Arch : i386 Version : 0.19.1 Release : 1.el5.rf When both are installed, geany claims that plugins are not
2016 Feb 28
3
Latest version of kate editor
On 02/02/2016 06:29 PM, Frank Cox wrote: > On Tue, 2 Feb 2016 18:02:40 +0100 > H wrote: > >> What do people use as a programming editor on CentOS 6? > I personally use Geany and/or vim, depending on what I'm doing and how I'm doing it. > > You can find pre-compiled rpms for the latest version of geany for Centos 6 and 7 on my website if you want them. (The Centos 6
2009 Oct 27
2
User input when running R code in batch mode
Hi I've been stumbling over a simple issue that undoubtedly has an easy solution. I need to have some way for a user to enter some values into a data frame which R will then work on. I know that data entry should ideally be done otherwise and I should use R only for the computation, but R's data manipulation abilities makes it efficient for me to write the entire code in it. When I ran
2005 Aug 03
1
Modify rescue mode boot?
Hi, I have been able to boot with pxe and load linux rescue, it loads loader and ask me lang, keyboard,load base from nfs, etc... then it ask me about mount chroot or skip, I just choose skip to go to shell. What I want is boot in rescue mode and get a shell directly without having to enter lang, keyboard, nfs ip and dir, skip, etc... once booted on shell I want it automatically run a script
2019 Feb 14
0
Geany 1.34
On Thu, 14 Feb 2019 at 13:25, Stephen John Smoogen <smooge at gmail.com> wrote: > > On Thu, 14 Feb 2019 at 12:47, H <agents at meddatainc.com> wrote: > > > > On 02/14/2019 05:58 PM, Tate Belden wrote: > > > FWIW, on Fedora 29, I'm running Geany 1.34.1 and didn't have to enable > > > anything other than the default repositories. So, it'd
2019 Feb 14
0
Geany 1.34
On Thu, 14 Feb 2019 at 15:18, H <agents at meddatainc.com> wrote: > > On 02/14/2019 08:19 PM, Stephen John Smoogen wrote: > > On Thu, 14 Feb 2019 at 13:25, Stephen John Smoogen <smooge at gmail.com> wrote: > >> On Thu, 14 Feb 2019 at 12:47, H <agents at meddatainc.com> wrote: > >>> On 02/14/2019 05:58 PM, Tate Belden wrote: > >>>>
2019 Feb 14
2
Geany 1.34
On 02/14/2019 08:19 PM, Stephen John Smoogen wrote: > On Thu, 14 Feb 2019 at 13:25, Stephen John Smoogen <smooge at gmail.com> wrote: >> On Thu, 14 Feb 2019 at 12:47, H <agents at meddatainc.com> wrote: >>> On 02/14/2019 05:58 PM, Tate Belden wrote: >>>> FWIW, on Fedora 29, I'm running Geany 1.34.1 and didn't have to enable >>>>
2019 Feb 14
3
Geany 1.34
On Thu, 14 Feb 2019 at 12:47, H <agents at meddatainc.com> wrote: > > On 02/14/2019 05:58 PM, Tate Belden wrote: > > FWIW, on Fedora 29, I'm running Geany 1.34.1 and didn't have to enable > > anything other than the default repositories. So, it'd appear to at least > > be in the stream. > > > > geany-1.34.1-2.fc29.x86_64 > > > > On