improve rimport function
use inline keyword
avoid Rdefines.h
RDict -> RList