upload graphs and their R codes