search for: rf_runif

Displaying 6 results from an estimated 6 matches for "rf_runif".

2004 Jun 22
1
R mathlib
...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.c /tmp/ccmICWeD.o(.text+0x2d): In function `main': : undefined reference to `Rf_runif' collect2: ld returned 1 exit status Replacing `-lm' with `-lR' solves the problem. So, I need libR.so anyway? Thanks. -- WBR, Timur
2011 Jan 20
1
Calling C++ from R
Hi All, I am new to this area and use Rcpp to call C++ from R and try to build the package under Windows 7. I use Rtools and R 2.10.1 32bit. Everything works fine with me, except using R functions like "rnorm" or "runif" in the C++ code. When I use "R CMD check" the package, it always return error ** libs making DLL ... g++
2007 Jan 30
1
Solaris 10 compilation issue
...arithmetic.o Rf_qpois arithmetic.o Rf_rbeta random.o Rf_qunif arithmetic.o Rf_rgeom random.o Rf_rnorm random.o Rf_rpois random.o Rf_runif random.o Rf_bessel_i arithmetic.o Rf_bessel_j arithmetic.o Rf_bessel_k arithmetic.o Rf_bessel_y arithmetic.o Rf_lgammafn arithmetic.o BM_norm_keep...
2007 Jan 30
1
Difficulty with compiling R-2.4.1 on solaris 10
...arithmetic.o Rf_qpois arithmetic.o Rf_rbeta random.o Rf_qunif arithmetic.o Rf_rgeom random.o Rf_rnorm random.o Rf_rpois random.o Rf_runif random.o Rf_bessel_i arithmetic.o Rf_bessel_j arithmetic.o Rf_bessel_k arithmetic.o Rf_bessel_y arithmetic.o Rf_lgammafn arithmetic.o BM_norm_keep...
2007 Jan 30
0
R Compiling issue
...Rf_imax2 bind.o Rf_lbeta arithmetic.o Rf_pbeta arithmetic.o Rf_pgeom arithmetic.o Rf_ppois arithmetic.o Rf_qbeta arithmetic.o Rf_punif arithmetic.o Rf_qgeom arithmetic.o Rf_qpois arithmetic.o Rf_rbeta random.o Rf_qunif arithmetic.o Rf_rgeom random.o Rf_rnorm random.o Rf_rpois random.o Rf_runif random.o Rf_bessel_i arithmetic.o Rf_bessel_j arithmetic.o Rf_bessel_k arithmetic.o Rf_bessel_y arithmetic.o Rf_lgammafn arithmetic.o BM_norm_keep RNG.o Rf_gammafn arithmetic.o inflateInit_ ../extra/zlib/libz.a(uncompr.o) fft_work fourier.o Rf_pweibull arithmetic.o Rf_qweibull arithmetic...
2007 Jan 30
0
Issue with compiling R on solaris 10
...arithmetic.o Rf_qpois arithmetic.o Rf_rbeta random.o Rf_qunif arithmetic.o Rf_rgeom random.o Rf_rnorm random.o Rf_rpois random.o Rf_runif random.o Rf_bessel_i arithmetic.o Rf_bessel_j arithmetic.o Rf_bessel_k arithmetic.o Rf_bessel_y arithmetic.o Rf_lgammafn arithmetic.o BM_norm_keep...