Skip to content

Fortran source code

3 messages · Ka Yee Yeung, Peter Dalgaard, Brian Ripley

#
Hi,

I am wondering if it is possible to view the Fortran source code called by
R functions.

In particular, I am interested in the "leaps.setup" function in a
package called "leaps", which calls Fortran functions "ssleaps", "initr"
etc.

Any help would be greatly appreciated.

Ka Yee Yeung
Bioinformatics Scientist
Dept of Microbiology
University of Washington
#
Ka Yee Yeung <kayee at u.washington.edu> writes:
R is Open Source, and so are most of the packages developed for it.
Would be a rare case if the source code was not available.
Look inside

http://cran.r-project.org/src/contrib/leaps_2.6.tar.gz
#
They are part of the package leaps_2.6.tar.gz on CRAN.  Just look at the 
source package and not (I assume) a binary installation.
On Mon, 26 Jan 2004, Ka Yee Yeung wrote: