Comments (7)
full install script:
#install java SE (JDK+JRE, most recent ver8 was fine)
install.packages("devtools")
install.packages("rJava")
library(devtools)
install_github("ohdsi/DatabaseConnector")
install_github("ohdsi/SqlRender")
install_github("ohdsi/Achilles")
library(Achilles)
from achilles.
We've seen this before when message when RTools was not installed. Can you confirm that you have RTools installed?
from achilles.
I apologize for not following instructions.
RTools install fixed the problem.
small issue 2
note there is also dependency on rJava
do this to fix it:
- install java SE (JRE and JDK - check java_home variable existence)
- install.packages("rJava")
from achilles.
I am trying to run "install_github("ohdsi/SqlRender")" on windows 7, 64-bit with jdk 7 (64- bit), R version 3.1.2 and R-GUI (64-bit).
I am getting the following error:
library("devtools")
Warning message:
package ‘devtools’ was built under R version 3.1.3
install_github("ohdsi/SqlRender")
Downloading github repo ohdsi/SqlRender@master
Installing SqlRender
"C:/PROGRA1/R/R-311.2/bin/x64/R" --no-site-file --no-environ --no-save --no-restore CMD INSTALL
"C:/Users/PPingali/AppData/Local/Temp/RtmpMtqVJl/devtools1318104472eb/OHDSI-SqlRender-cc551a2"
--library="C:/Users/PPingali/Documents/R/win-library/3.1" --install-tests
- installing source package 'SqlRender' ...
** R
** inst
** tests
** preparing package for lazy loading
** help
*** installing help indices
** building package indices
** installing vignettes
** testing if installed package can be loaded
*** arch - i386
Error : .onLoad failed in loadNamespace() for 'rJava', details:
call: inDL(x, as.logical(local), as.logical(now), ...)
error: unable to load shared object 'C:/Users/PPingali/Documents/R/win-library/3.1/rJava/libs/i386/rJava.dll':
LoadLibrary failure: %1 is not a valid Win32 application.
Error: loading failed
Execution halted
*** arch - x64
ERROR: loading failed for 'i386'
- removing 'C:/Users/PPingali/Documents/R/win-library/3.1/SqlRender'
Error: Command failed (1)
Please help me out in fixing this issue...
Thanks in advance.....
from achilles.
The problem might be that you only have a 64-bit version of Java, but install_github
is trying to build both the 32-bit and 64-bit version of the package. For some reason the simple JRE from Oracle does not have this problem, but the JDK does. You can try one of two things:
- Install a 32-bit Java version next to your 64-bit one
- Install all OHDSI packages using the
args="--no-multiarch"
option, so for example
install_github("ohdsi/SqlRender", args="--no-multiarch")
from achilles.
Thanks for the reply... Its working fine now !!!
from achilles.
Hi,
I run the command in Windows, install_github("ohdsi/SqlRender", args="--no-multiarch"). Still get the following error:
Error: package or namespace load failed for 'SqlRender':
.onLoad failed in loadNamespace() for 'rJava', details:
call: inDL(x, as.logical(local), as.logical(now), ...)
error: unable to load shared object 'C:/Users/yxt30/Documents/R/win-library/3.5/rJava/libs/i386/rJava.dll':
LoadLibrary failure: %1 is not a valid Win32 application.
Could you please help? -Thanks!
from achilles.
Related Issues (20)
- add observation period duration distribution by number of observation periods
- performTemporalCharacterization fails with error in window.default(x, ...) : 'start' cannot be after 'end'
- revamp performance capture
- Hoe many tables needs to be populated before I can run Achilles ?
- DEVICES_BY_TYPE is always empty in concept reports generated by generateAODeviceReports()
- exportToAres connection handling
- Question: Why use "subject_id" to refer to a concept_id in OHDSI-SQL? HOT 2
- Add table to Achilles processing to facilitate WebAPI call
- NULL units should be included into the analysis 1815 "Distribution of numeric values, by measurement_concept_id and unit_concept_id"
- ACHILLES_RESULTS table: ERROR: no runtime found in log file HOT 4
- Achilles DatabaseConnector Error on exit HOT 1
- Please add the dbSummary function back to Achilles
- Error in exportToAres() with duckdb output format HOT 1
- atlas Installation issues HOT 1
- Unexpected result for analysis 110: not covering all months with observation period
- Out of temp space for analysis 1824
- Error in performTemporalCharacterization
- achilles execution date capture
- Achilles Generating Incorrect Column Name in SQL Scripts - vo.discharge_to_concept_id HOT 1
- Case Sensitive Table Names
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from achilles.