OHDSI Home | Forums | Wiki | Github

GrahamReplication

Greetings community,
I am trying to replicate the experiment Graham did on the EHDEN patient-level estimation course.
I have downloaded the experiment and tried to run the CodeToRun.R file in R but I am getting an error and I think it is around the database connection parameters (Redshift password). How do I go about it? The error is below.

Error in value[[3L]]():
! Unable to evaluate the ‘user’ argument of the connection details. Most likely this is because the connection is being established in a separate R thread that has no access to variables in the main thread. This problem will not occur when using a secure approach to credentials such as keyring. See ?createConnectionDetails for more information.
Run rlang::last_trace() to see where the error occurred.

t