Hi,
Has anyone encountered the issue whereby the Achilles call in RStudio stops at “Connecting using SQL Server driver”? Recently ran the commands below , and the process has been stuck at the connection part. It seems to have connected and inserted one table, because I can see the ACHILLES_analysis tables in the results schema, but the rest of the tables are not there yet.
> library(Achilles)
Loading required package: SqlRender
Loading required package: DatabaseConnector
Loading required package: rjson
Loading required package: OhdsiRTools
Loading required package: openxlsx
Loading required package: httr
>
> connectionDetails <- createConnectionDetails(
+ dbms="sql server",
+ server="localhost",
+ user= "****",
+ password="****",
+ port="1433"
+ )
>
> achilles(connectionDetails,
+ cdmDatabaseSchema = "cdm.dbo",
+ resultsDatabaseSchema = "cdm.results",
+ vocabDatabaseSchema = "cdm.dbo",
+ numThreads="10",
+ sourceName = "My Source Name",
+ cdmVersion = "5",
+ runHeel = TRUE,
+ runCostAnalysis = FALSE)
Results:
Connecting using SQL Server driver
Connecting using SQL Server driver
|================================================================================================| 100%
Executing SQL took 0.0963 secs
Dropping scratch Achilles tables from schema cdm.results
Connecting using SQL Server driver (stuck here)
Appreciate any advice on how to troubleshoot, thank you