R Programming/Using C or Fortran