Error when install any packages on R after installing new OS
Error when install any packages on R after installing new OS
I tried to install any package on R but I always got an error like shown on picture below:
Error for xlsx package:
xlsx

Error for quadprog package:
quadprog

What should I do to solve this problem?
Below is my R.Version() output:
> R.Version()
$platform
[1] "x86_64-pc-linux-gnu"
$arch
[1] "x86_64"
$os
[1] "linux-gnu"
$system
[1] "x86_64, linux-gnu"
$status
[1] ""
$major
[1] "3"
$minor
[1] "3.1"
$year
[1] "2016"
$month
[1] "06"
$day
[1] "21"
$`svn rev`
[1] "70800"
$language
[1] "R"
$version.string
[1] "R version 3.3.1 (2016-06-21)"
$nickname
[1] "Bug in Your Hair"
2 Answers
2
It appears likely that you need to install the gfortan library, which you can install using the terminal command sudo apt-get install gfortran-4.6 and the other error can be solved by installing java.
sudo apt-get install gfortran-4.6
I solved this after I installed gcc
By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.
I had Java installed on my laptop. Like now, I try to install dplyr, I still get error message.
– chandra sutrisno
Aug 1 '16 at 5:46