Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
From | Rebecca Pope <rebecca.a.pope@gmail.com> |
To | statalist@hsphsun2.harvard.edu |
Subject | Re: st: profile.do couldn't start |
Date | Tue, 5 Apr 2011 18:22:07 -0500 |
Daniel, The problem is the "/" after ".log". Also, since you already set the -logtype- you don't need to specify an extension, unless you want something other than ".log" (e.g. ".txt"). Try the following modification. *!Version 0.1 - Daniel set mem 500m set matsize 1000 set logtype text log using "/users/`c(username)'/documents/statalogs/$S_DATE", append display "DateTime: $ S_DATE $ S_TIME" Best, Rebecca On Tue, Apr 5, 2011 at 6:11 PM, Daniel Marcelino <dmsilva.br@gmail.com> wrote: > > Why Stata couldn't start my profile.do? I'm getting the following > error for the program below. > > > file /users/DM/documents/statalogs/ 5 Apr 2011.log/.log could not be opened > > > *!Version 0.1 - Daniel > set mem 500m > set matsize 1000 > set logtype text > log using "/users/`c(username)'/documents/statalogs/$S_DATE.log/", append > display "DateTime: $ S_DATE $ S_TIME" > * > * 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/