Sometimes it is helpful to visualise data in time, especially when doing signal processing. What could be done is to generate images in R representing each frame, and then stiching the images up into a movie format. Here is an example of phase shifting a sine wave 1 degree per frame:
Here is the R code used. Note the av library used.