I'm attempting to install Rmpi, as root, on current newest version of R (3.3.2) on an Ubuntu Linux (16.04) system. I've googled and tried everything I can think of but can not get past this error when attempting to test load the package after it has apparently been successfully installed. Any suggestions welcome.
*** installing help indices
** building package indices
** testing if installed package can be loaded
Error in system2(file.path(R.home("bin"), "R"), c(if (nzchar(arch)) paste0("--arch=",  : 
  error in running command
				
                        
What is wrong with
sudo apt-get install r-cran-rmpi? Works like a charm here.As does
install.r Rmpi(whereinstall.ris just a helper from my littler package):