Displaying 20 results from an estimated 5000 matches similar to: "temp Rscript file collision on Windows"
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
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
2010 Feb 11
0
Using "Rscript" in combination with "eval()" results in error
Dear List,
I'm having trouble running a .bat file which calls an R-Script via the
command line (using "Rscript").
I put the following line in a file called "test.bat":
Rscript --vanilla test.R
Then I tried to launch "test.bat" via Windows' CMD (I plan to make this a
scheduled Windows task).
The actual R-script ("test.R") is executed just fine
2016 May 23
0
[PATCH 5/5] mllib: add a new run_command helper
Add a simple helper to run a command from a sequence of arguments,
without using a shell: this should help reducing the amount of quoting
ineeded, since arguments are passed straight as such.
Make use of it in the places currently using shell_command, and which
don't assume they can run anything (so no shell redirections, `env`,
etc).
---
builder/builder.ml | 62
2010 May 20
1
Use of R and Rscript in configure/Makevars in packages
We have seen problems with a number of packages which use R/Rscript to
run R code in configure or makefiles.
(a) You must give a full path: there need be no version of R in the
path, and if there is it might not be the version/build of R under
which package installation is being done. So the general form is to
use
${R_HOME}/bin/R
to select the right version. And since ${R_HOME} might
2014 Jan 27
0
[PATCH INCOMPLETE] Rewrite virt-make-fs in C (originally Perl).
It should be very compatible with the Perl version.
---
.gitignore | 3 +
Makefile.am | 2 +-
configure.ac | 1 +
make-fs/Makefile.am | 82 +++++
make-fs/make-fs.c | 736 +++++++++++++++++++++++++++++++++++++++++++
make-fs/test-virt-make-fs.sh | 96 ++++++
make-fs/virt-make-fs.pod | 252 +++++++++++++++
po/POTFILES
2008 Oct 16
1
Rscript -e, Sweave and tempdir()
Hello R-Help
I have a question about the "behind the scenes" behaviour of the Rscript -e command and particularly its interaction with Sweave and tempdir().
We are trying to deploy R as a web service to do water quality analyses and have been writing software to call Sweave via Rscript eg:
cmd> Rscript -e Sweave('sweavefile.Rnw')
One problem we have been having is that
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 Sep 12
2
More strange R CMD build/check errors on Windows
Hi,
This is a follow up to:
https://stat.ethz.ch/pipermail/r-devel/2010-July/057921.html
The Bioconductor daily builds have been reporting a lot of strange
things lately on Windows using R-2.12. This started 2 or 3 months
ago and things are not getting better with recent R-2.12.
Here is a sample from today's build results. We use Windows Server
2003 R2 for the 32-bit builds, Windows
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
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:
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)
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 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
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
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
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
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.
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,
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