পৃষ্ঠাসমূহ

বৃহস্পতিবার, ২০ অক্টোবর, ২০১৬

Solution of problem installing R package in Ubuntu

Sometimes we want to install a package in R via using R console. But we may face problem if our R version is older . It may show errors like this one.
Warning in install.packages :
  package ‘ggplot2’ is not available (for R version 3.0.2)
This kind of package installation problem in Ubuntu linux can be fixed by installing the packaged version distributed by Ubuntu. We need to run  the following command in the terminal.


sudo apt-get install r-cran-packagename
Replace packagename with the package you want to install. In case of ggplot2 we need to run the following command.

sudo apt-get install r-cran-ggplot2

কোন মন্তব্য নেই:

একটি মন্তব্য পোস্ট করুন