Displaying 20 results from an estimated 6000 matches similar to: "Build options for R"
2008 Mar 06
1
build options for R
Hello Everyone,
Recently I was given a Java servlet based web calculator that will
call R (libR.so to be exact) but I am having trouble trying to disable R
from requiring --save, --no-save or --vanilla... Is there any way to
build R on linux and disable R from asking --save, --no-save or --vanilla??
Thanks!
-scz
2015 Aug 20
2
Child thread libR.so
So I'm working on a custom front end to R, in one mode of the front
end I dynamically load libR.so into a child worker thread. I'm very
careful to make sure it is loaded by a single thread and loaded only
once, but since it is a child thread it violates assumptions made by
the stack size checking inside of R and I get innumerable errors along
the lines of
Error: C stack usage
2009 Jul 06
7
Testing memory limits in R??
Hello Everyone,
We have recently purchased a server which has 64GB of memory running
a 64bit OS and I have compiled R from source with the following config
./configure --prefix=/usr/local/R-2.9.1 --enable-Rshlib
--enable-BLAS-shlib --enable-shared --with-readline --with-iconv
--with-x --with-tcktk --with-aqua --with-libpng --with-jpeglib
and I would like to verify that I can use
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
2015 Aug 25
0
Child thread libR.so
Simon,
Ah, thank you! quiet right. For anyone searching for this in the
future, I changed my init fuction to:
---------- SNIP ----------------
void init_r() {
SEXP aperm_function;
/* this is our version of Rf_initEmbeddedR where we disable stack
checking */
const char *init_argv[] = {"MyFront", "--vanilla", "--slave"};
Rf_initialize_R(sizeof
2015 Aug 24
0
Child thread libR.so
I did some poking around with GDB and confirmed that the advice of
setting R_CStackLimit after init, which is echoed in the "threading
issues" section of the R-exts help document, isn't entirely useful
because init apparently loads the main package which trips over the
broken stack checking.
Stack trace:
#0 R_SignalCStackOverflow (usage=140732197147604) at errors.c:81
#1
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
2010 Jan 04
1
bin/exec/R coredumps (PR#14177)
Full_Name: Jens Elkner
Version: 2.10.1
OS: Solaris
Submission from: (NULL) (87.188.113.172)
elkner.idev2 elkner/build/R-2.10.1 > bin/exec/R -e
Segmentation fault (core dumped)
elkner.idev2 elkner/build/R-2.10.1 > dbx bin/exec/R core
For information about new features see `help changes'
To remove this message, put `dbxenv suppress_startup_message 7.7' in your
.dbxrc
Reading R
core
2013 Nov 10
1
Embedded R Fails When Run on LSF Queue System
Hi,
I had a quick question I was hoping someone might be able to answer, as my journey through the source code so far has not been very profitable. I have a command line program that embeds R, and the program works just fine when run from the command line. However, when I run the program as a job in the LSF cluster at my institute, the following error occurs:
Fatal error: you must specify
2005 Feb 04
5
simple example of C interface to R
i'd like to use the C interface to R in a program i'm writing. as a
starting point, i'm trying to create a very simple C program that uses
R. i've read the R documentation on this, but i'm having trouble
figuring out where SEXP is defined and how to use it.
i noticed someone else on this list also tried to use the C interface,
but they ran into similar problems:
2007 Oct 13
1
R API - optim
I am trying to use the R API to call optim functions (nmmin, vmmin, lbfgsb,
etc.) through a C program but I couldn't find the shared library to link
under the R-2.6.0 build which is compiled under Linux (REL5).
main.cpp:35: undefined reference to `Rf_initEmbeddedR(int, char**)'
main.cpp:41: undefined reference to `nmmin'
Thanks in advance for any help.
------------------------
2008 Jan 02
1
setting the seed in standalone code using Rlib
Hi,
Is the below -- setSeed -- an okay way to set the seed in standalone
applications making use of Rlib? It seems to work as expected. Is
there a better way to do it? (I'm also looking at do_setseed but am
unsure what to supply as op. findFun("set.seed", R_GlobalEnv)?) Thanks
much.
--
David Faden, dfaden at iastate.edu
AIM: pitulx
--
#include <assert.h>
#include
2003 Apr 28
1
Red Hat 9 regex symbol conflict
Hello,
I've been struggling with a problem for the past several weeks, trying
to get PL/R (R procedural language handler for PostgreSQL,
http://www.joeconway.com/plr/) to work on Red Hat 9. In brief, R dumps
core during the embedded library initialization, while in Rf_regcomp(),
working on on Rprofile. Below I've included the important parts of a
backtrace:
Program received signal
2018 Oct 01
1
unexpected memory.limit on windows in embedded R
Dear All,
I'm linking R from another application and embedding it as described in the
R-exts manual, i.e. with initialization done via Rf_initEmbeddedR.
While everything works the same as in standalone R for Linux, under Windows
I found a difference in the default memory.limit, which is fixed to 2GB
(both win32 and win64) - compared to a limit in standalone R of 3.5GB for
win32 and 16GB on
2005 Sep 22
1
Rf_initEmbeddedR in Windows
Hi All
My C++/linux program uses Rf_initEmbeddedR to start R and then calls some
R functions. Now I try to port it to Windows. Give the fact that
Rf_initEmbeddedR is missing in Windows, I try to use the implmentation in
Rserve by Simon Urbanek. When I build in MS Visual Studio, I get the
following linking error
error LNK2019: unresolved external symbol __imp__putenv referenced in
function
2006 Nov 25
3
Multiple Conditional Tranformations
Greetings,
I'm learning R and I'm stuck on a basic concept: how to specify a
logical condition once and then perform multiple transformations under
that condition. The program below is simplified to demonstrate the goal.
Its results are exactly what I want, but I would like to check the
logical state of gender only once and create both (or any number of)
scores at once.
2022 Oct 10
1
[Bug 3481] New: PAM_TEXT_INFO messages are shown twice if they are the last conversation
https://bugzilla.mindrot.org/show_bug.cgi?id=3481
Bug ID: 3481
Summary: PAM_TEXT_INFO messages are shown twice if they are the
last conversation
Product: Portable OpenSSH
Version: 8.4p1
Hardware: Other
OS: Linux
Status: NEW
Severity: normal
Priority: P5
Component:
2012 Nov 14
2
R.dll Reference Guide?
Is there a reference guide to the complete set of functions and their
arguments that are available in the R.dll library for Windows, i.e. the set
of functions that includes "Rf_initEmbeddedR" and "Rf_endEmbeddedR" listed
in section 8.2.2 of the Writing R Extensions manual?
This may be more of an indictment of my lexical searching skills than
anything else, but I was unable to
2010 Jan 30
2
Stop packages and datasets to be loaded on startup.
Hi.
I would like to know how to start an embedded R session, and avoid
datasets and the standard library packages to be loaded on startup.
I've been looking at littler's code (so this is partly a question to
Dirk Eddelbuettel...):
> /* We don't require() default packages upon startup; rather, we
> * set up delayedAssign's instead. see autoloads().
>
2007 Apr 03
2
R callbacks
Hi,
I'm trying to understand (mostly from the R-exts manual) how to use
the callbacks declared in Rinterface.h. As a first attempt, I'm trying
to redefine ptr_R_WriteConsole in a very trivial manner. Here's my
code:
---------------
$ cat altr.c
int Rf_initialize_R(int ac, char **av);
#define R_INTERFACE_PTRS 1
#include <Rinterface.h>
extern int R_running_as_main_program;