similar to: rscript in cmd window stop

Displaying 20 results from an estimated 300 matches similar to: "rscript in cmd window stop"

2011 Nov 18
2
xtable and sweave: caption placement problem
Dear All I am running Sweave with xtable and want to put the caption placement on top. But this does not work. Any idea what is going wrong? Here is an example that runs properly with the exception of the caption placement in the pdf-file. \documentclass[11pt,a4paper]{article} \usepackage{Sweave} \begin{document} <<>>= x = runif(100, 1, 10) y = 2 + 3 * x + rnorm(100)
2008 Nov 03
2
Bug in Version 2.80? (PR#13243)
Hi When I have a plot under Windows and want to save it as a ps or jpg using right click, the window for choosing the directory opens. But if I want to choose a directory R freezes. This happens on my XP notebook as well on my P x64 machine. Renger _______________________ Renger van Nieuwkoop=20 Ecoplan - Thunstrasse 22=20 3005 Bern Switzerland=20 Tel. +41 31 356 61 61 Mail: renger at
2012 Mar 11
1
Interfacing between Optimization Software and R
Dear all I was wondering, if there are reasons for R-Users to use (commercial) solver packages like GAMS, AMPL, Matlab, etc. These packages can solve all kind of mathematical optimization problems like (non-) linear problems, mixed complementarity problems, etc. Why I want to know? GAMS corporation developed a R package to send data from GAMS to R (or vice versa). It is called gdxrxw. I use
2007 Jul 13
1
Saving workspace data
Hi I imported a lot of text-files with R and saved them by using: save(list=ls(),file="Grunddaten.Rdata") After that I wanted to check my saved data and wrote source("Grunddaten.Rdata") This gives me an error: Error in parse(file, n = -1, NULL, "?") : Syntax error at 1: Can somebody tell me what I am doing wrong (I am using R.2.4.1)? Renger
2007 Oct 04
1
Sweave and LaTeX
Hi I started using Sweave and LaTeX but have a (smaller) problem. As I am not yet very fluent in LaTeX I do the following: I texify my snw-file to look for errors in my LaTeX and correct them. However, if I have the following chunk, I get an error when texifying: ... \usepackage{Sweave} ... <<echo=F, results=tex>>=
2008 Sep 26
1
Ambisonia proposal
> Also, there has been some recent work on channel mappings for OggPCM (uncompressed PCM data in an Ogg container), which may be related: Our proposal involves only Vorbis. Uncompressed PCM Ambisonics is already well catered for. > It is indeed related. We are proposing a different ambisonic channel scheme (not speaker mapping though) called N3D (different to the usual FuMa scheme). The
2011 May 17
1
Rscript hangs on exit with ubuntu 11.04
Hi, I have run into a strange issue with Rscript and plyr. When running the following Rscript: #!/usr/bin/Rscript library(plyr) d = ddply(data.frame(a=1:101,b=1:101), .(a,b), nrow) head(d) the script does not terminate. It prints out the results from head(d), but does not return to the shell. By changing the a and b to 1:100, the script returns. The same code running within the R shell works
2011 Oct 10
1
HOW TO PASS MY JAVA ARGUMENT INTO RSCRIPT FILE
Hi , I am working in Eclipse IDE , I want to use rscript to produce statistical analysis , I tested a sample rcode in the script its working fine in my Eclipse IDE , but I don't know how to pass my java values into rscript . I need some guidance ,Please help me . Thanks , Janarthanan .M [[alternative HTML version deleted]]
2011 Sep 19
0
[SOLVED] Rscript path problem on R 2.13.1 for Ubuntu 11.04?
Dear all, I Located my previous problem: an orphan Rscript was still in /usr/local/bin, and since /usr/local/bin came before /usr/bin/ in the PATH, the "wrong" Rscript was called. Removing /usr/local/bin/Rscript solved the installation issue with Ubuntu 11.04+R 2.13.1 but I'm still unsure on the exact details why/where/when the error "Rscript execution error: No such file or
2010 Jan 21
1
Rscript question
Hi, I have some code I run interactively through the R interpreter and it works fine. I then run it as a script with Rscript and I get an error. The error is coming when Rscript builds a model matrix. Here is the Rscript code : #!/usr/lib/R/bin/Rscript --verbose require(MASS) options(contrasts = c("contr.treatment", "contr.poly")) .... form <- as.formula(paste(ef.var,
2013 Apr 14
2
script works in Rgui, but failes in Rscript (coords, package 'pROC')
Dearh all, I have following question: a script (using pROC functions) that works when run in Rgui, failes when run through rscript. This is the script: library(pROC) hits <- c("T", "D", "T", "D", "T", "D", "T", "D", "T", "D", "T", "D", "T", "D",
2013 Jan 16
1
Rscript on Mac : specify R64 over R (32-bit version)
Hi, I have both R and R64 installed on Mac OSX 10.8 Mountain Lion (64-bit). When I run the command sessionInfo() from within Rscript, I get: R version 2.15.2 (2012-10-26) Platform: i386-apple-darwin9.8.0/i386 (32-bit) Is there a way to make Rscript point at the R64 rather than R (32-bit)? Thanks, Matt [[alternative HTML version deleted]]
2010 Nov 04
0
Echo to file using Rscript
I use R 2.12.0 in Windows XP. For debugging and control I am trying to get a file with contains the echo when code is copied into the R Gui. This works e.g. with the command: R CMD BATCH --no-restore D:\path\script.r then a file called script.Rout is generated in the same folder. It contains the code and the corresponding output. This does not work using: Rscript --no-restore
2010 Jul 08
1
Why Rscript behaves strangely with file name starting with 'size'?
Hello All, It seems weird to me that Rscript does the following thing and enters the R prompt mode. If I change the file name to something that doesn't start with 'size', then Rscript runs normally. Does anybody know what is going on? $ Rscript size.R WARNING: '--file=size.R' value is invalid: ignored > $ Rscript --version R scripting front-end version 51072 -- Tom
2012 Oct 18
1
good documentation on use of Rscript. where to find?
What is the correct format for the shebang line and what options are allowed or necessary along with this? I find plenty of blogs and opinions, but few authoritative answers. I want an R script to run and update packages periodically, with a cron job that launches it. What is necessary to put in line one of the R program. Aside from the basic part #!/usr/bin/Rscript what else can there be, or
2017 Oct 30
0
Pass Parameters to RScript?
I did a simple search and got hits immediately, e.g. https://www.r-bloggers.com/passing-arguments-to-an-r-script-from-command-lines/ On Mon, Oct 30, 2017 at 2:30 PM, Morkus via R-help <r-help at r-project.org> wrote: > Is it possible to pass parameters to an R Script, say, from Java or other > language? > > I did some searches, but came up blank. > > Thanks very much in
2007 Jan 26
1
Rscript on Windows
On UNIX one can use #! notation. It would be nice to be able to do something similar on Windows. This could be done by giving Rscript the capability of skipping over the first few lines. For example, there might be a --skip=n argument or perhaps Rscript would skip over any consecutive leading lines that begin with @ in the R file since that cannot be syntactically correct R but does have
2008 Feb 15
0
Rscript temp file
Hi, It seems that Rscript creates a temporary file to store the commands passed with the -e option, under normal circumstances the temp file gets deleted at some point. Here is an example of a call I use: q:/R/R-2.6.1/bin/Rscript.exe -e ".libPaths(\"q:/R/vogranovich/library\"); params <- list(a=1); source(foo)" The temp files seem to be a problem when multiple jobs are
2008 Feb 15
0
crash in library(gbm) was: Rscript temp file
The crashes turned out to have nothing to do with the temp files. They seem to be caused by loading library(gbm). That is when many R sessions nearly simultaneously load the library R crashes with the message "The instruction at '0x63422398' referenced memory at '0x63422398'. The required data was not placed into memory because of an I/O error status of
2009 Sep 03
1
Rscript and default packages
Hi, Is is possible to embed inside an R script, the name of the default packages to be loaded when the script is invoked with Rscript. I know about the --default-packages argument, but I was wondering if there was a mechanism to embed this information within the script itself Romain -- Romain Francois Professional R Enthusiast +33(0) 6 28 91 30 30 http://romainfrancois.blog.free.fr |-