You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 26, 2024. It is now read-only.
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
With the recent Stata 17 update, the command now gives the following error:
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
readreplace.ado.zip
The text was updated successfully, but these errors were encountered: