Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: set more off in linux


From   Richard Herron <[email protected]>
To   [email protected]
Subject   Re: st: set more off in linux
Date   Thu, 19 Apr 2012 11:50:03 -0400

On Linux -set more off- persists only through the .do file and gets
reset to your default. Nor can you -set more off- in your profile.do
file.

The solution is -set more off, permanently-.

I had the same problem when I moved to the server and found the
following solution from Nick Cox.
http://www.stata.com/statalist/archive/2005-11/msg00924.html

HTH.

Richard Herron


On Thu, Apr 19, 2012 at 11:13 AM, tashi lama <[email protected]> wrote:
>
>
> Hellow all,
>
>    I just switched running stata in linux from windows." Set more off " in the beginning of a do file works in windows. Now, when I use set more off in linux text editor vi and run the do file in batch mode, it still prompts me to hit enter after every screen. Any idea?
>
>
>
>
>
> Here is my do-file in linux's vi editor
>
>
>
>
>
> set more off
> set odbcmgr unixodbc
> args start_date end_date
> odbc query indigo
> odbc load, exec("select distinct date(read_date) as date1, count(*) as hits from readership where source_id=6429 and date(read_date) between '`start_date'' and '`end_date''  group by date(read_date) limit 100")
> list
> destring, replace
> tsset date
> tsline hits, saving(tt1)
> *
> *   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/

*
*   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–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index