similar to: Having a problem with R installation as a shared library

Displaying 20 results from an estimated 10000 matches similar to: "Having a problem with R installation as a shared library"

2012 Oct 23
0
Rserve-PHP client warning
i connected Rserver successfully. can do some functions like rnorm(),print(),etc... i am connecting R with Hive-hadoop i have installed library "RHive" which will take care of connection but when i am connecting it throws warning..like "Warning: type 7 is currently not implemented in the PHP client." code:-->
2013 Sep 15
0
building R, rJava, & Rserve on Centos without admin privileges (or support)
I am trying to build R on a Centos server without admin privileges (or support), so I can call R functions from NetLogo models (via the NetLogo R extension or possibly Rserve), but I'm getting stuck near the end of make. Any suggestions? Here's the setup... $ R_SHELL=/bin/sh $ R_HOME=~/R-devel $ cd $R_HOME; ./configure; make returns ... begin installing recommended package MASS
2006 Jul 13
0
R-2.3.1 --enable-R-shlib
Hi, I've upgraded our server to the latest R version, everything went ok until I wanted to install RServe for our java clients. RServe needs the shared library which can be compiled using configure --enable-R-shlib. All went ok but after running make I got this error: gcc -shared -L/usr/local/lib64 -o libR.so Rembedded.o CConverters.o CommandLineArgs.o Rdynload.o Renviron.o RNG.o apply.o
2003 Sep 22
1
Compiling shared library on Alpha/OSF1
I'm having trouble compiling and installing R as a shared library on Alpha/OSF1. I used ./configure --enable-R-shlib SHLIB_CXXLDFLAGS=-L/lib/cmplrs/cxx (Using configure with --enable-R-shlib alone generated "Could not determine SHLIB_CXXLDFLAGS" errors.) make and everything else were done as specified in the documentation. It compiled everything without visible problems, but on
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?
2011 Sep 05
1
capturing a figure to PDF or Image
Hello, I've been using jpeg(), bmp() and pdf() to capture plots. I've used the parameter "at" in a plot, to define the tickmarks. It works fine on screen, but when I try to print it to a file, it gives a warning: "at" is not a graphical parameter and prints an empty figure. Can you help? Thanks, Eran. [[alternative HTML version deleted]]
2011 Sep 12
5
completing missing samples
Hello, I have a time-series that has some missing samples. I was thinking on completing them using either zero-order hold or linear interpolation. I am looking for an efiicient way (other than a loop...) of identifiying the missing time slots and filling them. Can you think of any methods that might help here? (obviously which(diff(time)>min(diff(time))) will give the locations, but what
2001 May 31
1
Building shared libraries under Windows
I didn't manage to build a c shared library under Windows. I used rcmd shlib both with a source file and with an object file, but I got error messages in both cases. I get the same error messages both using a Dos shell and Cygwin. If I use the source file, I type: rcmd shlib prova.c and what I get is: make[1]: `libR.a' is up to date. windres --include-dir
2011 Aug 30
1
R-Studio Question
Hello, I've switched to R studio from the StatET Eclipse plug-in. I have a question regarding navigating between plots. When I use x11() or windows() new devices are created and I know how to switch back and forth between them. However, when I plot on the device that stands for R-Studio's built-in plot browser, is there a way to switch back between plots? Each new "plot"
2006 Oct 11
0
Accessing R from Java [Broadcast]
I've had good luck with Rserve. http://stats.math.uni-augsburg.de/Rserve/ Hope this helps, Matt -----Original Message----- From: r-help-bounces at stat.math.ethz.ch [mailto:r-help-bounces at stat.math.ethz.ch] On Behalf Of fuad Sent: Tuesday, October 10, 2006 9:58 PM To: R-help at stat.math.ethz.ch Subject: [R] Accessing R from Java [Broadcast] Hello All, I am Fuad from Indonesia. I
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
2009 Jun 12
0
JRclient.RSrvException Exception: Handshake
Hi all, first of all: Sorry for my bad englis, and now the Question: I have some problems with running R from Java. First i tried using rJava (JRI). But the examples didnt work properly. Now im trying to establish a connection by using Rserve and JRclient (RF503). I have the following code, which i`ve found: ------------------------------------------------------------------------ public
2012 Jun 27
1
rJava Error
Hi, I'm receiving an error when I am trying to install rJava. I have posted the error below. RHive_0.0-6.tar.gz rJava_0.9-3.tar.gz RJDBC_0.2-0.tar.gz Rserve_0.6-8.tar.gz [root at localhost Package]# R CMD INSTALL rJava_0.9-3.tar.gz * installing to library ?/usr/local/lib64/R/library? * installing *source* package ?rJava? ... ** package ?rJava? successfully unpacked and MD5 sums checked
2011 Jan 17
0
help on strange installation process of JRI / rJava 0.9.0
Hi Nidhi, > ... On the other hand, I also found that JRI.jar is missing from > both of these (piodev...) installations. ... this is resolved now in the /mnt/tools/r installation. Background: When compiling R, one needs to provide an option "--enable-R-shlib" in order that R is capable of dynamically linking libraries. Now the desired JRI package (Java calls into R) is part of
2010 Feb 27
1
R from Java (cluster heatmaps)
Hello All, I am trying to get cluster heatmaps using R from Java in my application. I got the Rserve using which I am able to make TCP/IP connection to R. I am trying to send a double[][] array (say 5x8 dimensions) to R and convert it into matrix using as.matrix() function in R. Is it correct to do this? Can I directly pass this array to dist() function to generate the distance matrix ? if not
2011 Dec 20
0
RServ 0.6-7 failed to install on RedHat
Hi I need some guidance on how to install RServ 0.6-7 on a Redhat machine R2.14 has been installed on this machine and when I try to install Rserve it returned the following: [root at soso abcde]# R CMD INSTALL Rserve_0.6-7.tar.gz Warning: unknown option ?--enable-R-shlib? * installing to library ?/usr/lib64/R-2.14.0/library? * installing *source* package ?Rserve? ... checking whether to
2010 Nov 11
0
Rserve Installing error on AIX5.3..
Hello all! I am nabsan. I've got error below when I try to install the Rserve0.6.3 on AIX5.3. also I tried several version of Rserve 0.4.3 to 0.6.3.. but there were same error message.. [ld: 0711-317 ERROR: Undefined symbol: .main] any help please. ------------------------------ OS:AIX5.3 R:R2.8.1(--enable-R-shlib) Rserve: I tried .. 0.4.3 - 0.6.3 -------------------------------
2015 Mar 09
0
Fwd: 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.
2012 Oct 19
0
--enable-R-shlib and external BLAS/LAPACK libraries
A couple of years ago (in 2008, using R 2.7.x, I believe) I noted that using the configure switch --enable-R-shlib when buildig R made configure ignore any specified external LAPACK library and use the internal one insted. I asked why, and was told it was intentional. Now, with R 2.15.1, I see that it at least appears that this is no longer the case. I've run configure like this:
2012 Sep 21
0
--enable-R-shlib and external BLAS/LAPACK libraries
A couple of years ago I noted that using the configure switch --enable-R-shlib when buildig R made configure ignore any specified external LAPACK library (I cannot recall if also the BLAS specification was ignored) and use the internal one insted. I asked why, and was told it was intentional. Now, with R 2.15.1, I see that it at least appears that this is no longer the case. I've run