Re: [Rd] Crash - cause 'memory not mapped'

From: Peter Langfelder <peter.langfelder_at_gmail.com>
Date: Fri, 09 Nov 2012 15:33:31 -0800

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



R-devel_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Sat 10 Nov 2012 - 12:46:12 GMT

This quarter's messages: by month, or sorted: [ by date ] [ by thread ] [ by subject ] [ by author ]

All messages

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Mon 12 Nov 2012 - 02:40:51 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-devel. Please read the posting guide before posting to the list.

list of date sections of archive