2016-06-10 136 views
-1

我的R安裝似乎已損壞,並且安裝/重新安裝尚未產生任何解決方案。R |無法找到此錯誤的原因[錯誤:對象'EOT'未找到]

R version 3.3.0 (2016-05-03) -- "Supposedly Educational" 
Copyright (C) 2016 The R Foundation for Statistical Computing 
Platform: x86_64-apple-darwin13.4.0 (64-bit) 

R is free software and comes with ABSOLUTELY NO WARRANTY. 
You are welcome to redistribute it under certain conditions. 
Type 'license()' or 'licence()' for distribution details. 

    Natural language support but running in an English locale 

R is a collaborative project with many contributors. 
Type 'contributors()' for more information and 
'citation()' on how to cite R or R packages in publications. 

Type 'demo()' for some demos, 'help()' for on-line help, or 
'help.start()' for an HTML browser interface to help. 
Type 'q()' to quit R. 

Error: object 'EOT' not found 
[Workspace loaded from ~/.RData] 

有關此錯誤可能來自何處的任何建議。我已經嘗試徹底刪除R並重新安裝,升級包等。

系統| Mac OS X Yosemite

+0

好吧,看起來問題是** R **自動加載您之前的工作空間(即位於您的主目錄中的「.RData」文件)的結果。從命令行嘗試輸入'r --vanilla' - 您應該可以像平常一樣使用** R **。或者,您可以刪除該**。RData **文件。 –

+0

謝謝@SteveS。 r - vanilla工作,所以我將它追溯到.Rprofile中的不良數據。 – Muks

回答

0

您可能會在退出時無意中保存了R會話。

嘗試:

rm(list=ls()) 

這將刪除所有的環境變量。