Initial error reporting environment
Oracle VM VirtualBox 6.1.22
kunbuntu-21.04
memory 2048MB
storage space 20g
Error reporting and Solutions
If I directly install. Packages (‘prophet ‘) in R according to the above environment, three environment dependent errors will be reported, namely libcurl, libdev and rstan
first solve the problem that libcurl and libdev are not installed. First q() exit the R environment and install the two development tools:
sudo apt-get install libcurl4-openssl-dev
sudo apt-get install libv8-dev
Then enter the R environment and reinstall rstan. The key errors are as follows:
g++: internal compiler error: Killed (program cc1plus)
ERROR: compilation failed for package 'rstan'
In install.packages("rstan") :
installation of package 'rstan' had non-zero exit status
There are many similar error reports and strange solutions on the Internet. In fact, most cases are caused by insufficient memory allocation. You can adjust the allocated memory to 4096mb in the virtual machine. After installing the above dependencies, reinstall. Packages (‘prophet ‘) and the installation will succeed.
Read More:
- The solution of centos7 in VMware virtual machine unable to access after installing nginx
- Solution to restart without showing eth0 connection after installing virtual machine
- Solution to ebios read error: error 0x31 when installing snow leopard on virtual machine
- Installing R’s “mvtnorm” package in Windows system: solving the problem of the R package “mvtnorm” is not installed
- Building virtual machine environment based on kvm-qemu under ubuntu12.10 (12)
- Reporting Services Catalog Database File Existence” error during installing SQL Server 2008 R2
- Solve the problem that the virtual machine can’t be opened? Tips on VMware Workstation cannot connect to the virtual machine
- Error installing OS X virtual machine vcu-0: verify vmcore / VM / main / physmem_ monitor.c:1123
- A solution to the default invalid host only mode of CentOS virtual machine in VirtualBox
- Solution to redis error in CentOS of idea connected virtual machine
- Problem solving: this application cannot run under a virtual machine arcmapr, but you are not using a virtual machine
- The solution to the problem that the virtual machine and the host SSH can’t connect on vmvare
- VMware virtual machine prompt: locking file failed, unable to open the disk solution
- VMware imports an external virtual machine and displays system error: (unknown exception). Wrong solution
- Ubuntu xshell cannot connect to VMware virtual machine solution
- Solutions to errors in virtual machine running in Android studio
- Error debug in box2d createfixture Error:R6025 pure Virtual function call solution
- Install Xen virtual machine using virt-manager
- (Virtual machine monitor failed and Virtual ethernet failed)
- Installing flash in MAC environment