next up previous
Next: Speed Up: R, S, and Splus Previous: Calling BUGS from within

Using C, C++, and Fortran within R and Splus

Note that when working with C (also GSL functions), matrices are row-major - namely they are stored by row in a vector. So the second element of the vector is the second element of the first row. In contrast Fortran and Matlab are column major so the second element would be the second element of the first column.


next up previous
Next: Speed Up: R, S, and Splus Previous: Calling BUGS from within
Chris Paciorek 2012-01-21