stata_kernel is a Jupyter kernel for Stata. It works on Windows, macOS, andLinux.
RStata.StataPath contains the path to Stata executable (Windows user have to delete the extension.exe from the path ). ChooseStataBin to set this option the first time: in Linux it searches for the 4 (cli) Stata binaries (stata-mp, stata-se, stata, stata-sm) in the search path and prompt a menu to choose one. Sudo apt-get install libgtksourceview-3.0-common sudo ln -s /usr/lib/libgtksourceview-2.0.so.0 /usr/lib/libgtksourceview-1.0.so.0 sudo apt-get install libgnomeprint2.2-0 Unzip the file Stata12Linux; Choose 32-bits or 64-bits. Cd YOURPATH/Stata12Linux/linux.32/. Cd YOURPATH/Stata12Linux/linux.64/. Windows Make sure you've installed this package and language-stata. In the command prompt, run apm install stata-exec. Install this specific version of the program Node to your computer. Use the default installation settings. Open up an administrator PowerShell (you can right click on the Windows.
What is Jupyter?¶


Jupyter is an open-source ecosystem for interactive data science. Originallydeveloped around the Python programming language, Jupyter has grown to interfacewith dozens of programming languages.
stata_kernel is the bridge that interactively connects Stata to all theelements in the ecosystem.
JupyterLab is a web-based interactive editor that allows for interweaving of code, text, and results.
- Splice models in LaTeX math mode with the code that implements them and the graphs depicting their output.
- Click here to see an example Jupyter Notebook file using
stata_kernel. - Jupyter Notebooks can be exported as PDFs or HTML, and are as good for teaching new students as they are for displaying research results.
Hydrogen is a package for the Atom text editor that connects with Jupyter kernels to display results interactively in your text editor.
- The Jupyter console is an enhanced interactive console. Its features include enhanced autocompletion, better searching of history, syntax highlighting, among others. The similar QtConsole even allows displaying plots within the terminal.
- Enhanced remote work. You can set up Jupyter to run computations remotely but to show results locally. Since the only data passing over the network are the text inputs and outputs from Stata, communcation happens much faster than loading
xstata, especially on slower networks. Being able to use Jupyter Notebook or Hydrogen vastly enhances productivity compared to working with the Stata console through a remote terminal.

stata_kernel Features¶
- Supports Windows, macOS, and Linux.
- Use any type of comments in your code, not just
*. - Autocompletions as you type based on the variables, macros, scalars, and matrices currently in memory. As of version 1.6.0 it also suggests file paths for autocompletion.
- Display graphs.
- Receive results as they appear, not after the entire command finishes.
- Pull up interactive help files within the kernel.
- Browse data interactively.
#delimit ;interactive support- Work with a remote session of Stata.
- Mata interactive support
- Cross-session history file
Screenshots¶
Install Stata In Linux
Atom
