简体   繁体   English

在ubuntu中打开R意外的符号错误

[英]R unexpected symbol error on opening in ubuntu

I am getting this problem on startup with R on an Ubuntu server: 在Ubuntu服务器上使用R启动时出现此问题:

R version 3.0.2 (2013-09-25) -- "Frisbee Sailing"
Copyright (C) 2013 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (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: 1:4: unexpected symbol
1: et default

I tried a new install and the problem persists. 我尝试了新安装,问题仍然存在。 The same things happens when trying to install a package: 尝试安装软件包时会发生相同的事情:

trying URL 'http://cran.cnr.berkeley.edu/src/contrib/HMMpa_1.0.tar.gz'
Content type 'application/x-gzip' length 36272 bytes (35 Kb)
opened URL
==================================================
downloaded 35 Kb

Error: 1:4: unexpected symbol
1: et default
   ^
Execution halted

The downloaded source packages are in
    ‘/tmp/Rtmphumgi9/downloaded_packages’
Warning message:

The unexpected symbol problem was due to broken code in my .Rprofile . unexpected symbol问题是由于我的.Rprofile代码损坏.Rprofile Solution found here: http://r.789695.n4.nabble.com/Error-on-Startup-Error-7-6-unexpected-symbol-7-set-the-td4448600.html 在此处找到解决方案: http : //r.789695.n4.nabble.com/Error-on-Startup-Error-7-6-unexpected-symbol-7-set-the-td4448600.html

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM