的Ubuntu 12.10 64,R 2.15.2[R安裝2.15.2 Renvirons沒有發現的,Ubuntu 12.10 64
我不知所措,我已經安裝了[R無數次,從來沒有與安裝有絲毫問題。然而,這次當我啓動程序時(通過使用GUI或在終端中輸入「R」),我可以得到這個;
cannot find system Renviron Error : .onLoad failed in loadNamespace() for 'utils', details: call: options(op.utils[toset]) error: invalid value for 'editor'
R version 2.15.2 (2012-10-26) -- "Trick or Treat" Copyright (C) 2012 The R Foundation for Statistical Computing ISBN 3-900051-07-0 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 : .onLoad failed in loadNamespace() for 'utils', details:
call: options(op.utils[toset]) error: invalid value for 'editor' In addition: Warning message: package "methods" in options("defaultPackages") was not found Error : .onLoad failed in loadNamespace() for 'utils', details: call: options(op.utils[toset]) error: invalid value for 'editor' In addition: Warning message: package ‘utils’ in options("defaultPackages") was not found Error : .onLoad failed in loadNamespace() for 'utils', details: call: options(op.utils[toset]) error: invalid value for 'editor' In addition: Warning message: package ‘stats’ in options("defaultPackages") was not found During startup - Warning message: package ‘methods’ in options("defaultPackages") was not found
沒有用,沒有找到包。我從來沒有收到任何有關如何使用Ubuntu的培訓,但從我可以收集的信息我缺少推薦的R包。
我已經嘗試使用終端以及Synaptics Package Manager完全刪除R,然後重新下載從CRAN服務器(它似乎下載太快,我的互聯網連接),然後重新安裝。同樣的信息。我很茫然。
你是如何安裝R的?你指的是什麼GUI?您是否按照http://cran.r-project.org/bin/linux/ubuntu/README.html上的說明進行操作? – Ista 2013-02-26 14:00:07
根據CRAN網站上的說明,我使用本地鏡像[鏈接](http://probability.ca/cran/bin/linux/ubuntu)添加了Quantal的存儲庫,然後運行'sudo apt-get update'和然後'sudo apt-get安裝r-base'我想也許有一些依賴關係丟失? – AlaskaKraska 2013-02-26 23:03:18
嘗試卸載R,然後'sudo rm -r/etc/R /',然後重新安裝R. – Ista 2013-02-26 23:31:39