LoginSignup
0
0

More than 3 years have passed since last update.

rJavaをR3.6環境のLinuxにインストールする。

Last updated at Posted at 2020-06-23

rJavaをR3.6環境のlinux にインストールする
というか、そういうDockerImageを作るDockerfileを書く必要があったが、
結構エラーがでて詰まった。
ネットを探してもドンピシャがなかなか出てこなかったで、メモ。

#rJavaインストールのための準備
RUN apt-get update && apt-get install -y openjdk-8-jdk
RUN R CMD javareconf

# install packages(DB接続用追加)
RUN R -e "install.packages(c(\
'rJava' \
), repos='https://cloud.r-project.org/')"
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0