I get an error on my Mac M2.
sotu.instances <-
mallet.import(id.array = row.names(sotu),
text.array = sotu[["text"]],
stoplist = stopwords_en_file_path,
token.regexp = "\\p{L}[\\p{L}\\p{P}]+\\p{L}")
*** caught segfault ***
address 0xfffffffffffffff8, cause 'invalid permissions'
Traceback:
1: .jcall("RJavaTools", "Ljava/lang/Object;", "invokeMethod", cl, .jcast(if (inherits(o, "jobjRef") || inherits(o, "jarrayRef")) o else cl, "java/lang/Object"), .jnew("java/lang/String", method), j_p, j_pc, use.true.class = TRUE, evalString = simplify, evalArray = FALSE)
2: .jrcall(x, name, ...)
3: rJava::J("cc/mallet/topics/RTopicModel")$addInstances(instances, id.array, text.array)
4: mallet.import(id.array = row.names(sotu), text.array = sotu[["text"]], stoplist = stopwords_en_file_path, token.regexp = "\\p{L}[\\p{L}\\p{P}]+\\p{L}")
Possible actions:
1: abort (with core dump, if enabled)
2: normal R exit
3: exit R without saving workspace
4: exit R saving workspace
Hi,
thanks for a great package!
When running the vignette example
I get an error on my Mac M2.
Code:
Error:
Any help is much appreciated