G'day Remko,
On Mon, 25 Oct 2010 15:33:30 +1100
Remko Duursma remkoduur...@gmail.com wrote:
apologies if this is somewhere in a manual, I have not been able to
find anything relevant.
You probably have to set some appropriate flags and the information
should be somewhere in the manual of
Remko Duursma wrote:
Dear R-helpers,
apologies if this is somewhere in a manual, I have not been able to
find anything relevant. I run Windows Vista.
I have some Fortran code in a subroutine, and have no problem calling
this from R with .Fortran, compiling the code either with 'R CMD
SHLIB'
G'day all,
On Mon, 25 Oct 2010 06:52:15 -0400
Duncan Murdoch murdoch.dun...@gmail.com wrote:
Remko Duursma wrote:
[...]
I.e, my code looks something like this:
subroutine f(x,y,z)
call g(x,y,z)
end
subroutine g(x,y,z)
z = x*y
end
calling this from R shows
Berwin A Turlach wrote:
Remko Duursma wrote:
[...]
I.e, my code looks something like this:
subroutine f(x,y,z)
call g(x,y,z)
end
subroutine g(x,y,z)
z = x*y
end
calling this from R shows that subroutine g is not called. The code
compiled as
Hi Berwin and all others who replied:
that did the trick, thanks for your help!
remko
Actually, it turns out that this example is simplified enough. :)
I put this snippet into a file, compiled it via R CMD SHLIB, loaded
it into R and then was very surprised about the result of .Fortran(f,
5 matches
Mail list logo