Fix errors with RWeka package

Need to update to Java8 for RWeka to work.

I get the solution from this blog.

https://www.r-statistics.com/2012/08/how-to-load-the-rjava-package-after-the-error-java_home-cannot-be-determined-from-the-registry/

In addition to installing the Java 8, java 8 development kit also needs to be installed.

http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html

There is also some error when trying to work with M5P function in RWeka package. Stackoverflow comes to the rescue as per usual.

http://stackoverflow.com/questions/41878226/using-rweka-m5p-in-rstudio-yields-java-lang-noclassdeffounderror-no-uib-cipr-ma

 

 

 

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s