Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, statalist.org is already up and running.


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

Re: st: set more off in linux


From   Richard Herron <richard.c.herron@gmail.com>
To   statalist@hsphsun2.harvard.edu
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 <ltashi32@hotmail.com> 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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index