search for: librmath

Displaying 20 results from an estimated 52 matches for "librmath".

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 "gcc test.c -lRmath" on...
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. /***********************************************...
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.
2002 May 31
1
Two questions about nmath
...! 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 `sqrt' /usr/local/libRmath.so: undefined reference to `ceil' /usr/local/libRmath.so: undefined reference to `floor' /usr/local/libRmath.so: undefined reference to `cos' /usr/local/libRmath.so: undefi...
2008 Jan 29
1
The standalone Rmath library and VC++ 2003
Linking my VC++ application with the standalone Rmath library yields the following; ------ Build started: Project: Complex plugin, Configuration: Debug Win32 ------ Linking... Creating library .\../Debug/complex_plugin.lib and object .\../Debug/complex_plugin.exp libRmath.a(mlutils.o) : warning LNK4217: locally defined symbol __iob imported in function _REprintf libRmath.a(dbeta.o) : error LNK2019: unresolved external symbol _log1p referenced in function _dbeta libRmath.a(qbeta.o) : error LNK2019: unresolved external symbol _log1p referenced in function _qbeta li...
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 versi...
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...
2005 Jan 05
1
Standalone Mathlib, C++ and ISNAN()
...' manual. It seems to me that it clearly says R API functions can be called from from C++ programs, and the API includes the special values ISNAN() and R_FINITE() and the missing test ISNA(). R_FINITE is no problem. It is defined as R_finite, which is declared in Rmath.h and included in libRmath. ISNAN() however is broken. In R 1.9 it was defined as R_IsNaNorNA unless IEEE_754 was defined which was not done in the standalone libRmath/Rmath.h. R_IsNaNorNA was declared in Rmath and included in libRmath. So it would work, although probably not when built against an installed R library b...
2012 Dec 18
1
Updating R on RHL5
...ou might consider running yum-complete-transaction first to finish them. The program yum-complete-transaction is found in the yum-utils package. Skipping security plugin, no data --> Running transaction check ---> Package R.x86_64 0:2.15.2-1.el5 set to be updated --> Processing Dependency: libRmath-devel = 2.15.2-1.el5 for package: R --> Processing Dependency: R-devel = 2.15.2-1.el5 for package: R --> Running transaction check ---> Package R-devel.x86_64 0:2.15.2-1.el5 set to be updated --> Processing Dependency: R-core = 2.15.2-1.el5 for package: R-devel --> Processing Depende...
2000 Oct 30
1
unsuccesfully making libRmath.a
...standalone library, after succesfully installing R from the tar.gz file (I am using Linux, with R-patched, but I have similar problems with R-devel). First, when I do: root at ligarto:/usr/lib/R-patched/src/nmath/standalone > make .... ar: mlutils.o: No such file or directory make[1]: *** [libRmath.a] Error 1 make[1]: Leaving directory `/usr/lib/R-patched/src/nmath/standalone' make: *** [archive] Error 2 I tried directly giving the names of the object files to ar, and it seems to work... but not really: > gcc -I/usr/lib/R-patched/src/include-L/usr/lib/R-patched/src/nmath/standalone...
2013 May 15
1
Missing Dependency: tex(latex) is needed by package R-devel - Help Required
...ins: rhnplugin, security This system is not registered with RHN. RHN support will be disabled. Setting up Install Process Parsing package install arguments Resolving Dependencies --> Running transaction check ---> Package R.x86_64 0:2.15.2-1.el5 set to be updated --> Processing Dependency: libRmath-devel = 2.15.2-1.el5 for package: R --> Processing Dependency: R-devel = 2.15.2-1.el5 for package: R --> Running transaction check ---> Package libRmath-devel.x86_64 0:2.15.2-1.el5 set to be updated --> Processing Dependency: libRmath = 2.15.2-1.el5 for package: libRmath-devel ---> P...
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. _________________________________________________________________ -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-devel mailing list --...
2012 Mar 16
1
Segfault while calling fexact in C
...00, mult = 30; int i; for (i=0; i<100000; i++){ fexact(&nr, &nc, x, &nr, &expect, &percnt, &emin, &prt, &p, &workspace, &mult); printf("%d %f\n", i, p); } return 0; } I statically linked the program to libRmath, which I don't suppose has anything to do with problem. I also dynamically linked to libRmath.so which yielded the same problem. nima@nima-laptop:~/BioProject/fet$ gcc -I/usr/share/R/include -lm fexact.c /usr/lib/libRmath.a nima@nima-laptop:~/BioProject/fet$ ./a.out 0 0.408431 1 0.408431 2 0....
2008 Oct 23
4
R-devel going away
...440K installed. It will not bloat the main package to absorb the .h files and a .pc file into the main package. There are no libraries in the R-devel package. * The primary users of R-devel are R addon packages. They can continue to BuildRequires: R-devel safely (hooray for Provides/Requires). * libRmath (the R shared library) will still be a separate package. libRmath-devel will still be a separate package. As far as I know, nothing in Fedora uses libRmath, nor is libRmath-devel necessary for building R addons. Now, I recognize that this is a violation of the Fedora Packaging Guidelines, and I...
2010 Feb 10
3
R package on centos 5.1
Hi ?? I want to install R package on centos 5.1, however I am not able to install it . Can anyone please tell me how can I install R on centos 5.1? Thank you Hersh Your Mail works best with the New Yahoo Optimized IE8. Get it NOW! http://downloads.yahoo.com/in/internetexplorer/ -------------- next part -------------- An HTML attachment was scrubbed... URL:
2016 Jul 23
0
status of the FreeBSD port/package and some questions
...s for shared libraries. .for L in R Rblas Rlapack @if [ -d ${STAGEDIR}${PREFIX}/lib/R/lib ] ; then \ cd ${STAGEDIR}${PREFIX}/lib/R/lib; if [ -f lib${L}.so ] ; then \ ${LN} -sf lib${L}.so lib${L}.so.${${L:tu}_SOVERSION} ; fi; fi .endfor We've also created a separate, simple port/package for libRMath. It basically turns off all configuration options --without-cairo --without-ICU --disable-java --without-jpeglib --without-libintl-prefix --without-libpng --disable-nls --without-readline --without-tcltk --without-libtiff --without-x and installs include/Rmath.h lib/libRmath.a lib/libRmath....
2006 Dec 18
1
Rmath: R libraries from C on Mac OS X
...enerators 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 built on my Mac OS X installation. Any pointers (perhaps to a step by step guide for a _beginner_ on how to install this and then how to compile the C code) would be most appreciated.For completeness, here is my C code (adapted from code that works fine on Linux): #include<string.h&g...
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': /tmp/ccsTxu7U.o(.text+0x20): undefined reference to `qnorm5' collect2: ld returned 1 exit status W...
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
2004 Jun 22
1
R mathlib
Hello, dear R experts! I run R on Debian 'sarge' platform. There is 'r-mathlib' package in Debian distribution, which is described as: $ dpkg --status r-mathlib ... This packages provides the libRmath shared and static libraries which can be called from standalone C or C++ code. Well, I use runif() function in test_runif.c: #include <Rmath.h> main() { // ... printf("%f\n", runif(0, 1)); } and compile it: $ gcc -I/usr/lib/R/include -lRmath -lm -o test_runif test_runif....