OHDSI Home | Forums | Wiki | Github

Permission denied error trying to install OHDSI/DatabaseConnector for DQD

I’m trying to install OHDSI/DatabaseConnector as part of the DQD set up and I’m getting the error shown below. What do I need to do to get this to work?

I’m running from RStudio on Windows

Thanks,
John

install.packages(“devtools”)
install.packages(“rJava”, INSTALL_opts = “–no-multiarch”)
devtools::install_github(“OHDSI/DatabaseConnector”, INSTALL_opts = “–no-multiarch”, force = TRUE)
devtools::install_github(“OHDSI/SqlRender”, INSTALL_opts = “–no-multiarch”, force = TRUE)

Warning messages:
1: In file.copy(savedcopy, lib, recursive = TRUE) :
problem copying C:\ProgramData\R\lib\00LOCK\rlang\libs\x64\rlang.dll to C:\ProgramData\R\lib\rlang\libs\x64\rlang.dll: Permission denied
2: In file.copy(savedcopy, lib, recursive = TRUE) :
problem copying C:\ProgramData\R\lib\00LOCK\glue\libs\x64\glue.dll to C:\ProgramData\R\lib\glue\libs\x64\glue.dll: Permission denied
3: In file.copy(savedcopy, lib, recursive = TRUE) :
problem copying C:\ProgramData\R\lib\00LOCK\cli\libs\x64\cli.dll to C:\ProgramData\R\lib\cli\libs\x64\cli.dll: Permission denied

It does look like this is a “warning” type of problem. DQD was able to install and run in spite of this error.

t