title: How can I get a Makefile from an existing R package?
body: <p>I like the GBM package in R.</p>
  
  <p>I can't get R's memory management to work with the combination of my machine/data set/task needed for reasons that have been covered elsewhere and should be considered off topic for the purposes of this question.</p>
  
  <p>I would like to "rip" out the GBM algorithm away from R and rebuild it as standalone code.  </p>
  
  <p>Unfortunately there is no Makefile in the package tarball (or indeed any R package tarball I've seen).  Is there a place I can look for straightforward Makefiles of R packages?  Or do I really have to go way back to ground zero and write my own Makefile for the long painful journey ahead?</p>