RProvider and chart