Explicitly set the input query paramers to an array of Strings prior to sending to R.