Displaying 1 result from an estimated 1 matches for "ctorinterfacingprim".
Did you mean:
ctorinterfacingprimer
2007 Feb 08
1
Help with interfacing C & R
Hi all,
I was trying to set up an interface for using C functions in R. For this, my R file hello2.r is:
---------------------------------------------------------------------------------
hello2 <- function(n) {
.C("hello", as.integer(n))
}
hello2(3)
--------------------------------------------------------------------------------
and my hello.c file is: