search for: myrcod

Displaying 4 results from an estimated 4 matches for "myrcod".

Did you mean: myrcode
2012 May 03
1
is there a way of identifying batch mode running?
...g from within R whether a script has been source(d) from Rgui.exe or via Rscript.exe in batch mode? For the code I have I use the commandArgs() function to pick up command line args when running in batch mode via Rscript.exe However I like to get the code working manually first using source("MyRCode.r") I'd like to be able to put something at the top of the file that discriminates between the two running modes eg #Rscript.exe --slave -e source('MyRCode.r') "some_data_file.txt" if(batchmode = TRUE){ #get arguments for script from command line foo <- commandArg...
2007 Oct 04
1
Problem with .libPaths & Rterm.exe (under Vista)
...() returns correctly 2 locations (the personal local library and the ?common? one in ?program files?) as it does with RGui.exe . Does anyone have an idea how or why I can?t see the location of the additional libraries ? Could it be a problem with the attributes of : Rterm.exe --vanilla -q < myRcode.r (Note that I had no difficulties with these attributes calling R under Win XP or Linux, but never faced the problem of multiple locations for libraries.) please find below the code form *(a)* launching : Rterm.exe ?vanilla ?q < myRcode.r (where ?local? libs are *NOT found*) :** > ....
2006 May 01
0
process monitoring, a simple question
Hi, I have a R program running very long and I run it in batch mode as below: R CMD BATCH < myRcode.R In myRcode.R, I have four steps and I want to "echo" the entry when the program reaches that point. However, using cat command only output "echo" info into .R.Rout file. Is there a way to do like this onto the screen: step1 is running... step1 is done. and so on. Thanks....
2008 Jul 01
1
select.list() cannot be used non-interactively
Hi. With the previous version of R, it was possible to execute the function 'select.list()' in BATCH mode. In this way, I could write my R code in a .R file and execute that with a double click on a .bat file, that contain the instruction tu run my R code in batch mode (R CMD BATCH myRcode.R). When I do that, a windows appear and I just have to select an item from the list. Now I've installed the version 2.6.2 and this function is fobidden with this error message in the .Rout file: type<-select.list(list=c("Type 1","Type 2","Type 3")) Error in...