Error: could not find function … in R

There are a few things you should check : Did you write the name of your function correctly? Names are case sensitive. Did you install the package that contains the function? install.packages(“thePackage”) (this only needs to be done once) Did you attach that package to the workspace ? require(thePackage) (and check its return value) or library(thePackage) (this should be done every … Read more

Error: A JNI error has occurred, please check your installation and try again – during running Java program from Ubuntu terminal

The error says it all: Exception in thread “main” java.lang.UnsupportedClassVersionError: Test has been compiled by a more recent version of the Java Runtime (class file version 55.0)… You’ve compiled for Java 11 … but you’re running an older JRE (Java 8). SUGGESTIONS: recompile with -source and -target to target an earlier version of Java in your .class file, or … Read more