See here
install, and uninstall Stata packages from Gitee website
net install gitee, from(https://gitee.com/kerrydu/gitee/raw/master)
gitee install can be used in Stata User Menu. Prompt giteeinstallmenu
in Stata Command window for this purpose.
* If curl has been installed
kgitee gitee
* If Stata 14 is used as the installer
kgitee gitee,stata(yourpath/StataMP-64.exe)
Stata 16 is blocked by Gitee.com due to its user agent. curl is used to download the Stata files. Thus, you should install curl and add curl into the system path before using gitee in Stata 16.
createpkg and install Stata packages from Stata files (.ado,.mata,.mlib,.sthlp,...)
net install createpkg, from(https://gitee.com/kerrydu/gitee/raw/master/installpkg)
Prompt createpkgmenu in Stata command window and the procedure is completed automatically.
createpkg
is included in installpkg
now.
install Stata packages from zipfiles or pkgfiles in directory
net install installpkg, from(https://gitee.com/kerrydu/gitee/raw/master/installpkg)
* Alternatively
gitee install installpkg, from(https://gitee.com/kerrydu/gitee/raw/master/installpkg)
gitee install installpkg, from(https://gitee.com/kerrydu/gitee/raw/master/installpkg)
installpkg can be used in Stata User Menu after adding the following commands into the profile.do If profile.do is absent, create it in the root directory of StataMP.exe or StataSE.exe.
window menu append submenu "stUser" "InstallPackage"
window menu append item "InstallPackage" "InstallPackage" "db installpkg"
window menu refresh
Alternatively, the installpkgmenu commad provides a convient way to add installpkg into Window User Menu.
Prompt installpkgmenu in Stata command window and the procedure is completed automatically.
createpkg
is included
in installpkg now.
Sign in for post a comment
Comments ( 0 )