change paint.R