piloting, made rd_saveAllFigs, but does not quite work