Displaying 20 results from an estimated 1000 matches similar to: "unsuccesfully making libRmath.a"
2002 May 23
1
nmath standalone
Dear all,
I'm trying to use the as a standalone package the nmath sources.
In R-1.4.1/src/nmath/standalone, in linux operating system I made 'make
shared' to obtain libRmath.so. then I copied the dir standalone, where
there is libRmath.so in /usr/local.
I tried to compile test.c with cc test.c but I obtain this error message
/tmp/ccsTxu7U.o: In function `main':
2005 Aug 11
1
include C functions from nmath in my own C functions
Hi:
I followed the README in src/nmath/standalone/
to make the use the command "make shared" to make the
libRmath.so file. I also add the directories containg
libRmath.so to LD_LIBRARY_PATH by using command
"export
D_LIBRARY_PATH=$LD_LIBRARY_PATH:$/home/zhliu/Backup/R-2.0.1/src/nmath/standalon
e
"
However, when I try to run the following codes by the
command
2004 Apr 14
1
question about /nmath/standalone
Hello,
I can't link a c code with Mathlib according to introduction of R
manual "Writing R Extensions", page 60.
It is written :
"It is possible to build Mathlib, the R set of mathematical functions
documented in
'Rmath.h?, as a standalone library 'libRmath? under Unix and Windows. (This
includes
the functions documented in Section 5.7 [Numerical analysis
2006 Mar 01
3
library file for R's nmath routines
Hi,
I am wondering where the library file for R's nmath routines are?
Doing a search on libR gave me the following:
/usr/lib/libRKC16.so.1.2.0
/usr/lib/libRKC.so.1.2.0
/usr/lib/R/lib/libRlapack.so
/usr/lib/R/lib/libR.so
/usr/lib/libRKC.so.1
/usr/lib/libRKC16.so.1
None of these have the functions in nmath.
Any help? Many thanks and best wishes!
GT
2002 May 31
1
Two questions about nmath
Hi !
1) First question.
Excuse me for trouble with the same question. I still have problems
with the compilation of test.c in src/nmath/standalone.
I did follow the instructions you gave me but I still receive this message
[root at my standalone]# cc -o test test.c -L/usr/local -lRmath
/usr/local/libRmath.so: undefined reference to `log'
/usr/local/libRmath.so: undefined reference to
2010 May 14
5
where is libRmath.a & libRmath.so
I see Rmath.h in include. Why can't I find libRmath.a and/or libRmath.so?
--
View this message in context: http://r.789695.n4.nabble.com/where-is-libRmath-a-libRmath-so-tp2216048p2216048.html
Sent from the R devel mailing list archive at Nabble.com.
2000 Nov 03
1
How to call R functions from a C++ program
Dear R experts,
Could anyone give some concrete examples of how to call R functions from a
program written in C++?
Thanks in advance for your help.
Nathapong Samlamjiag
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
Share information about yourself, create your own public profile at
2000 Dec 14
0
using R's random numbers in another program
Dear All,
I want to use R's random number in a C++ program (I can link libRmath either
as shared or static library). I have two questions:
1. If I understand correctly, the underlaying random number generator will be
Marsaglia-multicarry, UNLESS I provide my own. In other words (unless I
provide it) I cannot use some of the other RNG's available from within R, such
as Mersenne-Twister?
2006 Dec 18
1
Rmath: R libraries from C on Mac OS X
Dear R-experts,
I have been having trouble using R's standalone random number generators
from C on my Mac OS X 10.4.8 system.
I try to compile my C program in the following way:
gcc -Wall -o helloMac helloMac.c -lm -lRmath
I get the following error:
/usr/bin/ld: can't locate file for: -lRmath
I am unable to locate Rmath on my machine. The problem appears to be
that no libRmath.a was
2002 May 24
1
nmath standalone again
Hi !
I have again problem with nmath standalone sources package.
Following the suggestion of Reid, I did control that
/usr/local, in which I copied the dir standalone, is listed in
/etc/ld.so.conf.
However, because of my big ignorance, I don't understand how I have to do
the linkage to Rmath during the compilation of a source.
What does it mean:
"and link against -lRmath" in
2005 Aug 11
1
include C functions from nmath in my own C functions
Hi:
I followed the README in src/nmath/standalone/
to make the use the command "make shared" to make the
libRmath.so file. I also add the directories containg
libRmath.so to LD_LIBRARY_PATH by using command
"export
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$/home/zhliu/Backup/R-2.0.1/src/nmath/standalon
e
"
However, when I try to run the following codes.
2005 Jun 02
1
could not open libRmath.so
Hi
I got a very tricky problem when I tried to compile a C++ program
which links to libRmath.so. The program itself had no problem, I can
compile and run in my own linux machine where I compiled libRmath.so
file and copied it to system directory (/usr/local/lib).
Now I want to compile my program at another linux box where I don't
have root privilege. That machine only has binary version of R,
2002 Apr 30
1
makefile for standalone lib
It appears the Makefile.win in
src/nmath/standalone might need some modification since
cd src/nmath/gnuwin32
make -f Makefile.win
make -f Makefile.win test
fails. However if I remove libRmath.a from line 15
OR
modify lines 67/68 replacing Rmath.a with libRmath.a then
make -f Makefile.win test
goes as expected.
_________________________________________________________________
2004 Apr 14
2
again question about nmath/standalone
Hello,
I forgot to tell you that I am using Linux OS. And I can?t find
directory "src/nmath/standalone". I will send you the test code I am using and
the whole operation process.
[credsim at confsys ~/src]$ gcc test1.c -o test1 -lRmath
test1.c: In function `main':
test1.c:18: warning: assignment makes pointer from integer without a cast
test1.c:19: warning: assignment makes
2004 Apr 22
2
Urgent:again question about nmath/standalone
Hello, all,
I have the same question as the last mail I sent. I have installed libRmath in
my system. But I still can not link Rmath through -lRmath. The whole process
is as follow.Is there anybody who is so kind to help me find out the problem?
I will appreciate very much.
[credsim at confsys ~]$ cd /usr/lib
[credsim at confsys lib]$ ls -l libR*
-rw------- 1 bcdesai bcdesai 237828 Apr
2000 Sep 02
4
colors for background and plotting area
Dear all,
I am trying to prepare some figures where I'd like the color of the plot region
(i.e., the area bounded by the axes) to be different from the margin area
(i.e., the area of the figure not within the axes region). I can use "bg" but
that changes the background of everything? How can I accomplish what I want?
Thanks,
Ramon
--
Ramón Díaz-Uriarte
Triana 47
28016 Madrid
2012 Jan 27
2
The following code (using rgamma) hangs
Hi,
I'm seeing something that may be a bug in R's standalone math library,
which is packaged by Debian as r-mathlib. I reported it to the Debian BTS
as http://bugs.debian.org/657573
I'm using Debian squeeze, and the code was tested with r-mathlib 2.11.1-6
(default on stable) and 2.14.1-1 (from testing/unstable).
I summarize this report below. The following code with the R math
2005 Dec 14
1
R-beta on AIX5.2
I build R-beta on AIX5.2 is failed.
make[3]: Entering directory
`/home/nakama/Rbeta/R-beta/src/nmath'
xlc_r -I. -I../../src/include -I../../src/include -I/usr/local/include
-I/opt/freeware/include -DHAVE_CONFIG_H -q64 -I/usr/local/include
-I/opt/freeware/include -O2 -D_ALL_SOURCE -D_LINUX_SOURCE_COMPAT -c
mlutils.c -o mlutils.o
"nmath.h", line 50.9: 1506-213 (S) Macro name calloc
1999 Apr 10
2
IRIX compile (PR#163)
Full_Name: Tim Middelkoop
Version: 0.64.0
OS: IRIX 6.3 on O2
Submission from: (NULL) (128.119.88.192)
Various IRIX complile issues
src/nmath/pnt.c
IRIX cc does not like double negatives
Makeconf,config.site,etc/Makeconf
f77 pic hack, should change Makeconf.in or other...
change -PIC with -KPIC
enjoy, tim...
===
diff -ru orig/R-0.64.0/src/nmath/pnt.c R-0.64.0/src/nmath/pnt.c
---
2007 Dec 14
1
Improvement of SignRank functions
I took some time and liberty and tried to improve
existing implementation of SignRank functions
in R. (dsignrank, ...)
As I have seen they've been based on csignrank.
So I modified csignrank and, I believe,
improved calculation time and memory efficiency.
The idea is basically the same. I use the same recursion
as original author used with one slight modification.
I am generating Wilcoxon