similar to: Rscript temp file

Displaying 20 results from an estimated 3000 matches similar to: "Rscript temp file"

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
2007 Dec 17
1
names in Rscript -e
Hi, I seem to have a problem when passing named parameters to R via Rscript (R2.5.1, bash shell). As soon as I name elements of a list Rscript generates an error. I will appreciate if someone could point to me a correct way of doing this. Thanks, Vadim ## This works bash-3.2$ Rscript.exe -e 'list(1)' [[1]] [1] 1 # and these do not work bash-3.2$ Rscript.exe -e
2008 Feb 26
1
error loading library
Hi, I am debugging intermittent crashes of R that seem to happen when multiple R sessions nearly summaltaneously load same dll-based library. I have R and my libraries installed on a network drive (everything is Windows). The drive is visible from a farm of servers. I have an R script, foo.R, that just loads a dll-based library (to be precise it loads a library that requires a dll-based
2010 Sep 29
0
temp Rscript file collision on Windows
Hi, The code below (found in src/gnuwin32/system.c) is almost guaranteed to do the wrong thing if 2 Rterm processes are started at the same time (or less than 1 second apart, the resolution of time() being 1 second): /* tmpfile() seems not to work on Vista: it tries to write in c:/ ifp = tmpfile(); */ { char *tm; tm = getenv("TMPDIR"); if (!isDir(tm)) {
2008 Jan 09
1
Rscript on OSX
Hi, I directed somebody to install R (2.6.1) on his OSX computer, following instructions from http://cran.r-project.org/bin/macosx. She can run R from the console. But plot(1:10) doesn't produce any output or open a window (as I am used to from linux). More importantly: Rscript is not in the path (minor problem ln -s is hopefully doable). I tried to put a hardcoded path to Rscript into the
2009 Jul 21
0
building source package in R run within Emacs under Windows.
Dear R-devel, I installed R-2.9.1 on the 'y:' drive which happens to be mounted to an IBRIX file system. I also downloaded and installed the Rtools bundle recommended for 2.9x. When I build a source package launching R via RGui.exe it seems to work fine: ## setting path according to "Appendix E The Windows toolset" >
2008 Oct 03
2
computing on expressions
Dear R-users, Suppose I have an expression: expr = expression(a>0) and now I want to modify it to expression(a>0 & b>0). The following doesn't work: expr = expression(expr & b>0) What would be a good way of doing this? Thanks, Vadim ________________________________ Note: This email is for the confidential use of the named addressee(s) only and may contain
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
2017 Oct 20
1
Rscript Bug Report (improper parsing of [args])
Hi, A user of my `optparse` package discovered a bug in Rscript's parsing of [args]. (https://github.com/trevorld/optparse/issues/24) I've reproduced the bug on my machine including compiling and checking the development version of R. I couldn't find a mention of it in the Bug Tracker or New Features. Can be minimally reproduced on the UNIX command line with following commands:
2008 Mar 21
2
writintg wrappers around save()
Dear R-users, I am trying to write a wrapper function around save() that will report the file which is being saved to. So I thought that the followintg would do the trick, but it doesn't. I understand that 'y' is somehow not visible inside save.verbose, but don't know how to fix this. save.verbose <- function(..., file) { cat("save.verbose:", file, "\n")
2016 Feb 10
0
Change Rscript and `/usr/lib/R/bin/R` relation
Thanks for bringing the question over from StackOverflow [1]. I am not very impressed that you STILL hide behind a pseudonym and I am starting to question my sanity as to why I take time out to help someone like that. Anyway, read on ... [1] http://stackoverflow.com/questions/35313704/rscript-launch-custom-r/ On 10 February 2016 at 15:50, Cron Acronis wrote: | Dear all, | | I am trying to use
2012 Feb 15
1
Cannot use setClass() in Rscript
Greetings, I am creating a standalone executable script using Rscript and have run into problems when I define a new S4 class. Here is a small script that demonstrates my problem: #!/usr/bin/env Rscript # # toy.Rscript -- testing S4 class creation in an Rscript setClass("toy", representation(name = "character", price = "numeric"),
2018 Sep 17
0
Rscript -e does not accept newlines under Linux?
On 16/09/2018 4:53 AM, Voeten, C.C. wrote: > 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)
2011 Aug 17
1
A question about using getSrcDirectory() with R/Rscript
Good morning R-help, I have an idiot question: I would like to use getSrcDirectory() and friends to allow me to identify where an R file has been called from when invoked using Rscript. If I understand the documentation correctly, the following example should work: In file test.R: options(keep.source=T) fn<-function(x){x<-x+1} srcDir<-getSrcDirectory(fn) print(srcDir) I
2018 Apr 26
0
Bug in RScript.exe for 3.5.0
On 04/26/2018 02:23 PM, Kerry Jackson wrote: > Thanks Tomas. > > I confirm the quick workaround works for me in the DOS prompt, and when having a shortcut to RScript in SendTo, and when used in the Task Scheduler. I have not tested the R-devel version, due to my unfamiliarity with installing from source code. Thanks, Kerry. There are binary builds for daily snapshots of R-devel
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,
2018 Apr 26
0
Bug in RScript.exe for 3.5.0
Thanks, actually this is because the snapshot build is still one version behind (74642, the fix is in 74643). When I build my own installer and install it seems to be working fine. Sorry for the confusion, Tomas On 04/26/2018 02:49 PM, Kerry Jackson wrote: > Hi Tomas, > > Thanks for the info about the binary builds; I did install it, however the bug still seems to be there in the
2009 Mar 24
1
problem with Rscript
Hi all, this is probably some tricky configuration file problem, but I figure someone here might have come across this in the past: In short, I've been using Rscript to run my scripts, usually successfully. But recently I've run into a strange problem, and the only function that causes an error is "print". I can create a file that contains only a print command, and it causes
2018 Apr 25
0
Bug in RScript.exe for 3.5.0
Thanks for the report. A quick workaround before this gets fixed is to add an extra first argument that has no space in it, e.g. Rscript --vanilla "foo bar.R" The problem exists on all systems, not just Windows. Best Tomas On 04/25/2018 09:55 PM, Kerry Jackson wrote: > Hi R Developers, > I have found what I think is a bug in the RScript.exe in version 3.5.0 of R for Windows.
2007 May 02
0
Rscript in R-2.5.0 on Ubuntu/dapper
Stephen, I hope you don;t mind that I am ccing this to the r-sig-debian list. In the future, please consider asking there, in particular for Ubuntu. On 2 May 2007 at 15:56, Stephen B. Weston wrote: | Dirk, | | I just downloaded and installed the .deb files for R-2.5.0 | for my Ubuntu/Dapper machine from: | | http://lib.stat.cmu.edu/R/CRAN/bin/linux/ubuntu/dapper/ | | I admit that I