Interactive manipulation of R expressions