R interface to the C-library matio