Skip to content
Prev 14126 / 398503 Next

.Fortran()

On Tue, 9 Oct 2001, John Bjornar Bremnes wrote:

            
A properly working version of g77 should work on some platforms (including
Linux), but not others (including Windows).
That works for me (RH6.2, gcc 3.0.1, R 1.3.1).
 file: myfile
[[1]]
[1] "myfile"

[[2]]
[1] 6

[[3]]
 [1] 1.000000 1.414214 1.732051 2.000000 2.236068 2.449490 2.645751 2.828427
 [9] 3.000000 3.162278
attr(,"Csingle")
[1] TRUE

[[4]]
[1] 10

BTW, no one said Fortran I/O would work, and it sometimes is a problem.
Do you have one of the many broken Linux versions of g77?