Hi,When I use any function of RWeka Package in Rstudio I get an error, "Error
in .jnew (name): java.lang.ClassFormatError." can anyone guide me in
this?Operation system used: Linux 64 bit (CentOS)
Command used: >data("crude")>tdm <- TermDocumentMatrix(crude,
control=list(tokenize = NGramTokenize
crude,
control=list(tokenize = NGramTokenizer))
Packages loaded: tm and RWeka
Regards,Rini John
From: Jeff Newmiller
To: Rini John ; Rini John via R-help
; "r-help@r-project.org"
Sent: Tuesday, 5 April 2016, 18:30:26
Subject: Re: [R] RWeka Error
Read the Posting Guid
Read the Posting Guide mentioned at the bottom of this email. Highlights you
should be sure to address:
* HTML formatted email gets messed up on the R mailing lists, so post in plain
text. Yes, you can and need to do this.
* Make sure the problem occurs in R by trying it without RStudio. Some
Whew, figured it out through trial and error.
In case anyone else runs into this problem, the issue ended up being with the
data in one of the columns. I knew I didn't have any actual missing values, but
one of the columns is a text field which can have the literal value of "NA". I
guess R wa
4 matches
Mail list logo