search for: r_inlin

Displaying 11 results from an estimated 11 matches for "r_inlin".

Did you mean: r_inline
2015 Sep 20
2
Long vectors: Missing values and R_xlen_t?
Is there a missing value constant defined for R_xlen_t, cf. NA_INTEGER (== R_NaInt == INT_MIN) for int(eger)? If not, is it correct to assume that missing values should be taken care/tested for before coercing from int or double? Thank you, Henrik
2012 Oct 21
1
FreeBSD installation problems
...ran program See `config.log' for more details jaymax-#393:# ls config.log config.log jaymax-#394:# wc config.log 3859 14227 118427 config.log jaymax-#395:# tail -30 config.log ... ... ... #define HAVE_INTPTR_T 1 #define HAVE_UINTPTR_T 1 #define R_INLINE inline #define SIZEOF_INT 4 #define INT_32_BITS 1 #define SIZEOF_LONG 4 #define SIZEOF_LONG_LONG 8 #define SIZEOF_DOUBLE 8 #define SIZEOF_LONG_DOUBLE 12 #define SIZEOF_SIZE_T 4 configure: exit 1 jaymax-#396:# I then provided the compilers explicitly ....
2005 Apr 19
0
R 2.0.1 install problem on Solaris 9
..._SYS_UTSNAME_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDARG_H 1 | #define HAVE_STRING_H 1 | #define HAVE_POSIX_SETJMP 1 | #define RETSIGTYPE void | #define HAVE_DECL_SIZE_MAX 1 | #define SOCKLEN_T socklen_t | #define WORDS_BIGENDIAN 1 | #define R_INLINE inline | #define SIZEOF_INT 4 | #define INT_32_BITS 1 | #define SIZEOF_LONG 4 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_LONG_DOUBLE 16 | /* end confdefs.h. */ | | /* Override any gcc2 internal prototype to avoid an error. */ | #ifdef __cplusplus | extern "C" | #endif | /* We use c...
2014 Sep 26
1
configure: error: linking to Fortran libraries from C fails
..._SIGLONGJMP 1 | #define HAVE_POSIX_SETJMP 1 | #define HAVE_GLIBC2 1 | #define RETSIGTYPE void | #define HAVE_INT64_T 1 | #define HAVE_INT_FAST64_T 1 | #define HAVE_DECL_SIZE_MAX 1 | #define R_SOCKLEN_T socklen_t | #define HAVE_STACK_T 1 | #define HAVE_INTPTR_T 1 | #define HAVE_UINTPTR_T 1 | #define R_INLINE inline | #define SIZEOF_INT 4 | #define INT_32_BITS 1 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_DOUBLE 8 | #define SIZEOF_SIZE_T 8 | #define HAVE_LONG_DOUBLE 1 | #define SIZEOF_LONG_DOUBLE 16 | /* end confdefs.h. */ | #define F77_DUMMY_MAIN _main | #ifdef F77_DUMMY_MAI...
2015 Sep 21
0
Long vectors: Missing values and R_xlen_t?
...NA value is never stored in R_xlen_t even for indexing. --- cut here, content below is less relevant --- That said, when converting packages from "legacy" .Call code before long vector support which used asInteger() to convert an index I tend to use this utility for convenience: static R_INLINE R_xlen_t asLength(SEXP x, R_xlen_t NA) { double d; if (TYPEOF(x) == INTSXP && LENGTH(x) > 0) { int res = INTEGER(x)[0]; return (res == NA_INTEGER) ? NA : ((R_xlen_t) res); } d = asReal(x); return (R_finite(d)) ? ((R_xlen_t) d) : NA; } Note that this...
2005 Apr 07
0
R 2.1.0 (beta) on IRIX
...by default so you need to supply the relevant flags. Major problems: -------------- 1) inline function in src/extra/bzip2 The function BZ2_indexIntoF is declared inline in bzlib.c and extern in bzlib_private.h. The linker claims that the symbol is undefined. This can be solved by removing the R_INLINE keyword. I can't see another solution, and reading these guidelines on inlining ( http://www.greenend.org.uk/rjk/2003/03/inline.html ) leaves me no wiser. 2) IEEE arithmetic The standalone math library fails to compile, as the compiler chokes on the definition of ML_POSINF, ML_NEGINF and ML...
2005 Feb 08
0
Compiling R as a shared library
...HAVE_SYS_UTSNAME_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_WCHAR_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_STDARG_H 1 | #define HAVE_STRING_H 1 | #define HAVE_POSIX_SETJMP 1 | #define HAVE_GLIBC2 1 | #define RETSIGTYPE void | #define HAVE_DECL_SIZE_MAX 1 | #define SOCKLEN_T socklen_t | #define R_INLINE inline | #define SIZEOF_INT 4 | #define INT_32_BITS 1 | #define SIZEOF_LONG 8 | #define SIZEOF_LONG_LONG 8 | #define SIZEOF_LONG_DOUBLE 16 | #define F77_FUNC(name,NAME) name ## _ | #define F77_FUNC_(name,NAME) name ## __ | #define HAVE_F77_UNDERSCORE 1 | #define HAVE_DOUBLE_COMPLEX 1 | #define SHL...
2010 Sep 03
1
Fourteen patches to speed up R
I've continued to work on speeding up R, and now have a collection of fourteen patches, some of which speed up particular functions, and some of which reduce general interpretive overhead. The total speed improvement from these patches is substantial. It varies a lot from one R program to the next, of course, and probably from one machine to the next, but speedups of 25% can be expected in
2004 Oct 04
7
R 2.0.0 is released
...'uninstall' targets -- see the README file in that directory. o More of the header files, including Rinternals.h, Rdefines.h and Rversion.h, are now suitable for calling directly from C++. o Configure looks to a suitable option for inlining C code which made available as macro R_INLINE: see `Writing R Extensions' for further details. DEPRECATED & DEFUNCT o Direct use of R INSTALL|REMOVE|BATCH|COMPILE|SHLIB has been removed: use R CMD instead. o La.eigen(), tetragamma(), pentagamma(), package.contents() and package.description() are defunct. o The undo...
2004 Oct 04
7
R 2.0.0 is released
...'uninstall' targets -- see the README file in that directory. o More of the header files, including Rinternals.h, Rdefines.h and Rversion.h, are now suitable for calling directly from C++. o Configure looks to a suitable option for inlining C code which made available as macro R_INLINE: see `Writing R Extensions' for further details. DEPRECATED & DEFUNCT o Direct use of R INSTALL|REMOVE|BATCH|COMPILE|SHLIB has been removed: use R CMD instead. o La.eigen(), tetragamma(), pentagamma(), package.contents() and package.description() are defunct. o The undo...
2005 Feb 05
2
Problems compiling (configure) R on Ubuntu linux (debian)
...GE "R" #define PACKAGE_BUGREPORT "r-bugs at R-project.org" #define PACKAGE_NAME "R" #define PACKAGE_STRING "R 2.0.1" #define PACKAGE_TARNAME "R" #define PACKAGE_VERSION "2.0.1" #define RETSIGTYPE void #define R_CPU "i686" #define R_INLINE inline #define R_OS "linux-gnu" #define R_PLATFORM "i686-pc-linux-gnu" #define R_VENDOR "pc" #define SIZEOF_INT 4 #define SIZEOF_LONG 4 #define SIZEOF_LONG_DOUBLE 12 #define SIZEOF_LONG_LONG 8 #define SOCKLEN_T socklen_t #define STDC_HEADERS 1 #define STDC_HEADERS 1 #...