Displaying 9 results from an estimated 9 matches for "prtutil".
2008 Apr 18
1
R-extension in unix system -- help to locate header files
...windows but I'm moving to unix system
because my PC doesn't have enough memory. My C codes requires to include the
following header files:
#include <stdlib.h>
#include <R.h>
#include <Rdefines.h>
#include <Rmath.h>
#include <R_ext/Applic.h>
#include <R_ext/PrtUtil.h>
In windows, I had no problem with it because I set the path for Rtools
and R etc.
But in unix system, these header files call other header files and
they call other
header files... And some files are not in R folders so I have to
manually find them
and give path and it takes for ever. For ex...
2004 Jun 22
3
[Q] GET_DIM() crash on Windows only
...ion(libname, pkgname) {
if (version$major == 1 && version$minor < 8.1) {
stop("Requires R 1.8.1 or later")
}
library.dynam("getdim", pkgname, libname)
}
src/getdim.c
------------
#include <R.h>
#include <Rdefines.h>
#include <R_ext/PrtUtil.h>
int GetMatrixDimen(SEXP vntX, int *nrow, int *ncol)
{
SEXP vntXdim;
int nX;
#ifdef DEBUG_GETDIM
REprintf("In GetMatrixDimen()...\n");
#endif
/**** Code crashes here on Windoze ******/
PROTECT(vntXdim = GET_DIM(vntX));
#ifdef DEBUG_GETDIM
REprintf("\tgot d...
2000 Mar 08
1
installing package in Windows
...l C routines run just fine, though the ones with C
routines give an error like "...C/Fortran function name not in load table."
Any hints on what I should fiddle with next, or what I read next?
One other thing...the "R.h" include file doesn't seem to include the
"R_ext/PrtUtil.h", where Rprintf is defined. If I wish to use Rprintf, should
I include the latter file; should it have been included in R.h?
Thanks!
karl
-----------------
Karl W Broman
kbroman at jhsph.edu
-----------------
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-...
2009 Jun 12
1
Can't get F77_CALL(dgemm) to work [SEC=UNCLASSIFIED]
...for Cm were the same in both
cases.
Any help would be much appreciated.
Cheers
Daniel
C Code
#include <R.h>
#include <stdio.h>
#include <R_ext/Lapack.h>
#include <R_ext/Applic.h>
#include "math.h"
#define BLAS_H
#include "MPQL.h"
#include <R_ext/PrtUtil.h>
void MPQL(int *iterations) {
double **Am;
double *Am_vec;
double **Bm;
double *Bm_vec;
double **Cm;
double *Cm_vec;
double one = 1.0;
double zero = 0.0;
int j, r, c;
int rows_A =5;
int cols_A =...
2008 Apr 06
0
manual 'Writing R Extensions': bug in example
...TAG(args) !=
R_NilValue )".
May I suggest to the maintainer of the manual to change the example to
the following code? (Changes to original: lines 1, 2, 15, 17, 18 added;
one line deleted after line 13.)
1 #include <R.h>
2 #include <Rinternals.h>
3 #include <R_ext/PrtUtil.h>
4
5 SEXP showArgs(SEXP args)
6 {
7 int i, nargs;
8 Rcomplex cpl;
9 const char *name;
10 SEXP el;
11
12 args = CDR(args); /* skip 'name' */
13 for(i = 0; args != R_NilValue; i++, args = CDR(args)) {
14
15 if( TAG(args) != R_NilValue )
16 name = CHAR(P...
2006 Apr 12
0
headerfile translation to Delphi (Pascal) completed
...4 (MAYBE LATER - exported in Rlapack.dll)
libextern.h (xx) - (contains defines - not relevant)
Linpack.h xxxx 4 (MAYBE LATER)
Memory.h ~~~> 3 rhR.pas
Print.h ~~~> 2 rhR.pas
PrtUtil.h ---> 3 rhPrtUtil.pas
R-ftp-http.h ---> 3 rhRftpHttp.pas
R.h ~~~> 3 rhTypesAndConsts.pas
Random.h ~~~> 3 rhR.pas / rhTypesAndConsts.pas
RConverters.h --->...
2013 Apr 03
0
R 3.0.0 is released
...e same time. To reproduce
the previous behaviour set environment variable R_PARALLEL_PORT
to 10187.
C-LEVEL FACILITIES:
o There has been some minor re-organization of the non-API header
files. In particular, Rinternals.h no longer includes the
non-API header R_exts/PrtUtil.h, and that no longer includes
R_exts/Print.h.
o Passing NULL to .C() is now an error.
o .C() and .Fortran() now warn if "single" arguments are used with
DUP = FALSE, as changes to such arguments are not returned to the
caller.
o C entry points R_qsort and...
2013 Apr 03
0
R 3.0.0 is released
...e same time. To reproduce
the previous behaviour set environment variable R_PARALLEL_PORT
to 10187.
C-LEVEL FACILITIES:
o There has been some minor re-organization of the non-API header
files. In particular, Rinternals.h no longer includes the
non-API header R_exts/PrtUtil.h, and that no longer includes
R_exts/Print.h.
o Passing NULL to .C() is now an error.
o .C() and .Fortran() now warn if "single" arguments are used with
DUP = FALSE, as changes to such arguments are not returned to the
caller.
o C entry points R_qsort and...
2000 Feb 17
2
Installation of rpm file on Suse Linux 6.2 (PR#449)
...action: create
D: file: /usr/local/lib/R/include/Fortran.h action: create
D: file: /usr/local/lib/R/include/Linpack.h action: create
D: file: /usr/local/lib/R/include/Mathlib.h action: create
D: file: /usr/local/lib/R/include/Memory.h action: create
D: file: /usr/local/lib/R/include/PrtUtil.h action: create
D: file: /usr/local/lib/R/include/Random.h action: create
D: file: /usr/local/lib/R/include/Rconfig.h action: create
D: file: /usr/local/lib/R/include/Rdefines.h action: create
D: file: /usr/local/lib/R/include/Rinternals.h action: create
D: file: /usr/local/lib/R/in...