add some buf and list functions in R

yes it is