Install rJava on linux in R3.6 environment Or rather, I had to write a Dockerfile to create such a DockerImage, I got a lot of errors and got stuck. When I searched the net, Don Pisha didn't come out easily, so I made a note.
#Preparing for rJava installation
RUN apt-get update && apt-get install -y openjdk-8-jdk
RUN R CMD javareconf
#install packages (addition for DB connection)
RUN R -e "install.packages(c(\
'rJava' \
), repos='https://cloud.r-project.org/')"
Recommended Posts