This repository was archived by the owner on Aug 26, 2024. It is now read-only.
This repository was archived by the owner on Aug 26, 2024. It is now read-only.
Mata function name causes command to fail to load in Stata 17 #25
Open
Description
With the recent Stata 17 update, the command now gives the following error:
st_sortlist() is built-in
(233 lines skipped)
(error occurred while loading readreplace.ado)
r(3000);
Looking at the ado, the issue is that "st_sortlist()" now appears to be a function within Stata (although it still does not appear in the Stata help file for Mata), so simply changing the name of this function allows the command to run correctly. I simply replaced all references to "st_sortlist()" with "st_sortname" and this seemed to fix the problem.
Not a Mata expert, so someone with more knowledge of the command should probably double check my work. Here it is
Metadata
Metadata
Assignees
Labels
No labels