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

From: Dirk Eddelbuettel <>
Date: Fri, 09 Nov 2012 17:10:36 -0600

On 9 November 2012 at 14:31, niandra wrote:
| extern "C" {
| SEXP FiltroGaus(SEXP size1_r, SEXP size2_r, SEXP sigma_r) {


| The compilation go without errors but when in R i type
| .C("FiltroGaus",3,3,2)

You missed the part in "Writing R Extension" about .C() and .Call() arguments. You are mixing both approaches here, which usually ends badly.

Do some more reading, and maybe study some existing (simpler) examples / packages. You really do not need to engage OpenCV headers and libraries before you understand the basics better.


Dirk Eddelbuettel | |

______________________________________________ mailing list
Received on Fri 09 Nov 2012 - 23:13:37 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 Sat 10 Nov 2012 - 02:10:57 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.

list of date sections of archive