Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
From | rraciborski@stata.com |
To | statalist@hsphsun2.harvard.edu |
Subject | st: spmat object not found |
Date | Tue, 18 Oct 2011 13:59:50 -0500 |
Martijn Smit <martijn.smit@vu.nl> 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 rraciborski@stata.com * * 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/