1 Star 0 Fork 0

kerrydu / gitee

Create your Gitee Account
Explore and code with more than 6 million developers,Free private repositories !:)
Sign up
Clone or download
Cancel
Notice: Creating folder will generate an empty file .keep, because not support in Git
Loading...
README.md

A demo vedio

See here


gitee

install, and uninstall Stata packages from Gitee website

Installation

  • Stata 14/15
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.

  • Stata 16
* If curl has been installed
kgitee gitee

* If Stata 14 is used as the installer
kgitee gitee,stata(yourpath/StataMP-64.exe)

Notation

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

createpkg and install Stata packages from Stata files (.ado,.mata,.mlib,.sthlp,...)

Installation

net install createpkg, from(https://gitee.com/kerrydu/gitee/raw/master/installpkg)

Stata User Menu

Prompt createpkgmenu in Stata command window and the procedure is completed automatically.

Notation

createpkg is included in installpkg now.


installpkg

install Stata packages from zipfiles or pkgfiles in directory

Installation

  • Stata 14/15
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)
  • Stata 16
gitee install installpkg, from(https://gitee.com/kerrydu/gitee/raw/master/installpkg)

Usage in Stata User Menu

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.

Notation

createpkg is included in installpkg now.

Comments ( 0 )

Sign in for post a comment

About

gitee -- install, and uninstall Stata packages from Gitee website spread retract
Cancel

Releases

No release

Contributors

All

Activities

load more
can not load any more
1
https://gitee.com/kerrydu/gitee.git
git@gitee.com:kerrydu/gitee.git
kerrydu
gitee
gitee
master

Search