Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: do file script from text wrangler


From   Steven Samuels <sjhsamuels@earthlink.net>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: do file script from text wrangler
Date   Thu, 2 Oct 2008 15:36:02 -0400

Nirali, There is nothing in the do-file which changes the path. Where did you put the scripts? You must put them in ~/Library/Application Support/BBEdit/Scripts/ The ~ stands for your Home directory, which has your user name.

-Steve
On Oct 2, 2008, at 3:14 PM, Nirali Shah wrote:


I recently downloaded the stata scripts from Dataninja. One of these scripts allows you to send your do file straight to stata. However, it appears that it also automatically changes the path directory to the path directory of the do file. Since I keep my do files and data files in different folders, every time I try and run a do file from Text Wrangler, Stata tells me that the data files are not found.

Aside from inserting a change directory line into each of my do files, is there a way I can change the script? I don't know anything about scripting language - what would I have to look for or write?


*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index