Displaying 20 results from an estimated 7000 matches similar to: "--interactive and -f/-e"
2015 Apr 29
0
--interactive and -f/-e
>>>>> Mick Jordan <mick.jordan at oracle.com>
>>>>> on Tue, 28 Apr 2015 18:11:54 -0700 writes:
> I was surprised by this:
> R --interactive -e 'interactive()'
> bash-3.2$ R -q -e 'interactive()' --interactive
>> interactive()
> [1] FALSE
>>
> as the command options document says that
2016 Mar 14
2
Help with libiconv problem
A couple of my colleagues are having problems building R-3.2.4 on Mac OS
X El Capitan somehow related to libiconv. I personally don't have any
problems on either of my Macs. I'm hoping thie make log might trigger
something in the readers of this list:
gcc -dynamiclib -Wl,-headerpad_max_install_names -undefined
dynamic_lookup -single_module -multiply_defined suppress
-L../../../../lib
2016 May 03
2
vignette/knitr help
On 5/3/16 11:29 AM, Thierry Onkelinx wrote:
> Dear Mick,
>
> Note that both knitr and rmarkdown are listed under Suggests: both are
> required to compile the vignette. Installing rmarkdown should solve
> the problem. If not, please provide more information. OS, R version,
> digest version, ...
>
>
This is occurring in the context of an automated testing environment
that
2016 Mar 15
4
Regression in strptime
>>>>> peter dalgaard <pdalgd at gmail.com>
>>>>> on Sat, 12 Mar 2016 19:11:40 +0100 writes:
> OK, .Internal is not necessary to reproduce oddity in this area. I also see things like (notice 1980)
>> strptime(paste0(sample(1900:1999,80,replace=TRUE),"/01/01"), "%Y/%m/%d", tz="CET")
...............
>
2016 May 03
2
vignette/knitr help
I need some help understanding a problem running the tests on the
'digest' package. Initially, I got the message that the 'knitr' package
was needed to run vignettes:
Running vignettes for package ?digest?
Error in loadVignetteBuilder(vigns$pkgdir) :
vignette builder 'knitr' not found
So I installed the knitr package and all its dependents (?mime?,
?stringi?,
2015 Jun 12
3
CRAN testing
Is the mechanism by which packages are tested on CRAN described
anywhere? Is it by any chance written in R? The FastR
<https://bitbucket.org/allr/fastr/wiki/Home> team is interested in
running a virtual CRAN where we can test all the CRAN packages on FastR.
Thanks
Mick Jordan
[[alternative HTML version deleted]]
2016 Apr 09
2
Note: no visible definition
On 4/9/16 10:54 AM, Dirk Eddelbuettel wrote:
> On 9 April 2016 at 10:28, Mick Jordan wrote:
> | Can someone explain a message of this form from an rscript execution:
> |
> | Note: no visible global function definition for 'foo'
> |
> |
> | This happens right at the start of execution. 'foo' is only executed in
> | a branch of an 'if' that is not
2007 Jul 04
2
problem with findFun call from embedded R
I was debugging a problem reported to me regarding PL/R, and found that
I can duplicate it using only R sources. It might be characterized as
possibly a misuse of the findFun() function, but I leave that for the R
devel experts to decide.
The below results are all with R-2.5.1 (I can't seem to download
r-patched at the moment, but didn't see anything in the 2.5.1-patched
release
2016 Apr 09
2
Note: no visible definition
Can someone explain a message of this form from an rscript execution:
Note: no visible global function definition for 'foo'
This happens right at the start of execution. 'foo' is only executed in
a branch of an 'if' that is not reached with the particular arguments
passed to the script. If I source the script in a shell and run it I do
not get the message.
Mick
2013 Nov 21
2
Running R embedded in an mpiexec spawned process - Fatal error: you must specify '--save', '--no-save' or '--vanilla'
I'd like someone familiar with the R options initialization to comment on a difference of behavior within/without mpiexec
I have a (.NET) application with embedded R that is proven to run in a single process:
./Sample1.exe
on a Debian Linux with R 3.0.2
Running the same code with mpiexec, it fails at the R engine initialization:
mpiexec -n 1 ./Sample1.exe
Fatal error: you must
2008 Mar 19
1
R_ParseVector problem: it's cutting off after the decimal point
Dear all,
my aim is to integrate R in an interactive visualisation software
called Bulk Analyzer developed by VrVis (http://www.vrvis.at).
the code:
SEXP e, tmp;
ParseStatus status;
PROTECT(tmp = mkString("x <- c(1.234,-3.45)"));
PrintValue(tmp);
PROTECT(e = R_ParseVector(tmp, -1, &status, R_NilValue));
PrintValue(e);
UNPROTECT(2);
produces the following output:
[1] "x
2000 Jun 21
1
Port of R header files to Delphi
I'm in the process of porting R header files to Delphi. The short
term aim is to be able to make calls into the R.dll from Delphi; the
longer term aim is to play around with writing a Windows front-end
with some of the features of the S-PLUS environment (e.g. scripts),
and other features from other IDEs I've used (e.g. watch windows,
popup values of variables selected by mouse, etc.)
2014 Aug 25
1
vignette index going AWOL
I?m preparing a package (fastR) for submission to CRAN, but the vignette index keeps going AWOL, or at least R CMD check ?as-cran thinks so. I?ve tried several things and gave myself the weekend to think of other things, but I can?t figure it out. Perhaps someone on the list can lend a hand.
Here?s one example situation, where I build the index.html file myself and put it in inst/doc/index.html
2007 Feb 21
3
non-interactive R_tryEval does not return
...at least I think that is what happens, at least on some
configurations. Here's a repeatable example:
cd R_HOME/tests/Embedding
touch tmp.R
make tryEval
and then (correct)
> ./tryEval --slave
Error in sqrt("") : Non-numeric argument to mathematical function
Caught an error calling sqrt(). Try again with a different argument.
[1] 3
versus (non-interactive; no return)
>
2012 May 22
2
Best way to locate R executable from within R?
Hi,
I'd like to spawn of a new R process from within R using system(),
e.g. system("R -f myScript.R"). However, just specifying "R" as in
that example is not guaranteed to work, because "R" may not be on the
OS's search path.
What is the best way, from within a running R, to infer the command
(basename or full path) for launching R in way that it works on
2016 Mar 14
0
Help with libiconv problem
On 3/14/16 1:49 PM, Mick Jordan wrote:
> A couple of my colleagues are having problems building R-3.2.4 on Mac
> OS X El Capitan somehow related to libiconv. I personally don't have
> any problems on either of my Macs. I'm hoping thie make log might
> trigger something in the readers of this list:
>
> gcc -dynamiclib -Wl,-headerpad_max_install_names -undefined
>
2008 Jan 11
2
communicate from Rterm
Please, help with announcing an error from Rterm:
I am calling R from an Excel VBA and noticed that if there is an error
nothing conspicuous happens. I would like just a popup window when R
cannot finish cleanly. The "ret " value returned from Shell is useless
in determining what happened.
Thank you all.
*****************************
Public Sub Repo()
ds = InputBox("Type in
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)
2009 Sep 03
1
Running an expression 1MN times using embedded R
Hello,
I'm evaluating this expression
expression({ for(x in 1:5){ .Call('rh_status','x') }})
a million times from a program with R embedded in it. I have attached
reproducible code that crashes with
Program received signal SIGSEGV, Segmentation fault.
0x00002b499ca40a6e in R_gc_internal (size_needed=0) at memory.c:1309
1309 FORWARD_NODE(R_PPStack[i]);
Current language:
2014 Feb 12
1
FastR
Dear all,
at UseR! 2013, the FastR project was announced by Tomas Kalibera, Petr Maj, and Jan Vitek. FastR is an implementation of the R programming language in Java using AST interpretation and specialisation for improved performance. Since, the implementation has been extended to support JIT compilation, leading to performance improvements.
The goal of the project is to further the R community