R-beta: fortran functions

Arjan Buursink (arjan.buursink@pi.net)
Fri, 03 Apr 1998 20:35:28 +0000

Date: Fri, 03 Apr 1998 20:35:28 +0000
From: Arjan Buursink <arjan.buursink@pi.net>
To: r-help@stat.math.ethz.ch
Subject: R-beta: fortran functions


I downloaded the timeslab package for S. I really like this package,
but I can not use the compiled( with f2c and gcc) fortran functions. I
think I did all the things needed to use the fortran functions:

f2c timeslab.f
gcc -g -fpic -c timeslab.c
ld -shared timeslab.o -o timeslab.so

In R I typed:


(I also can load the S functions in the timeslab package)

Whenever I make use of a function in timeslab, that uses a fortran
function from timeslab.so it returns wrong answers.

I hope someone has a solution to this problem because I really do like
R and want to use timeslab.

BTW I have a Linux Redhat 5.0 (i386) system and I am using R version

Thanks in advance.

Arjan Buursink
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request@stat.math.ethz.ch