setClass not found when running R script from command line setClass not found when running R script from command line r r