I am trying to load the rJava library (really i want to use xlsx but rJava is a dependency)
I am getting a pop up window
and this error message
> library(rJava)
Error: package or namespace load failed for ‘rJava’:
.onLoad failed in loadNamespace() for 'rJava', details:
call: inDL(x, as.logical(local), as.logical(now), ...)
error: unable to load shared object 'C:/Users/rdonatello/Documents/R/R-4.0.0/library/rJava/libs/x64/rJava.dll':
LoadLibrary failure: The specified procedure could not be found.
In addition: Warning message:
package ‘rJava’ was built under R version 4.0.2
No.... i cannot use CSV. The file i'm writing to has to maintain a particular formatting.
If you don't know the answer to my question about rJava, that's fine but please stop trying to tell me to do something different entirely with respect to my file format.
I suggest using the openxlsx package for writing formatted Excel files. It doesn't have a java dependency and I've found the formatting syntax easier to use than xlsx. It has tutorial vignettes for basic usage and formatting output.
I think you've run into this issue, where some packages built on R 4.0.1 or later don't work on R 4.0.0. rJava seems to be one of the affected packages. Could you try upgrading to R 4.0.1 or 4.0.2, then try loading rJava again?