I have a run_stat.r
script that can run in command line such as Rscript anova.r
on my ubuntu server:
#load package
library(ez)
#run code....
The problem is that the loading time of ez
package would take 2~3 seconds.
Can R preload the package one time, so that it doesn't need to re-load the same package every time I run the script? Any suggestions to speed up the loading time of the package?