I don't know much about R graphics (yet), but I can maintain C code. First thing to do would be to make it pass `R CMD check`...