我已经看到了一些与此相关的帖子...但是我看到的所有建议的解决方案似乎都不起作用....我在EC2实例中运行R并运行以下命令尝试安装rJava但无济于事...任何帮助将不胜感激.
> install.packages("rJava")
Installing package(s) into ‘/home/ubuntu/R/library’
(as ‘lib’ is unspecified)
trying URL 'http://cran.stat.nus.edu.sg/src/contrib/rJava_0.9-3.tar.gz'
Content type 'application/x-gzip' length 537153 bytes (524 Kb)
opened URL
==================================================
downloaded 524 Kb
* installing *source* package ‘rJava’ ...
** package ‘rJava’ successfully unpacked and MD5 sums checked
checking for gcc... gcc -std=gnu99
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of …Run Code Online (Sandbox Code Playgroud)