Fix conversion of string vector to R.