title: Port R into Cuda
body: <p>I have a function <code>fun1</code> written in <code>R</code> that takes a long time to run.   I need to run said function a large number of times.</p>
  
  <p>I have done some reading about running <code>R</code> programs on graphics cards and have only come up with a few packages that can run very specific functions (most matrix manipulation).</p>
  
  <p>My question is: Is there a way to run <code>fun1</code> or any user written function, on a graphics card (parallelized for speed).  Such as a CUDA interpreter for <code>R</code> that could be installed, or maybe a way to compile <code>R</code> functions for cuda so that all I would have to do would be to write a little bit of <code>Cuda/C</code> to excecute my function originally written in <code>R</code>?</p>
  
  <p>Anything and everything is helpful</p>