1
我在.First()中有一個腳本。我將它保存到.RData中,並將它放在一個文件夾中,我將它指向64位Rterm.exe的Windows快捷方式(如here所述)。當我打開快捷我得到錯誤「無法找到的功能。」,甚至對基本功能..Error:「could not find function ..」when using .First()
像這樣:
.First <- function() {
plot(rnorm(100))
}
> sessionInfo()
R version 2.15.0 (2012-03-30)
Platform: x86_64-pc-mingw32/x64 (64-bit)
locale:
[1] LC_COLLATE=German_Austria.1252 LC_CTYPE=German_Austria.1252
[3] LC_MONETARY=German_Austria.1252 LC_NUMERIC=C
[5] LC_TIME=German_Austria.1252
attached base packages:
[1] stats graphics grDevices utils datasets methods base
loaded via a namespace (and not attached):
[1] tools_2.15.0
類似:http://stackoverflow.com/q/11111294/967840 – GSee
謝謝 - 幫助!我仍然會保留這個問題,因爲它可以更直接地解決問題。 – Kay