**************************************************************************** * INSTALL RUNMLWIN TO A SPECIFIED LOCATION **************************************************************************** * The recommended way to install runmlwin is by typing the following: * * . ssc install runmlwin, replace * * and this should install runmlwin from its official location on the * Statistical Software Components (SSC) archive. * * However, this approach will not work for users who are not allowed to * download Stata ado packages to their computer, for example, students * in computer labs. * * For these users we recommend that IT support at their institutions * install runmlwin centrally for them. However, if this is not possible, * then we recommend users manually change their default Stata ado * package download location to one where they are allowed to save files. * Users then need to instruct Stata where on their computer this * location is. This do-file provides the commands for semi-automating * this process. * * All users need to do to manually install runmlwin to a user-specified * location is to run the five commands in this do file. However, users * must change the directory path "C:\temp" to a path where they can save * files. **************************************************************************** * George Leckie and Chris Charlton, * Centre for Multilevel Modelling, 2012 * http://www.bristol.ac.uk/cmm/software/runmlwin/ **************************************************************************** * (1) Store the original PLUS directory path in the global macro sysdir_plus global sysdir_plus = c(sysdir_plus) * (2) Change the PLUS directory path to a directory where you can save files sysdir set PLUS "C:\temp" * (3) Install runmlwin to this new directory ssc install runmlwin * (4) Revert back to the original PLUS directory path sysdir set PLUS "$sysdir_plus" * (5) Add the runmlwin directory to the ado-file directory path adopath + "C:\temp" **************************************************************************** exit