[Rd] fortan common block

Sharpie chuck at sharpsteen.net
Sun May 8 03:09:18 CEST 2011

Paul Gilbert wrote:
> Is it possible in R to call a fortran routine that sets variables in a
> common block and expect the values to persist when a call is made from R
> to a second routine that uses the common block?
> If not (as I suspect),  is it possible to use a common block in a group of
> routines that are used together, for as long the routines do not return to
> R?
> Paul

Don't see why not--should be pretty easy to test. Personally, I would use
variables in a Fortran 90 module over a common block.


Charlie Sharpsteen
Undergraduate-- Environmental Resources Engineering
Humboldt State University
View this message in context: http://r.789695.n4.nabble.com/fortan-common-block-tp3503204p3506373.html
Sent from the R devel mailing list archive at Nabble.com.

More information about the R-devel mailing list