# To run iPsychCNV you need R. # To download and install R, see R-Project
# In R: # Install packages: 1 = CRAN , 2 = BioCsoft, 8 = http://R-Forge.R-project.org (for Gada). # See setRepositories(ind=1:10), getOption("repos"). setRepositories(ind=1:8) library(devtools) install_github("mbertalan/iPsychCNV")
# Download Master file from GitHub. iPsychCNV R-package setRepositories(ind=1:8) library(devtools) install_url("http://biopsych.dk/iPsychCNV/Master/iPsychCNV-master.zip")
## Common errors ## 1-) Error in library(devtools) : there is no package called "devtools" To fix the error you must install devtools first. install.packages("devtools") 2-) Installation of devtools fails. This may be solved by installing the OS package libcurl multiple threads can be found on this issue. http://stackoverflow.com/questions/26445815/error-when-installing-devtools-package-for-r-in-ubuntu 3-) A number of dependent R-packages fail as the installer cannot find -lquadmath. This issue may be resolved by installing r-base-dev. See http://stackoverflow.com/questions/6302209/building-r-package-getting-error-ld-cannot-find-lgfortran.