Hi folks,
I am just start playing with Achilles. For the db connection, I got errors like this and would appreciate your help.
library(DatabaseConnector)
library(Achilles)connectionDetails ← createConnectionDetails(
dbms=“postgresql”,
server=“localhost/OHDSI”,
user=‘postgres’,
password=‘ohdsi’,
port=“5432”
)achilles(connectionDetails,
cdmDatabaseSchema = “cdm”,
resultsDatabaseSchema=“results”,
outputFolder = ‘OHDSI_ACHI’
)
Connecting using PostgreSQL driver
Error in achilles(connectionDetails, cdmDatabaseSchema = “cdm”, resultsDatabaseSchema = “results”, :
Error: Invalid CDM Version number; this function is only for v5 and above.
See Achilles Git Repo to find v4 compatible version of Achilles.
In addition: Warning message:
In value[3L] :
Error ‘cannot open the connection’ when writing log to file 'OHDSI_ACHI/log_achilles.txt. Removing file appender from logger.
How do I update the CDM from v4 to v5?
Thanks,
Ray Zohdsi