"unable to install r package in ubuntu 11.04 [closed]" Code Answer


the install.packages method

you need to install the ubuntu package libxml2-dev so in a shell prompt type:

sudo apt-get update
sudo apt-get install libxml2-dev

you will need special sudo powers for this.

ubuntu package method

as richie and dirk mentioned, you can also use:

sudo apt-get install r-cran-xml

if you go down this path, i would recommend that you check out the r ubuntu sources page which will ensure you have a current version of r and the associated r packages. this could be important if you are using the lts version of ubuntu.

By Nick Spreitzer on September 12 2022

Answers related to “unable to install r package in ubuntu 11.04 [closed]”

Only authorized users can answer the Search term. Please sign in first, or register a free account.