Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at

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

st: spmat object not found

Subject   st: spmat object not found
Date   Tue, 18 Oct 2011 13:59:50 -0500

Martijn Smit <> 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

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.

*   For searches and help try:

© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index