R Studio Server Error while installing missForest package

Hi everyone!
I am trying to install missForest package, but I got this error, even if randomForest package in installed.
Any suggestions?

install.packages("missForest", dependencies = FALSE)
Installing package into ‘/home/draghib/R/x86_64-pc-linux-gnu-library/3.5’
(as ‘lib’ is unspecified)
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 11376  100 11376    0     0  12409      0 --:--:-- --:--:-- --:--:-- 12405
* installing *source* package ‘missForest’ ...
** package ‘missForest’ successfully unpacked and MD5 sums checked
** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
** building package indices
** testing if installed package can be loaded
Error : package ‘randomForest’ required by ‘missForest’ could not be found
Error: loading failed
Execution halted
ERROR: loading failed
* removing ‘/home/draghib/R/x86_64-pc-linux-gnu-library/3.5/missForest’
Warning in install.packages :
  installation of package ‘missForest’ had non-zero exit status

The downloaded source packages are in
	‘/tmp/RtmpRD0hlt/downloaded_packages’

Try to reinstall randomForest, Do you get any error message?

install.packages("randomForest")

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.