[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
st: problem with -mat_capp- command
Although -mat_capp- is undocumented command and "is of very limited
interest, usually only to Stata programmers ..." I decided to post this
question, in case folks at Stata have plans to update it.
when merging matrices containing spaces in column names -mat_capp- was
issuing the "conformability error
.matrix a= 1,2
.matrix colnames a="one two" three
.mat_capp c : a b, miss(.z)
problem seems to come from the line:
mat colnames `bb12' = `:colfullnames `b1'' `:colfullnames `b2''
and possible solution could be
mat colnames `bb12' = `:colfullnames `b1', quoted' `:colfullnames `b2',
(from reading the help, I was under impression that option 'quoted' was
for -coleq-, roweq- only but it seems doing the same thing
with -colfullnames- as well)
I'm using -mat_capp- in my program that is distributed to other users so now
I'm deciding whether I wait for the next Stata update or consider other
solutions in my code?
Thanks for any advice,
* For searches and help try: