简体   繁体   English

Android手机中Ubuntu上的vim R插件安装问题

[英]vim R plugin installation issues on Ubuntu in Android phone

There was another thread on vim-R-plugin but since it was bit old, I started this new thread. vim-R-plugin上还有另一个线程,但是由于它有点旧,所以我启动了这个新线程。 Also my situation is kind of different, since I am trying this on a mobile device, Samsung vibrate. 同样,我的情况也有所不同,因为我正在移动设备上尝试此操作,因此三星会振动。

I was following instructions in this site : 我正在按照此网站上的说明进行操作:

I got stuck installing a R package called vimcom . 我被困安装了名为vimcom的R软件包。 No matter how I tried it always come up with the error : 无论我如何尝试,总是会出现错误:

.onLoad failed in loadNamespace()for 'vimcom', details:.......
........................ 

Ubuntu version is maverick: 10.14 Ubuntu版本特立独行:10.14
R-version 2.11 R版本2.11

What can I do to solve this error? 我该怎么办才能解决此错误?

The post is a bit old but I had some problems too. 帖子有点旧,但我也遇到了一些问题。 I was using: 我正在使用:

  • Ubuntu 14.04.02 LTS Ubuntu 14.04.02 LTS
  • Vim 7.4.273 Vim 7.4.273
  • Vim-R-Plugin-1.2-3 Vim-R-插件-1.2-3
  • Vimcom-1.2-3 Vimcom-1.2-3

and unfortunately the default R version was up at 3.2.0 after upgrading all binaries with 不幸的是,在升级所有二进制文件后,默认的R版本是3.2.0

sudo apt-get update; 
sudo apt-get upgrade;

R --version 
3.2.0

So using Ubuntu's after removing the R packages 所以在删除R软件包后使用Ubuntu

sudo apt-get remove --auto-remove r-recommended r-base r-base-core

apt-cache search tool to find the available older packages: apt-cache搜索工具,以找到可用的旧软件包:

sudo apt-cache showpkg r-base-core

in this there was options for 3.1.3-1trusty0. 在此有3.1.3-1trusty0的选项。 So hence installing the generation previous was available with: 因此,安装上一代产品可以使用:

sudo apt-get install r-base-core=3.1.3-1trusty0
sudo apt-get install r-recommend=3.1.3-1trusty0 
sudo apt-get install r-base=3.1.3-1trusty0

Thence vimcom could be installed by the standard method and every thing worked. 因此,可以通过标准方法安装vimcom,并且一切正常。 PS just a note, I accidentally thought removing r-base was sufficient, it wasn't - you need to remove r-base-core or you'll remain at 3.2.0. PS只是一个提示,我不小心以为删除r-base就足够了,那还不够-您需要删除r-base-core,否则您将保持在3.2.0。 Hope that helps somebody. 希望能帮助到别人。

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

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