[Rd] Crash - cause 'memory not mapped'

Peter Langfelder peter.langfelder at gmail.com
Sat Nov 10 00:33:31 CET 2012


On Fri, Nov 9, 2012 at 3:05 PM, gianluca mastrantonio
<gianluca.mastrantonio at yahoo.it> wrote:
> the error "memory non mapped" happen also if i use
> void FiltroGaus(SEXP size1_r, SEXP size2_r, SEXP sigma_r)
> instead
> SEXP FiltroGaus(SEXP size1_r, SEXP size2_r, SEXP sigma_r) {
>

If you use a .Call on a function, the function must return a SEXP, it
cannot be have a void return value.

Peter



More information about the R-devel mailing list