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: file name problem with stata2mplus
From
Laura Gibbons <[email protected]>
To
"[email protected]" <[email protected]>
Subject
Re: st: file name problem with stata2mplus
Date
Mon, 20 Dec 2010 11:37:30 -0800 (PST)
I would hack the program.
Change line 40 to:
outsheet using "`using'.dat" , comma nonames nolabel `replace'
-Laura
On Mon, 20 Dec 2010, Evelyn Ersanilli wrote:
Dear Stata-listers
I've been experiencing some problems with converting a file from Stata to Mplus using the 'stata2mplus' command
The problem is that the command does not seem to accept spaces in the destination file/folder name.
The normal Stata strategy of using quotation marks doesn't seem to work
I've tried:
stata2mplus using "C:\My Documents\Pilot 2" , replace
invalid 'Documents'
r(198);
stata2mplus using (C:\My Documents\Pilot 2)
invalid 'C'
r(198);
. stata2mplus using ``C:\My Documents\Pilot 2"
invalid '`'
r(198);
. stata2mplus using `C:\My Documents\Pilot 2"
invalid 'C'
r(198);
. stata2mplus using "C:\My Documents\Pilot 2"
invalid 'Documents'
r(198);
I've found a work-around by putting the file on a USB stick so that I can lose the 'My Documents' part, but I feel that there must be a better way.
Any suggestions?
Kind regards
Evelyn
Evelyn Ersanilli
Research Officer EUMAGINE project
International Migration Institute
Oxford Martin School
University of Oxford
3 Mansfield Road
OX1 3TB Oxford
United Kingdom
Tel: +44 (0) 1865 271533
www.eumagine.org
*
* 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/
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Laura E. Gibbons, PhD
General Internal Medicine, University of Washington
Box 359780, Harborview Medical Center, 325 Ninth Ave, Seattle, WA 98104
phone: 206-744-1842, fax: 206-744-9917,
Office address: 401 Broadway, Suite 5076-V125
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~