This might be a very basic question, but have not found a convincing answer yet. When executing an R script within the R environment, I can either do source(foo.R)
or system("Rscript foo.R")
. Is there any difference at all between the two approaches, and if so how do the two approaches compare?
This is a really really simple question to which I seem to be entirely unable to get a solution. I would like to do a scatter plot of an observed time series in R, and over this I want to plot the ...