converts a list of rv names to an arff file