From peter.langfelder at gmail.com  Sat Nov 10 00:33:31 2012
From: peter.langfelder at gmail.com (Peter Langfelder)
Date: Fri, 9 Nov 2012 15:33:31 -0800
Subject: [Rd] Crash - cause 'memory not mapped'
In-Reply-To: <C82D3210-6C35-4F60-9B18-415838FEB365@yahoo.it>
References: <1352500311165-4649141.post@n4.nabble.com>
	<CA+hbrhX8xFdsK0D2fvOy-=+8=6-wWM4gUhqomSEKV0xkTA=Bng@mail.gmail.com>
	<C82D3210-6C35-4F60-9B18-415838FEB365@yahoo.it>
Message-ID: <CA+hbrhX8Vp9bEBFpmyc4V+WvbtbaOoq1-BSumsJsP_MUHk7kdQ@mail.gmail.com>

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



[Rd] Crash - cause 'memory not mapped'
Peter Langfelder