Installing mailR
Page content
In order to get mailR
I had to create a symlink with:
#ln -s /usr/lib/jvm/java-1.7.0-openjdk-amd64/jre/lib/amd64/server/libjvm.so /usr/lib/R/lib/libjvm.so
ln -s /usr/lib/jvm/java-9-openjdk-amd64/lib/amd64/server/libjvm.so /usr/lib
To make life easier, I created a wrapper around it using secret
to store my password. To send an email notification, I just have to run:
IMSecrets::email_me()