Comments (4)
Hi @leeanhu789 ,
Did you install RTools? Both FeatureExtraction and CohortMethod contain C++ code that requires RTools to compile.
Cheers,
Martijn
from databaseconnector.
Hi Martijn,
Thanks so much for all the help. I did install RTools on both the home and work computer, but somehow on both computers, I failed to install these two packages. Would the version of the R or version of the RTools matter? I think I installed the newest version of RTools (Rtools34.exe) on home computer, and Rtools33.exe on work computer.
By the way, is there any data set that we can use to run all the R codes in KeppraAngioedema project?
Thank you!
Lian
from databaseconnector.
Hi Lian,
Digging a bit deeper, it seems there's a problem installing the packages on the latest version of R (>=3.3.0)! I can easily reproduce it on my machine. I'm looping in @msuchard , since he knows most about drat
, which seems to be causing the problems.
In the mean time, you can use devtools
to install the packages instead:
install.packages("devtools", "Cyclops", "SqlRender")
library(devtools)
install_github("ohdsi/OhdsiRTools", args = "--no-multiarch")
install_github("ohdsi/DatabaseConnector", args = "--no-multiarch")
install_github("ohdsi/FeatureExtraction", args = "--no-multiarch")
install_github("ohdsi/CohortMethod", args = "--no-multiarch")
install_github("ohdsi/OhdsiSharing", args = "--no-multiarch")
# You may want to skip this one for now:
install.packages("aws.s3", repos = "http://cloudyr.github.io/drat")
install_github("ohdsi/StudyProtocols/KeppraAngioedema", args = "--no-multiarch")
One dataset you can use just to run the code is the Synpuf dataset in CDM format created by Lee Evans. You would need to load the dataset into a database.
Cheers,
Martijn
from databaseconnector.
Hi Martijn,
Awesome. Thanks for your help. All are installed fine now, in both R 3.2.4 32bit (work computer) and R 3.3.1. 64 bits (home computer). I wonder whether the problem was that I had not install OhdsiRTools as instructed here in your note. Instead, I had only installed RTools in the root directory as instructed on OSDHI wiki regarding R environment set up (http://www.ohdsi.org/web/wiki/doku.php?id=documentation:r_setup).
Thank you so much!
Lian
from databaseconnector.
Related Issues (20)
- Error running DatabaseConnector within a Databricks cluster HOT 4
- Error executing SQL: 'origin' must be supplied HOT 3
- DuckDB error 'to_days(DECIMAL(2,1))' when using DATEADD
- Bug with DatabaseConnector::renderTranslateExecuteSql HOT 4
- Question: what happens to running query when program exits unexpectedly HOT 2
- Setting origin for numeric Datetimes (POSIXct) HOT 1
- Consider not throwing a warning when passing already translated sql to dbGetQuery or dbExecute. HOT 5
- question on interactive behavior for redshift drivers HOT 2
- dbIsValid does not work as expected
- Option to use executeLargeUpdate HOT 7
- Refactor testing code so it iterates over the platforms in a loop HOT 1
- Not dropping default argument to lag() on Redshift
- Optional method of using Ibis backend connectors HOT 2
- DuckDB connection doesn't work without specifying pathToDriver
- Github Actions not recognizing Snowflake secrets HOT 1
- Running out of memory when pushing Andromeda tables to external databases using bulk import HOT 1
- Rethink a bit DatabaseConnector dplyr sql generation HOT 13
- subsetting the database HOT 9
- Call to Andromeda causing unit tests to fail HOT 1
- Use exported odbc classes HOT 1
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 databaseconnector.