Displaying 20 results from an estimated 10000 matches similar to: "main() in libR?"
2012 Jan 20
1
Building R on RHEL 5
Hello,
I am trying to upgrade to the latest R release on a machine running Red Hat el5.? Previously I was successful at building R 2.11, but now I am having troubles with R 2.14.
Configure goes fine, but then make throws a lot of errors (output below).? Any idea what I am doing wrong this time around?
Thanks in advance,
Erik
make output:
...
gcc -std=gnu99 -I../../src/extra/zlib
2009 May 08
2
I don't see libR.so in my installation directory
Hi,
I installed R 2.9.0 a couple of days ago on a
linux machine. At the root of installation,
I see 4 directories: bin, lib64, share, and src.
I don't see libR.so anywhere. (In the following
context, . (dot) indicates the root of my insta-
llation.) I do see:
./lib64/R/lib/libRblas.so
./lib64/R/lib/libRlapack.so
I became aware of such as I was preparing for
an installation of little r.
2017 Aug 23
2
No rule to make target all.R, needed by compiler.rdb building R 3.4.1 from source, Scientific Linux release 6.9 (Carbon)
Thanks again, sorry I didn't specify this. I am loading new libraries to get to this point. The script I run for "configure" is:
#Load the new curl module
module load libs/gcc/4.4.7/curl/7.47.1
#Load the new xzutils module
module load apps/gcc/4.4.7/xzutils/5.2.2
#Load the new zlib module
module load libs/gcc/4.4.7/zlib/1.2.8
#Load the new bzip2 module
module load
2006 Apr 03
2
Build failure with this morning's R-alpha
Trying to build a Debian snapshot of R-alpha based on last night's tarball,
it fails with what looks like a missing -lm linking directive:
[...]
gcc -I. -I../../src/include -I../../src/include -DHAVE_CONFIG_H -fpic -O2 -c version.c -o version.o
gcc -I. -I../../src/include -I../../src/include -DHAVE_CONFIG_H -fpic -O2 -c vfonts.c -o vfonts.o
g77 -fpic -O2 -c xxxpr.f -o
2003 Oct 18
1
libR.dylib on OS X
If one installs the CLI and RAqua versions, by saying both "make
install"
and "make install-aqua", then packages that use libR.dylib get their
symbols from
/Applications/StartR.app/RAqua.app/Contents/Frameworks/libR.dylib
and not from /usr/local/lib/R/bin/libR.dylib.
That's unfortunate, because the first is likely to change, and the
second is not.
For instance, what
2015 Mar 09
3
Rstudio R-devel libR.so
Dear All,
I am actually on R-devel using shell consol. When I run RStudio, it can't
find libR.so in the new /lib folder where is libRblas.so libRlapack.so.
At first step I configure R-devel to share library with ./configure
--enable-R-shlib.
when I copied libR.so from /usr/lib/R/lib/libR.so (stable version R 3.1)
to /usr/local/R-devel/lib/libR.so (R-devel version), That doesn't work.
2015 Mar 09
3
Rstudio R-devel libR.so
Dear All,
I am actually on R-devel using shell consol. When I run RStudio, it can't
find libR.so in the new /lib folder where is libRblas.so libRlapack.so.
At first step I configure R-devel to share library with ./configure
--enable-R-shlib.
when I copied libR.so from /usr/lib/R/lib/libR.so (stable version R 3.1)
to /usr/local/R-devel/lib/libR.so (R-devel version), That doesn't work.
2017 Apr 20
1
Intel MKL compiling issue
On our Scientific Linux 6, there is
gcc --version
gcc (GCC) 4.4.7 20120313 (Red Hat 4.4.7-17)
and later version (a symbolic at HOME to the system directory),
export MKL=/home/jhz22/11.3.3.210/mkl
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$MKLROOT/lib/intel64
./configure --prefix=/home/jhz22 LDFLAGS=-L/home/jhz22/lib CPPFLAGS=-I/home/jhz22/include \
--enable-R-shlib --with-lapack \
2018 Jun 20
3
libR.so error to install R-3.5.0 in Ubuntu 18.04
I tried to install R-3.5.0 from source on my Ubuntu 18.04, and met this
problem:
../../lib/libR.so: undefined reference to 'ucol_strcollIter_58'
../../lib/libR.so: undefined reference to 'u_getVersion_58'
../../lib/libR.so: undefined reference to 'uloc_setDefault_58'
../../lib/libR.so: undefined reference to 'ucol_close_58'
../../lib/libR.so: undefined reference to
2014 Mar 12
1
2 versions of same library loaded
Can anyone help me understand how I got 2 versions of the same library
loaded, how to prevent it, and what the consequences are? Running under
Debian GNU/Linux squeeze.
lsof and /proc/xxx/map both show 2 copies of several libraries loaded:
/home/ross/install/lib/libmpi.so.1.3.0
/home/ross/install/lib/libopen-pal.so.6.1.0
/home/ross/install/lib/libopen-rte.so.7.0.0
2010 Oct 03
2
R-beta_2010-10-02_r53128 fails to compile on FreeBSD
I tried to compile R-beta_2010-10-02_r53128 on FreeBSD 9.0-CURRENT
(amd64) with gcc-4.4.5 and it fails:
-----------------------------------------
gcc -std=gnu99 -I../../src/extra/zlib -I../../src/extra/bzip2
-I../../src/extra/pcre -I../../src/extra -I. -I../../src/include
-I../../src/include -I/usr/local/include -DHAVE_CONFIG_H -g -O2 -c
sysutils.c -o sysutils.o
sysutils.c: In function
2018 Jun 21
1
libR.so error to install R-3.5.0 in Ubuntu 18.04
Thanks Dirk!
I wrongly thought the R-3.5.0 Binary was NOT default R for Ubuntu 18.04 as
some of my R packages requires updated R version.
Anyway, with your suggestion all went well like charm. Thank you very much!
Back to the problem, actually I saw different versions of libicu* such as:
/home/yifang/anaconda3/lib/libicudata.so.58
2009 Nov 28
2
[Fwd: opened symbols in libR.so available.]
Hi.
I've patched Dirk Eddelbuettel's Debian package of R, namely r-base, in
order to make hidden symbols of the library libR.so available is now
available:
http://yziquel.homelinux.org/debian/pool/main/r/r-base/
For instance, the mkPROMISE symbol is available:
> yziquel at seldon:/usr/lib/R/lib$ nm -D libR.so | grep mkPROMISE
> 000000000011f6f0 T Rf_mkPROMISE
> yziquel at
2010 Feb 16
1
Build failure on Solaris 10 (SPARC)
I'm trying to build R 2.10.1 on a Sun Blade 1000 running Solaris 10 (03/05
release). I've installed iconv 1.13.1 and used:
CPPFLAGS="-I /export/home/drkirkby/sage-4.3.3.alpha0/local/include"
(which is where iconv is)
LDFLAGS=
-R/export/home/drkirkby/sage-4.3.3.alpha0/local/lib
-L/export/home/drkirkby/sage-4.3.3.alpha0/local/lib
The build of R fails as below.
gcc
2024 Feb 20
1
Compiling libR as a standalone C library for java+jni (-fPIC)
(cross-posted on SO: https://stackoverflow.com/questions/78022766)
Hi all,
I'm trying to compile R as a static library with the -fPIC flag so I can use it within java+JNI (is it only possible ?), but I cannot find the right flags in '.configure' to compile R this way.
I tested various flags but I cannot find the correct syntax.
for now, my latest attempt was
```
rm -rvf?
2004 Aug 14
1
Rserve needs (but cannot find) libR.a (or maybe it's .so)
I have successfully installed Rserv (http://stats.math.uni-augsburg.de/Rserve)
on Mac OS, but I have trouble on two different linux platforms.
R CMD INSTALL Rserve_0.3-10.tar.gz
fails with this message
** libs
gcc -g -O2 -I/usr/local/include -L/usr/local/lib Rserv.c -o Rserve \
-DDAEMON -O -I/usr/local/lib/R/include -Iinclude -I. -lR -L/usr/local/lib/R/bin -ldl -lcrypt
2007 Nov 07
1
problem in linking to libR.so with R 2.5.0
Dear All,
I tried to write a C++ program that uses R internals and I encounter
"undefined reference" error when linking to libR.so. Here is an small
example of the program test.cpp:
extern "C" {
#include <config.h>
#include <IOStuff.h>
int main(int argc, char** argv)
{
R_IoBufferInit(&R_ConsoleIob);
return 0;
}
}
I built it using:
g++ -o test
2008 Jun 03
1
IBM-AIX 5.2 (GCC 4.2.4 installed) - Error while executing 'make'
Hi,
The following error occurs while executing 'make' after the successful
configuration (./configure) on IBM-AIX 5.2 (GCC 4.2.4 installed):
gcc -std=gnu99 -I../../src/extra/zlib -I../../src/extra/bzip2
-I../../src/extra/pcre -I. -I../../src/include -I../../src/include
-I/usr/local/include -DHAVE_CONFIG_H -mno-fp-in-toc -g -O2 -c vfonts.c -o
vfonts.o
gfortran -g
2007 Apr 18
1
undefined symbol: Rf_rownamesgets
I get the error
undefined symbol: Rf_rownamesgets
when I try to load my package, which include C++ code that calls that
function. This is particularly strange since the code also calls
Rf_classgets, and it loaded OK with just that.
Can anyone tell me what's going on?
For the record, I worked around this with the general purpose
attribute setting commands and R_RowNamesSymbol. I
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