tidy up R-base gfx

Pull me!!