611 questions
1 vote
0 answers
25 views
Problem using rJAVA when using Dismo in Posit Cloud
I am using Posit Cloud and am having an interesting problem when trying to use the MaxEnt function from the Dismo package. When I run the MaxEnt function for the first time in a script e.g., # Fit the ...
0 votes
0 answers
26 views
how to run R CMD javareconf in conda environments
on Ubuntu, I have two R versions on my system and use anaconda. /anaconda/envs/mycondaenv/lib/R/bin/R # 4.4.2, the one I want to configure /usr/bin/R # used when the default conda env is active I am ...
2 votes
2 answers
142 views
how to set java to use rjava on MacBook pro with m2
I want to install rjava but i got this error i do not know what to do to be able to install using MacBook Pro with M2 Hope someone help me install.packages("~/Downloads/rJava_0.9-9.tar.gz", ...
0 votes
1 answer
75 views
rJava .jcall java method parameters input issue: with signature ([D[DDD)Ljava/lang/String; not found
Here is my original java code with method of "performCurveFitting" method public static String performCurveFitting(Double[] conc, Double[] resp, Double classificationSD, Double minYrange) { ...
1 vote
0 answers
204 views
Potential Java/arm64 error when loading the xlsx package in R?
I am having trouble loading the xlsx package on R (via RStudio). The error message I get when I try to call the package is as below. > library(xlsx) Error: package or namespace load failed for ‘...
-1 votes
1 answer
133 views
Struggling with rJava and dependent packages in Rstudio Mac M1. Error: package or namespace load failed for ‘rJava’:
I'm really struggling with rJava. I have a new machine (Mac M1) and am running r code from an older project on an old intel Mac, and it isn't working at all. I am not especially familiar or confident ...
0 votes
1 answer
41 views
Executing R Script from Java
I am trying to execute an R Script using java program. But json file which has to be generated in the script is not getting generated. But if i run the same r script in R, json file is getting ...
1 vote
1 answer
147 views
What to do if RWekajars package installation gets stuck on Ubuntu 22.04.2 LTS?
I am trying to install the RWekajars package on Linux Ubuntu 22.04.2 LTS, but the installation is getting stuck at the moment described below. It seems to be processing something, but it does not ...
1 vote
0 answers
266 views
shinyapps.io: Error in .jcheck: Java Exception <no description because toString() failed
I have a shiny app that works fine in my laptop. However, when I deploy it to shinyapp.io, I get the error message in the title above. It uses RJDBC to connect to a database to get data. I am confused ...
0 votes
0 answers
191 views
Issues installing tabulizer in R on Mac OS13 and R 4.4
I'm having many issues installing tabulizer in R 4.4 on my Mac OS13. I've reproduced the error message below. I've tried every other suggestion on stack and nothing seems to do the trick. I've ...
1 vote
0 answers
287 views
rJava and RJDBC on Databricks
I am trying to install rJava and RJDBC on Databricks (from notebook). I ran recommended lines: %sh ls -l /usr/bin/java ls -l /etc/alternatives/java ln -s /usr/lib/jvm/java-8-openjdk-amd64 /usr/lib/jvm/...
0 votes
1 answer
142 views
Error with installation of rJava LoadLibrary failure: %1 is not a valid Win32 application
I tried to install rJava but got these errors. Please help. install.packages("rJava") WARNING: Rtools is required to build R packages but is not currently installed. Please download and ...
0 votes
0 answers
52 views
How does one install rJava and qdap onto RLibrary?
I was working on an assignment that requires installing a number of packages (including rJava and qdap), and I was sucessful at that. But when I installed those projects onto RLibrary, I couldn't ...
0 votes
0 answers
32 views
HOW can we create xlsx file and write xlsx file in R? [duplicate]
install.packages('xlsx') library(xlsx) require("xlsx") write.xlsx(data, "data.xlsx") output: error 1: WARNING: Rtools is required to build R packages but is not currently ...
0 votes
2 answers
2k views
Error running xlsx and rJava on Mac with M1
I've recently started working on a MacBook with M1 Max. But now, in R, with xlsx I get this error: library(xlsx) Error: package or namespace load failed for ‘xlsx’: .onLoad failed in loadNamespace() ...