ubuntu14.04 R Language Installation

Source: Internet
Author: User
Tags error handling

(1) Installation:

sudo apt-get install R-base-core

(2) If the system has been installed but not good use, need to uninstall (as long as the error is uninstalled)
Uninstall command:

sudo apt-get autoremove r-base-core

(3) After the system inside the package update, command

sudo apt-get update

(4) finally execute (1) to see if it can be installed.
R language editing software is called Rstudio, can be downloaded here: https://www.rstudio.com/products/rstudio/download/#download find their own version of the system
This installation method can be installed in Ubuntu Software Center, or using sudo dpkg-i rstudio-1.1.383-amd64.deb

(5) Error handling
(a) A similar error has occurred

DPKG: Error processing package Texlive-latex-base-doc (--configure):

 dependency problem-still not configured

Processing methods

sudo can be used without the choice of self.

1.$ sudo mv/var/lib/dpkg/info/var/lib/dpkg/info_old//renaming

the info folder now 2.$ sudo mkdir/var/lib/dpkg/info//Create a new info folder
3.$ sudo apt-get update && apt-get-f Install//Don't explain it
. 4.$ sudo mv/var/lib/dpkg/info/*/var/lib/dpkg/info_old//After performing the last step, some files are generated under the new Info folder and are now moved to the Info_old folder
5. $ sudo rm-rf/var/lib/dpkg/info//delete your new info folder
6.$ sudo mv/var/lib/dpkg/info_old/var/lib/dpkg/info// Re-change the previous Info folder

(b) The emergence of similar

/sbin/ldconfig.real:/usr/lib/nvidia-375/libegl.so.1 is not a symbolic link
/sbin/ldconfig.real:/usr/lib32/ Nvidia-375/libegl.so.1 is not a symbolic link

Solutions

sudo mv/usr/lib/nvidia-375/libegl.so.1/usr/lib/nvidia-375/libegl.so.1.org
sudo mv/usr/lib32/nvidia-375/ libegl.so.1/usr/lib32/nvidia-375/libegl.so.1.org
sudo ln-s/usr/lib/nvidia-375/libegl.so.375.39/usr/lib/ Nvidia-375/libegl.so.1
sudo ln-s/usr/lib32/nvidia-375/libegl.so.375.39/usr/lib32/nvidia-375/libegl.so.1

Reference Address: http://blog.csdn.net/langb2014/article/details/54376716
http://blog.csdn.net/u012283902/article/details/66471349
Http://www.mamicode.com/info-detail-1738649.html
Fix the problem and then re-execute the installation steps above

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.