So the best solution I've had just yet for this problem is to convert numeric
to character in C and bypass the Fortran "Write" in that way. Unfortunately
my C is a bit rusty and I'm having trouble getting this to work. I image in
the C it should look something like:
void F77_SUB(converti)(char *c
I recently developed an R package to make available a very large legacy
program written in Fortran. My package has been rejected by CRAN due to
this Write statement with the message "As 'Writing R Extensions' warns you
against including Fortran I/O, this will not be allowed."
The issue is that t
I'm trying to get the this Fortran array bounds check to run on my code as my
package has been rejected for failing this test. I read writing R
extensions and it appears to run this test I should use a Makevars file with
one of the following two flags depending on my compiler:
FCFLAGS = -g -O2 -m