OHDSI Home | Forums | Wiki | Github

Achillies install


(Abhishek kumar verma) #1

While installing the Achilles using the R on windows 32 , i installed the R first and then during Achilles installation , i am getting the below error .
Please let me know if there is any compatibility issues and where do we define the database connector .Since i am using R first time so not sure if it can be configured in R .Thanks!

Steps followed

Followed the steps mentioned in below link

Run the below command after installing R .

if (!require(“devtools”)) install.packages(“devtools”)

Error message

In R, use the following commands to install Achilles.

  • building package indices
    ** installing vignettes
    ** testing if installed package can be loaded from temporary location
    *** arch - i386
    Error: package or namespace load failed for ‘DatabaseConnector’:
    .onLoad failed in loadNamespace() for ‘rJava’, details:
    call: inDL(x, as.logical(local), as.logical(now), …)
    error: unable to load shared object ‘C:/Users/Admin/Documents/R/win-library/3.6/rJava/libs/i386/rJava.dll’:
    LoadLibrary failure: %1 is not a valid Win32 application.

Error : package ‘DatabaseConnector’ could not be loaded
Error: loading failed
Execution halted
*** arch - x64
ERROR: loading failed for ‘i386’

  • removing ‘C:/Users/Admin/Documents/R/win-library/3.6/Achilles’
    Error: Failed to install ‘Achilles’ from GitHub:
    (converted from warning) installation of package ‘C:/Users/Admin/AppData/Local/Temp/Rtmpqg2wxa/file16dc8ee87f/Achilles_1.6.6.tar.gz’ had non-zero exit

Regards
Abhishek Verma


(Vojtech Huser) #2

search for no-multiarch options when installing aps.

To trouble shoot, first make sure command

library(DatabaseConnector) gives no errors.


t