illegal characters in names
Posted on

Forums
I noticed that you are modifying OpenMx to disallow forbidden characters in names or labels: "+-!~?:*/^%<>=&|$"
Just to say that this will have implications for some of the demonstration scripts. I have not checked them all, but the model on p 31 of the OpenMx documentation has a model name that won't work, and I have also found cases in demo files where the objective has the name "-2LL".
Just to say that this will have implications for some of the demonstration scripts. I have not checked them all, but the model on p 31 of the OpenMx documentation has a model name that won't work, and I have also found cases in demo files where the objective has the name "-2LL".
For beginners used to other programming languages, the fact that a syntax error does not terminate operation of a script is confusing.
Is this a deliberate choice, an unchangeable feature of R, or something worth considering modifying? I'd prefer it if the script just stopped execution at the error, so I could be sure to fix it before proceeding.
Are you looking at Release
Log in or register to post comments
In reply to Are you looking at Release by mspiegel
Yes, I had older version.
But I think this may still affect some 'demo' scripts, unless they have been checked as well, and certainly it applies to some of those available from:
http://www.vipbg.vcu.edu/~vipbg/OpenMx/
I think the manual might just include a note saying :
Some downloadable OpenMx scripts were written before OpenMx introduced restrictions on illegal characters in names of objects. Check all output carefully, and if necessary rename models and their component objects to avoid the following characters: +-!~?:*/^%<>=&|$
Log in or register to post comments
In reply to Yes, I had older version. by Dorothy Bishop
Yes, any such scripts should
Log in or register to post comments
In reply to Yes, any such scripts should by neale
To clarify, this issue is not
Log in or register to post comments