similar to: R mathlib

Displaying 20 results from an estimated 700 matches similar to: "R mathlib"

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 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 02
1
calling R's library using C
Hi, Thanks, everyone for all the help! So, here is my calling function in C (called test.c): #include<stdio.h> #include<stdlib.h> #include<Rmath.h> int main(void) { printf("%f \n",pchisq(2.,7., 1, 0)); printf("%f \n",pnchisq(2.,7.,0., 1, 0)); return EXIT_SUCCESS; } I compile using: gcc test.c -I/usr/lib/R/include
2006 Mar 03
1
Fwd: Re: calling R's library using C
Sorry, forgot to switch the header to the R group.... --- Globe Trotter <itsme_410 at yahoo.com> wrote: > Date: Thu, 2 Mar 2006 19:35:21 -0800 (PST) > From: Globe Trotter <itsme_410 at yahoo.com> > Subject: Re: [R] calling R's library using C > To: Dirk Eddelbuettel <edd at debian.org> > > Hi, Dirk: > > Thanks for all the help. I thought I would
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
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
2002 Jan 14
1
trouble using R Mathlib as standalone
Dear People, I am trying to use R's Math library as standalone, as documented in /src/nmath/standalone. I am using C++ in Debian testing, and the versions are as follows: ii g++-3.0 3.0.3-1 The GNU C++ compiler. ii r-mathlib 1.4.0-1 `GNU S' - Standalone R math library I have a file (rand.cc) as follows. I don't think that lattice.hh or mh.hh are very
2005 Jan 05
1
Standalone Mathlib, C++ and ISNAN()
In the hope of some meaningful response and ignoring the risk of further abuse, let me try to clarify the issue here. I have re-read the 'Writing R Extensions' 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
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
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
2007 May 31
1
Problems when linking to R shared library
Folks, I'm fairly sure that I'm doing something stupid, but I'm getting a few really strange results from *some* of the distributions, but by no means all, when I link directly to the R shared library. I've tried this on both Windows with the precompiled Mingw binary of R-2.5.0 (compiling my code with MinGW-3.4.2), and by building R-2.5.0 on Mandriva Linux with gcc-3.4.4 and
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 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.
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
2000 Oct 30
1
unsuccesfully making libRmath.a
Dear All, I am having problems making and using the 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
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':
2000 Mar 02
1
Mathlib
First of all I would like to join the chorus of approval over the release of R 1.0.0. It really is an excellent piece of software. I'm sure you will astonish us again with Omega. I have a query about Mathlib. It is such a nice collection of functions that it would be nice to use it in other software, not necessarily related to R. Is it possible to build Mathlib separately, and/or install
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
2008 May 13
1
Catching warning message(stdout) from C
I'm using the 'pnt' C function from Rmath library in some C-code. How can I catch the warning message: "full precision was not achieved in 'pnt'" in R. I call the function using the .C(). (options(warn=-1) didn't work) Thanks in advance -- Maarten van Iterson Center for Human and Clinical Genetics Leiden University Medical Center (LUMC) Research Building,