[R] Converting Fortran or C++ etc to R

2011-01-07 Thread Murray Jorgensen
I will wind this thread up with some happy comments. I have indeed succeeded in constructing an R program to do the same thing as my Fortran program for an EM algorithm. I have not done timings yet but it seems to run acceptably fast for my purposes. The key code to be replaced was the E and

Re: [R] Converting Fortran or C++ etc to R

2011-01-05 Thread lcn
I did a quick search for interfacing R and Fortran. Found this past information. Hope it helps. :D http://r.789695.n4.nabble.com/Conerned-about-Interfacing-R-with-Fortran-td887428.html As for your actual requirement to do the convertion, I guess there'd not exist any quick ways. You have to be

Re: [R] Converting Fortran or C++ etc to R

2011-01-05 Thread Barry Rowlingson
On Wed, Jan 5, 2011 at 7:33 AM, lcn lcn...@gmail.com wrote: As for your actual requirement to do the convertion, I guess there'd not exist any quick ways. You have to be both familiar with R and the other language to make the rewrite work. To make the rewrite work _well_ is the bigger

Re: [R] Converting Fortran or C++ etc to R

2011-01-05 Thread Murray Jorgensen
Thanks Barry and thanks to others who applied off-list. I can see that I should have given more details about my motives for wanting to replace a Fortran program by an R one. At this stage I want to get something working in pure R because it is easier to fool around with and tweak with than

Re: [R] Converting Fortran or C++ etc to R

2011-01-05 Thread David Duffy
Murray Jorgensen m...@stats.waikato.ac.nz wrote: I'm going to try my hand at converting some Fortran programs to R. Does anyone know of any good articles giving hints at such tasks? I will post a selective summary of my gleanings. Presuming you don't mean .Fortran(), I have gone both ways.

Re: [R] Converting Fortran or C++ etc to R

2011-01-05 Thread Peter Langfelder
On Tue, Jan 4, 2011 at 4:02 PM, Murray Jorgensen m...@stats.waikato.ac.nz wrote: I'm going to try my hand at converting some Fortran programs to R. Does anyone know of any good articles giving hints at such tasks? I will post a selective summary of my gleanings. If the code uses

[R] Converting Fortran or C++ etc to R

2011-01-04 Thread Murray Jorgensen
I'm going to try my hand at converting some Fortran programs to R. Does anyone know of any good articles giving hints at such tasks? I will post a selective summary of my gleanings. Cheers, Murray -- Dr Murray Jorgensen http://www.stats.waikato.ac.nz/Staff/maj.html Department of