Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

RE: st: RE: bar graph of multiple variables


From   "David Harrison" <[email protected]>
To   <[email protected]>
Subject   RE: st: RE: bar graph of multiple variables
Date   Mon, 7 Mar 2005 08:57:29 -0000

The problem is that the filename needs to be in quotes (as it contains spaces)... try

saving("`file`i''")

Interestingly, built-in programs with the -saving()- option don't seem to suffer from this problem... for example

sysuse auto
tempfile test
scatter headroom trunk, saving(`test')

works fine, despite their being spaces in the path - it comes up with the DOS abbreviated version...  C:\DOCUME~1\ etc.


-----Original Message-----
From: Clive Nicholas [mailto:[email protected]]
Sent: 07 March 2005 01:30
To: [email protected]
Subject: RE: st: RE: bar graph of multiple variables


invalid 'and'
saving(C:\Documents and Settings\Administrator\Local
Settings\Temp\ST_0i0000an.tmp) invalid
r(498);


*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



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