Displaying 20 results from an estimated 10000 matches similar to: "Rscript in R-2.5.0 on Ubuntu/dapper"
2008 Apr 28
2
Problems with Rscript executable.
Good Morning,
I have recently built R version 2.7.0 on a CentOS release 4.6, 64-bit
system using the following command:
./configure --prefix=/usr/local/r-2.7.0
Everything built fine and works properly except for Rscript which is
looking for files in the original build directory instead of the
specified install directory. Did I forget to add a flag or is this a bug?
TIA,
Gregg.
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
2011 Sep 19
1
Rscript path problem on R 2.13.1 for Ubuntu 11.04?
Dear all,
finally decided to do an Ubuntu upgrade and a new clean R install from
http://cran.r-project.org/bin/linux/ubuntu/.
However, while trying to install a package from R-forge I encountered
problems, involving error messages saying "Rscript execution error: No
such file or directory" (see below).
The same procedure works on Ubuntu 11.04 running R 2.12.1-1 from the
Ubuntu
2007 Aug 27
1
R 2.5.1 - Rscript through tee
Hi, people.
I met a little problem for which someone might have a solution. Let's
say I have an executable file (named "pp.R") with this contents:
#!/usr/bin/Rscript
options(echo=TRUE)
a <- 1
Sys.sleep(3)
a <- 2
If I execute "./pp.R" at the shell prompt, the output shows the timely
progress of the script as expected. If I use "./pp.R | tee
2008 Jan 05
1
Rscript argument processing minor bug with -g
I think there's a minor bug in the argument-processing carried out by Rscript.
The effect is that if one passes "-g" as a flag to the script, it is erroneously
exposed to the main executable's argument processing and therefore generates a
message about not being able to comply with the request for a particular GUI.
Uppercase G is fine as are the other 25 letters in upper or
2016 Feb 12
1
Change Rscript and `/usr/lib/R/bin/R` relation
On Wed, 10 Feb 2016 10:18:51 -0600, Dirk Eddelbuettel wrote:
> 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]
2011 May 20
2
Calling Rscript from Makevars
Hi,
I am trying to package some code to use with R and wanted to call
Rscript from within the Makevars file (I am trying to automate the
setting of the location of a third party library depending on what is
available / the system the package is being installed on).
If I just have a simple Makevars containing
PKG_LIBS= -lnag_nag -L/fserver/nagprod/FL22/fll6a22df/lib
the package is built
2018 Apr 29
0
Bug in RScript.exe for 3.5.0
> Dear Tomas,
>
> thank you for fixing the bug, I still do not find it mentioned in the
> changelog though (neither R-patched nor R-devel), also, see inline below
>
> On Sat, Apr 28, 2018 at 11:36 PM, Tomas Kalibera <tomas.kalibera at gmail.com
> > wrote:
>
>>
>> I don't have an opinion if this requires 3.5.1 to be released soon(er),
>> but I
2007 Apr 30
2
Rscript.Rd example (PR#9644)
One of the examples in Rscript.Rd seems mis-formatted, in that the
format statement is incomplete:
## Not run:
Rscript -e 'date()' -e 'format(Sys.time(), "
Both Rscript.Rd in R 2.5.0 and the version at:
https://svn.r-project.org/R/trunk/src/library/utils/man/Rscript.Rd
have
Rscript -e 'date()' -e 'format(Sys.time(), "%a %b %d %X %Y")'
Do
2010 Oct 14
1
Using Rscript to read from a file
Hello,
I have this script which will be invoked as
Rscript a.r < a.r
a.r follows
#!/usr/bin/Rscript --vanilla
f=file("stdin")
while(TRUE){
y=readLines(f,n=1,warn=TRUE)
if(length(y)==0) break else print(y)
}
But it only reads one line from a.r
How can I read line by line from standard input?
Thank you
Saptarshi
2012 Apr 13
4
#!/usr/bin/env Rscript --vanilla ??
I think that's my first true question (rather than answer)
to R-help.
As R has, for a long time, become my primary scripting and
programming language, I'm prefering at times to write Rscript
files instead of shell scripts, notably when R has nice ways to
do some of the things.
On a standard standalone platform with standard R,
I would start such a script with
2009 Jun 24
1
Rscript segfaults with lazy loading
Hi,
I have an RData file containing a GeneSetCollection object
(Bioconductor), http://www.cs.mu.oz.au/~gabraham/c2.RData. I think it
uses lazy loading because packages are only loaded when I access the
object (see below) in the R console.
When I try the same with Rscript, it segfaults. This happens on 2.9.0
both on Linux and Mac:
Rscript -e 'load("c2.RData"); c2[1]'
***
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
2019 Jan 31
0
Runnable R packages
Belated thanks to all who replied to my initial query. In summary, three
approaches have been mentioned to run R code "in production": 1)
ShinyProxy, mentioned by Tobias, for deploying Shiny applications; 2)
Docker-like solutions, mentioned by Gergely and I?aki; and 3) Solutions
based on Rscript or littler, mentioned by Dirk.
I can't speak to 1) because I don't currently use
2016 Feb 10
2
Change Rscript and `/usr/lib/R/bin/R` relation
Dear all,
I am trying to use multiple version of R unpacked from CRAN deb files.
It does work successfully, except for some packages installation, whether
Rscript has been used. I have configured alternatives and switch R
environments without any problem and can install most of the packages.
'======================================================
$ update-alternatives --display R
R - auto
2018 Sep 16
4
Rscript -e does not accept newlines under Linux?
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)
which works as I expect: I am running Rscript with two arguments, namely (1)
2017 Dec 26
2
Rscript fails with some packages (for example, h5)
Hi Dirk,
Thanks for the solution. Now I know the work-arounds, but still don't
quite get it. Why does R_DEFAULT_PACKAGES has anything to do with
library(methods)? If library(h5) works, it should just work, not depend on
an environment variable. Rscript is not consistent with R, that's my
confusion.
Steve
2017-12-26 20:46 GMT+08:00 Dirk Eddelbuettel <edd at debian.org>:
>
2017 Dec 26
0
Rscript fails with some packages (for example, h5)
On 26 December 2017 at 15:24, Sun Yijiang wrote:
| After looking into C source code, I found that Rscript by default fills
| environment variable R_DEFAULT_PACKAGES with
| "datasets,utils,grDevices,graphics,stats", and it somehow fails some
| package like h5.
|
| The problem here is, not setting R_DEFAULT_PACKAGES is equivalent to
| setting it to a magic value, it's really
2012 Aug 27
2
littler and rJava
Hello list,
I'm having some difficulty getting rJava to load in littler. Even
after a R CMD javareconf and a reinstall of littler, I get this:
jlaing at xenon:~$ r -e "require(rJava)"
Loading required package: rJava
Loading required package: methods
Error : .onLoad failed in loadNamespace() for 'rJava', details:
call: dyn.load(file, DLLpath = DLLpath, ...)
error: unable
2008 May 06
0
Announcement: support of littler, rkward and rpy on Debian/Ubuntu
Dear useRs,
This is to announce that the maintainers of the various distributions
have decided to provide "experimental" up-to-date versions of the
following R related packages on Debian stable and Ubuntu (i386 and
amd64 architectures):
littler
rkward
python-rpy (not on Ubuntu Dapper)
python-rpy-doc (not on Ubuntu Dapper)
By "experimental" we mostly mean that