String[] optionsDel = new String[2];
optionsDel[0] = "-R";
optionsDel[1] = "";
for (int i = 0; i < rmAttributes.length; i++)
optionsDel[1] += (1+data.attribute(rmAttributes[i]).index()) + ",";
Remove remove = new Remove();
remove.setOptions(optionsDel);
remove.setInputFormat(data);
data = Filter.useFilter(data, remove);
}
// setting class attribute if the data format does not provide this information
// E.g., the XRFF format saves the class attribute information as well
if (data.classIndex() == -1)