i everyone,
im a new user of the OHDSI package for an SCCS analyses. I have some issue when installing the SqlRender package and it seems that the problem is coming from library (rjava), i have already reinstall Java. Please i need some help, im not a developer neither a statistician, just an epidemiologist student. Thank you.
This is what i get when i run: install_github(“ohdsi/SqlRender”)
Downloading GitHub repo ohdsi/SqlRender@master
from URL https://api.github.com/repos/ohdsi/SqlRender/zipball/master
Installing SqlRender
“C:/PROGRA~1/R/R-33~1.3/bin/x64/R” --no-site-file --no-environ --no-save --no-restore
–quiet CMD INSTALL
“C:/Users/Toshiba/AppData/Local/Temp/RtmpkdmU7s/devtools16745fe457dc/OHDSI-SqlRender-2fe5b3b”
–library=“C:/Users/Toshiba/Documents/R/win-library/3.3” --install-tests
installing source package ‘SqlRender’ …
** R
** inst
** tests
** preparing package for lazy loading
Error : .onLoad failed in loadNamespace() for ‘rJava’, details:
call: fun(libname, pkgname)
error: No CurrentVersion entry in Software/JavaSoft registry! Try re-installing Java and make sure R and Java have matching architectures.
ERROR: lazy loading failed for package ‘SqlRender’
removing ‘C:/Users/Toshiba/Documents/R/win-library/3.3/SqlRender’
restoring previous ‘C:/Users/Toshiba/Documents/R/win-library/3.3/SqlRender’
Installation failed: Command failed (1)