Rscript does not load methods package, R does — why, and what are the consequences?

后端 未结 1 855
孤街浪徒
孤街浪徒 2020-11-28 12:08

Just saw this:

$ Rscript -e \"sessionInfo()[\'basePkgs\']\"
$basePkgs
[1] \"stats\"     \"graphics\"  \"grDevices\" \"utils\"     \"datasets\"  \"base\"

$ R         


        
相关标签:
1条回答
  • 2020-11-28 12:34

    According to ?Rscript the methods package isn't loaded because, "The default for Rscript omits methods as it takes about 60% of the startup time."

    0 讨论(0)
提交回复
热议问题