commit last pict and Rcode