Maybe this is my problem. Perhaps passing an array of just 1's would work? -- View this message in context: http://n4.nabble.com/Help-running-a-Fortran-subroutine-from-R-tp1595641p1595795.html Sent from the R help mailing list archive at Nabble.com.