Unable to install Achilles

Hi,

I was trying to install ACHILLES on a Windows virtual machine following the instruction on the Github page. I got an error running the command below:

install_github(“ohdsi/DatabaseConnector”)

Downloading github repo ohdsi/DatabaseConnector@master
Installing DatabaseConnector
Installing dependencies for DatabaseConnector:
SqlRender
//thechildrenshospital.org/usershomeroot/USERSM~1/137916/MYDOCU~1/R/R-31~1.3/bin/x64/R
–vanilla CMD INSTALL
“C:/Users/137916/AppData/Local/Temp/RtmpA7vOTm/devtools14481d674a00/OHDSI-DatabaseConnector-4d8fbed”
–library=“\thechildrenshospital.org/usershomeroot/UsersMNOP/137916/My
Documents/R/R-3.1.3/library” --install-tests

‘\thechildrenshospital.org\usershomeroot\USERSM~1\137916\MYDOCU~1\R\R-31~1.3’ is not recognized as an internal or external command,
operable program or batch file.
Error: Command failed (1)
In addition: Warning message:
package ‘SqlRender’ is not available (as a binary package for R version 3.1.3)

Any idea what the issue was?

Thank you in advance.

Hi @toanong

The following has worked for me on Windows in the past (in particular note the change from the instructions where I install SqlRender before DatabaseConnector):

install.packages(“devtools”)
if (Sys.getenv(“JAVA_HOME”)!="")
Sys.setenv(JAVA_HOME="")
library(devtools)
install.packages(“bitops”)
install_github(“ohdsi/SqlRender”)
install_github(“ohdsi/DatabaseConnector”)
install_github(“ohdsi/Achilles”)

It worked. Thanks @lee_evans.