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 ".Fort
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 subroutin
G'day all,
On Mon, 25 Oct 2010 06:52:15 -0400
Duncan Murdoch 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
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' or
G'day Remko,
On Mon, 25 Oct 2010 15:33:30 +1100
Remko Duursma 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 your compiler. Though, "
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' or independently with gfo
6 matches
Mail list logo