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.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。