remove print results method, write.csv to stdout