Have you ever tried to use .Call instead of .C? my segfault-problem was solved by using .Call but I am just a beginner and can not explain why this is Alex -- View this message in context: http://r.789695.n4.nabble.com/segfault-after-C-call-tp3872557p3881461.html Sent from the R devel mailing list archive at Nabble.com.