Last active
August 10, 2017 17:55
-
-
Save larsvilhuber/002ffc7fa96136426a4801e1470e0189 to your computer and use it in GitHub Desktop.
Work with REPEC mirror on SDSx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* set the local install versions to the project directory */ | |
/* this will ensure that the project directory contains a local copy */ | |
/* Ensure the directories exist! */ | |
global PROJDIR "/projects/user/xyz/project1" | |
sysdir set PLUS "${PROJDIR}/stata/plus" | |
sysdir set PERSONAL "${PROJDIR}/stata/personal" | |
/* from https://www2.vrdc.cornell.edu/news/synthetic-data-server/step-4-using-the-sds/#Packages | |
and https://gist.github.com/larsvilhuber/002ffc7fa96136426a4801e1470e0189#file-sds_initialize-do */ | |
/* define all source directories here */ | |
global REPEC "/cac/contrib/mirror/fmwww.bc.edu/repec/bocode" | |
global RDPACK "/cac/contrib/mirror/sites.google.com/site/rdpackages/rdrobust/stata" | |
/* install all packages here */ | |
net install estout, from(${REPEC}/e) replace | |
net install rdrobust, from(${RDPACK}) replace | |
/* In addition, occassional private ado files will be made available. */ | |
/* On SDSx, if you intend to use them, add the following line to your Stata program */ | |
adopath + "/cac/contrib/ado/" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment