Integrate C Language in R