Ah I managed to do it by simple adding a print() statement around the system call... easy :) -- View this message in context: http://r.789695.n4.nabble.com/Output-of-system-not-shown-in-if-tp4626383p4626461.html Sent from the R help mailing list archive at Nabble.com.