Displaying 3 results from an estimated 3 matches for "f77_subroutine".
1998 Jun 15
1
R-beta: fortran problems with 0.62
One of the big problems in mixing fortran and C is knowing if the various
compilers/loaders need extra underscores in the names of the entry points.
The 0.62 release of R, which has reverted to using fortran, seems to be
broken in this respect.
In particular, on a machine which does not append underscores to fortran entry
points (HP-UX 10.20), there are many problems.
It seems that the
2002 Feb 20
1
Pivoting in chol
...,
I have modified my version of R-1.4.1 to include choleski with pivoting
(like in Splus). I thought R-core might consider including this in the
next version of R, so I give below the steps required to facilitate
this.
1. Copied Linpack routine "dchdc.f" into src/appl
2. Inserted line F77_SUBROUTINE(dchdc) in src/appl/ROUTINES
3. Inserted "dchdc.f" into SOURCES_F in appl/Makefile.in
4. Modifed src/library/base/R/chol.R (attached) and
src/library/base/man/chol.Rd (also attached)
5. Tidied up. Removed "chol.f", "dpoco.f" and "dposl.f" from
src/appl/Ma...
2000 Apr 26
2
Cross compiling a package for Windows on Linux
.../base/R/Rprofile from ../../library/profile/Common.R ../../library/profile/Rprofile.gnw--------
mkdir -p ../../../library/base/R
cat ../../library/profile/Common.R ../../library/profile/Rprofile.gnw > ../../../library/base/R/Rprofile
sed -e '/^#/d' -e '/Rsockfork/d' -e 's/F77_SUBROUTINE(\(.*\))/void * \1_();/' -e 's/C_FUNCTION(\(.*\))/void * \1();/' ../../appl/ROUTINES > ../../include/FFDecl.h
sed -e '/^#/d' -e '/Rsockfork/d' -e 's/F77_SUBROUTINE(\(.*\))/ { "\1_", \1_},/' -e 's/C_FUNCTION(\(.*\))/{ "\1", \1 },/' ....