wrapper of Getopt::Long in R