Skip to content

Instantly share code, notes, and snippets.

@timothyslau
Last active August 29, 2015 14:02
Show Gist options
  • Save timothyslau/280882a4c010f6634ee0 to your computer and use it in GitHub Desktop.
Save timothyslau/280882a4c010f6634ee0 to your computer and use it in GitHub Desktop.
How to install metaSEM on Mac OSX 10.9, R 3.0.3, OpenMX 1.4-3059
#install metaSEM package----
install.packages(pkgs=c("metafor","devtools","ellipse","MASS"),dependencies=T)
source('http://openmx.psyc.virginia.edu/getOpenMx.R')
library(metafor)
library(OpenMx)
library(devtools)
library(ellipse)
library(MASS)
#first download the package source from metaSEM from: http://courses.nus.edu.sg/course/psycwlm/internet/metaSEM/#sec-3) then load the package with the script below
install.packages(pkgs=file.choose(), repos=NULL, type="source")
library(metaSEM)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment