atom-community / atom-community/atom-script

Stata and Windows?

Open
#1,483 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
730
Forks
264
PR merge metrics
No merged PRs in 30d

Description

I am hoping to get some advice on how to run Stata do-files using Windows.

In versions v3.16.0 and previous, I was able to edit grammars.coffee to get both file based and selection based options working (details below). However, as of version 3.17 there is no longer a grammars.coffee file, but several .coffee files in the grammars folder and I am unsure what to do.

Any advice appreciated.

In case it is relevant, I use Stata 14.2 MP on Windows 10 Pro x64.

Details on previously working edit:

Original
Stata:
"Selection Based":
command: "stata"
args: (context) -> ['do', context.getCode()]
"File Based":
command: "stata"
args: (context) -> ['do', context.filepath]

Edited
"Selection Based":
command: 'C:/ado/personal/npp/rundolines14/rundolines.exe'
args: (context) -> [context.getCode()]
"File Based":
command: 'C:/ado/personal/npp/rundo14/rundo.exe'
args: (context) -> [context.filepath]

rundo.exe and rundolines are programs found here:
https://huebler.blogspot.com/2008/04/stata.html

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.