ADMB to R interface functions