search for: rdqags

Displaying 7 results from an estimated 7 matches for "rdqags".

2004 Jul 09
1
Example using Rdqags
...ad > the "Writing R extensions" manual but with no success. I > searched the Web and archives but did not find appropriate > example. To be specific, I am looking for an example of the > .c file and .R file aimed to compute the integral of f(x)=x^2 > from 0 to 1 using Rdqags? > > I am running R 1.9.1 on Sun. > Much thanks for any comments/help. > Vicky.
2004 Nov 18
0
Calling Rdqags doesn't produce correct result.
Does anyone has a clue what went wrong in the following attempt? I am trying to call the R built-in function Rdqags() from my C program for numerical integration. Following are the C program and the corresponding R program: C program --------- void test(double *a, double *b, double *epsabs, double *epsrel, double *result, double *abserr,...
2005 May 09
2
use "integrate" for functions defined in C, not R
Dear all, I am trying to use the C code for "integrate" function ( that calls Rdqagi and Rdqags) so that I can integrate a function defined in C, instead of passing from R. Is there a way for doing this? My unsuccessful attempt: I looked into the files (including integrate.c, Applic.h) and 1. modified the definition of "integr_fn" by droping the environment "*ex",...
2007 Jan 19
8
kate editor for R
Like kile for LaTeX, Linux/KDE's kate editor is an excellent editor for R, with easy code submission to a running R process. Syntax highlighting is good. I have not been able to figure out two things: - how to automatically reformat a line or region of text using good indentation rules (Emacs/ESS make this so easy by just hitting Tab while the cursor is in a line, or highlighting a
2023 Jun 16
0
R 4.3.1 is released
...6c011a9724930e356eac4d7ddfcaa63c559f95986063ede3bf91a VERSION-INFO.dcf 8dd0bf24f1023c6f618c3b317383d291b4a494f40d73b983ac22ffea99e4ba99 R-4/R-4.3.1.tar.gz This is the relevant part of the NEWS file CHANGES IN R 4.3.1: C-LEVEL FACILITIES: * The C-level API version of R's integrate(), Rdqags() in Applic.h, now returns the correct number of integrand evaluations neval, fixing PR#18515 reported and diagnosed by Stephen Wade. * The C prototypes for LAPACK calls dspgv and dtptrs in R_exts/Lapack.h had one too many and one too few character length arguments - bu...
2023 Jun 16
0
R 4.3.1 is released
...6c011a9724930e356eac4d7ddfcaa63c559f95986063ede3bf91a VERSION-INFO.dcf 8dd0bf24f1023c6f618c3b317383d291b4a494f40d73b983ac22ffea99e4ba99 R-4/R-4.3.1.tar.gz This is the relevant part of the NEWS file CHANGES IN R 4.3.1: C-LEVEL FACILITIES: * The C-level API version of R's integrate(), Rdqags() in Applic.h, now returns the correct number of integrand evaluations neval, fixing PR#18515 reported and diagnosed by Stephen Wade. * The C prototypes for LAPACK calls dspgv and dtptrs in R_exts/Lapack.h had one too many and one too few character length arguments - bu...
2023 Jun 16
0
R 4.3.1 is released
...6c011a9724930e356eac4d7ddfcaa63c559f95986063ede3bf91a VERSION-INFO.dcf 8dd0bf24f1023c6f618c3b317383d291b4a494f40d73b983ac22ffea99e4ba99 R-4/R-4.3.1.tar.gz This is the relevant part of the NEWS file CHANGES IN R 4.3.1: C-LEVEL FACILITIES: * The C-level API version of R's integrate(), Rdqags() in Applic.h, now returns the correct number of integrand evaluations neval, fixing PR#18515 reported and diagnosed by Stephen Wade. * The C prototypes for LAPACK calls dspgv and dtptrs in R_exts/Lapack.h had one too many and one too few character length arguments - bu...