Dear All,
I am looking for the full list of commands that are disabled in the batch mode.
These are the commands that cause Stata to produce a message "request
ignored because of batch mode" and continue execution.
An example is "shell": shell notepad
Is Stata's batch mode described only in the following FAQ?
http://www.stata.com/support/faqs/win/batch.html
or is there an entry in the printed(Stata 10)/PDF(Stata 11) manuals? If so, I
would appreciate a hint. If not, IMHO this ancient feature deserves an entry
in the manual.
Google does not yield any results for the search text:
"request ignored because of batch mode" nor for the text
"request ignored due to batch mode" (used in Stata 9),
which gives me an idea that probably this is not a very popular
discussion topic.
What is the rationale for disabling shell in the batch mode? What if I need to
convert my data using an external program? If this is security-related, then
using plugins this restriction can be alleviated and security breached anyways
(I didn't have time to check if the plugins are disabled as well, I
hope not), so
it looks like a pure inconvenience.
Note, that there is plenty of user-written commands that utilize
-shell- or -winexec-
for launching external ("boutique") programs for miscelleneous purposes, for
example to convert output to PDF, or execute a command in R. Authors of such
user-written commands might want to signal in the help file or package
description
whether the command is safe to use in the Stata's batch mode.
Thank you,
Sergiy Radyakin
//---------- IN BATCH MODE (Stata\MP\10.1):
---------------------------------------------------------------
. shell notepad
request ignored because of batch mode
. winexec c:\windows\notepad.exe
request ignored because of batch mode
. window stopbox note "this is a message"
request ignored because of batch mode
*
* 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/