Update R scripts.