Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down at the end of May, and its replacement, statalist.org is already up and running.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: spmat object not found


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/


© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index