rjdverse / rjdemetra

R interface to JDemetra+ v 2.x
https://rjdverse.github.io/rjdemetra
52 stars 16 forks source link

Bomb with JDemetra 0.2.4 #115

Closed p-wegmueller closed 1 year ago

p-wegmueller commented 1 year ago

I use R version 4.2.0 (2022-04-22 ucrt) -- "Vigorous Calisthenics" and installed RJDemetra 0.2.4.

When runninng library(RJDemetra), I get the bomb in RStudio. Any clues what could be going on?

AQLT commented 1 year ago

Is rJava working?

library(rJava)
.jinit()
.jcall("java/lang/System", "S", "getProperty", "java.runtime.version")
p-wegmueller commented 1 year ago

You got me, I get the bomb as well. I guess it fails due to security reasons on my corporate laptop

AQLT commented 1 year ago

Maybe try with a portable version of Java? see for example here: https://github.com/jdemetra/rjdemetra/wiki/Installation-manual

palatej commented 1 year ago

There is a bug in rstudio with any java-based packages. Use either R-Studio 4.1. or R-Studio R-studio 4.3.

p-wegmueller commented 1 year ago

Thanks for the helpful comments, I will do as recommended.