R |无法找到此错误的原因[错误:对象'EOT'未找到]

问题描述:

我的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

您可能会在退出时无意中保存了R会话。

尝试:

rm(list=ls()) 

这将删除所有的环境变量。