LengedT2DM
by typing git clone https://github.com/ohdsi-studies/LegendT2dm.git
cd LengedT2DM/docker
Rscript run_docker.R
. Please change the variables local_folder
and gcloud_local_folder
. If you are not using gcloud you can safely remove lines 5 and 15localhost:9001
. This will open an Rstudio server instance running locally.ohdsi
. you can change that inside the run_docker.R
/workdir/workdir
testRun.R
to confirm everything is working. If you are not using gcloud several paramteres need to be changed in that script to connect to an instance you are authorized to.jdposa/legend_t2dm:0.4
. The image is based on an image created by Odysseus Inc rocker/rstudio:4.0.5
. This dockerfile contains the installation of libsodium an OS library required to run the R sodium package. renv.lock
file. As of now includes a small package to ease the creation of teh conneciton string when using bigquery. Also it builds the LengedT2DM
package programatically. If anyone needs to install any other dependency not covered in renv.lock, this is the space to do so. rstudio-ohdsi
. This small script can be modified in a way that the user could mount a directory of their chosing and specify the forwarded port used to launch RStudio.NOTE: To build the image the renv.lock
file from the main folder needs to be copied to the docker
folder.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.