我尝试mclust
通过以下方式在 Ubuntu 16.04 中安装 R包:
install.packages("mclust")
Run Code Online (Sandbox Code Playgroud)
但我收到了这个错误。
Installing package into ‘/usr/local/lib/R/site-library’
(as ‘lib’ is unspecified)
trying URL 'http://cran.um.ac.ir/src/contrib/mclust_5.2.2.tar.gz'
Content type 'application/x-gzip' length 2749972 bytes (2.6 MB)
==================================================
downloaded 2.6 MB
* installing *source* package ‘mclust’ ...
** package ‘mclust’ successfully unpacked and MD5 sums checked
** libs
f95 -fpic -g -O2 -c mclust.f -o mclust.o
/bin/bash: f95: command not found
/usr/local/lib/R/etc/Makeconf:155: recipe for target 'mclust.o' failed
make: *** [mclust.o] Error 127
ERROR: compilation failed for package ‘mclust’
* …
Run Code Online (Sandbox Code Playgroud) 我刚刚在我的 Ubuntu 16.04 上安装了 Matlab。但是它会立即崩溃并显示以下输出:
------------------------------------------------------------------------
Segmentation violation detected at Tue Jul 12 15:33:11 2016
------------------------------------------------------------------------
Configuration:
Crash Decoding : Disabled
Crash Mode : continue (default)
Current Graphics Driver: Unknown hardware
Current Visual : 0x21 (class 4, depth 24)
Default Encoding : UTF-8
GNU C Library : 2.23 stable
Host Name : saleh-Q1585N
MATLAB Architecture : glnxa64
MATLAB Root : /usr/local/MATLAB/R2015b
MATLAB Version : 8.6.0.267246 (R2015b)
OpenGL : hardware
Operating System : Linux 4.4.0-28-generic #47-Ubuntu SMP Fri Jun 24 10:09:13 …
Run Code Online (Sandbox Code Playgroud)