mailR
mailR copied to clipboard
Error with sending with most recent Java Update
The recent Jave update (Version 8 Update 291) doesn't seem to work with mailR. I had to revert to a previous version of Java. Then it worked as expected.
Is this the message you get?
java.lang.NoClassDefFoundError: javax/activation/DataSource
Is this the message you get?
java.lang.NoClassDefFoundError: javax/activation/DataSource
Yes, I get the same error message with Java 1.8.0_311 . Is there a way to resolve this?
I didn´t find it. I switch to emayili, https://datawookie.github.io/emayili/. It works perfect, and has no Java dependency.
Hi folks -- please switch to this GitHub repository: https://github.com/rpremrajGit/mailR. The latest version of mailR fixes the issue.
Many thanks for the information. I am unable to install version 0.8:
* installing *source* package 'mailR' ...
** package 'mailR' successfully unpacked and MD5 sums checked
** using staged installation
** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
converting help for package 'mailR'
finding HTML links ... done
send.mail html
** building package indices
** testing if installed package can be loaded from temporary location
*** arch - i386
Error: package or namespace load failed for 'mailR':
.onLoad failed in loadNamespace() for 'rJava', details:
call: fun(libname, pkgname)
error: No CurrentVersion entry in Software/JavaSoft registry! Try re-installing Java and make sure R and Java have matching architectures.
Error: loading failed
Ejecución interrumpida
*** arch - x64
ERROR: loading failed for 'i386'
* removing 'C:/Users/FJG/Documents/R/win-library/4.1/mailR'
* restoring previous 'C:/Users/FJG/Documents/R/win-library/4.1/mailR'
Warning in install.packages :
installation of package ‘mailR’ had non-zero exit status
I have installed the lates version of rJava & Java version "1.8.0._311" on a Windows 8.1 machine.
Hey this package repo was moved to: https://github.com/rpremrajGit/mailR and this issue has been resolved in the latest version of mailR 0.8 on CRAN.