Argument parser for R