try add R wrapper
workable R wrapper
finish dump
chg
chg wrapper
complete R example
seems ok