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]
st: spmat object not found
From
[email protected]
To
[email protected]
Subject
st: spmat object not found
Date
Tue, 18 Oct 2011 13:59:50 -0500
Martijn Smit <[email protected]> reported a problem with the user-written
-spmat- command. Martijn tried to export the spatial-weighting matrix
contained in the spmat object nuts2q but -spmat export- complained:
. spmat export nuts2q using nuts2q.txt
spmat object nuts2q not found
r(498);
I suspect that the correct error message should have told Martijn that the file
nuts2q.txt already exists. If so, Martijn should add the -replace- option to
his code:
. spmat export nuts2q using nuts2q.txt, replace
We will fix the error message in a future update to -spmat-.
If my suspicion is not correct, Marijn can email me privately with his datasets
and I will be glad to take a closer look.
--Rafal
[email protected]
*
* 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/