# empty model name

5 posts / 0 new
Offline
Joined: 07/31/2009 - 15:24
empty model name

We spoke at the developer's meeting about reserved symbols for labels. The symbols that cannot be used are "." which is special as a separator between the model name and label name. Also the '[' and ']' are special and they are used for substitutions. Also it turns out that if you give a model an empty name "", things currently break. I'll probably throw an error if you try to name anything with the empty name.

Offline
Joined: 08/04/2009 - 15:55
Is there any chance of being

Is there any chance of being able to use greek letters for model names & matrix labels? For example, any chance of being able to use labels such as \delta t1? Expression() doesn't return a character vector, so that won't work with mxMatrix. I don't know whether R can handle output/input with greek letters. (e.g., is there a package that would allow you to assign values to greek letters?)

Just curious...

Offline
Joined: 07/31/2009 - 15:24
I took one of our simple test

I took one of our simple test scripts and added both latin1 characters and latex names such as "\delta t1". The OpenMx library seems to work fine on both of these cases. One weird glitch is that you need to escape the backslash by typing two backslashes. Which is fine, except that when a character matrix is printed out in R, both backslashes are printed. I don't know whether this is a bug or a feature.

Offline
Joined: 07/30/2009 - 14:03
R can accept unicode (if your

R can accept unicode (if your terminal is appropriately localized).

> t1 <- "ß"
> t1
[1] "ß"

Offline
Joined: 08/04/2009 - 15:55
Awesome! I'm going to set

Awesome! I'm going to set that up.