Use of constants in formulae supplied as arguments to mxConstraint

It seems that constants cannot be used in the arguments to mxConstraint function calls. Good news, only the first and third arguments need be fixed! Here is an example snippet:

> onelocus<-mxModel("onelocus", mxAlgebraObjective("NegativeLogLikelihood"),

mxMatrix("Full", nrow=1, ncol=1, free=TRUE, values=c(.3333), name="P"), # P, freq of allele 1
mxMatrix("Full", nrow=1, ncol=1, free=TRUE, values=c(.3333), name="Q"), # Q, freq of allele 2
mxMatrix("Full", nrow=1, ncol=1, free=TRUE, values=c(.3333), name="R"), # R, freq of allele 3

mxModel, remove = T

There seems to be a bug in mxModel when remove=T
example code
library(OpenMx)
thisOMxModel <- mxModel("testModel", mxMatrix(name="Afac", type="Full",nrow=8,ncol=5))
testit <- mxModel(thisOMxModel, mxMatrix(name="Afac", type="Full",nrow=8,ncol=5), remove=T)
# Error in as.character.default() :
# no method for coercing this S4 class to a vector

Mx parser for multiple groups

The Mx script attached works ok. The parser generates a lot of errors. It is possible that my installation of the parser is the problem, as it has never yet worked for me.

Michael-Neales-Macbook-Pro-2% ~/mx/openmx/OpenMx/trunk/inst/tools/mxAlgebraParser.py < ~/mx/openmxscripts/testalgebraparser.txt > ~/mx/openmxscripts/testalgebraparser.out
Traceback (most recent call last):
File "/Users/neale/mx/openmx/OpenMx/trunk/inst/tools/mxAlgebraParser.py", line 149, in
print(parser.parse(input))
File "build/bdist.macosx-10.3-i386/egg/ply/yacc.py", line 265, in parse

crash: when manifests not in data?

I ran the code below and got a crash. replicated twice
I think it is because the dataset in the model doesn't match the manifests list (salthouse vs demoOneFactor), but shouldn't crash....

require(OpenMx)
salthouse <- read.table("http://www.subjectpool.com/data/2009/andrea/salthouse.txt", header=TRUE, sep="\t", as.is=c(TRUE))
manifests <- names(salthouse)
latents <- c("G")
factorModel <- mxModel("One Factor", type="RAM",
manifestVars = manifests,
latentVars = latents,
mxPath(from=latents, to=manifests),
mxPath(from=manifests, arrows=2),

replace trac subversion browser

Based on the discussion from the last developer's meeting. It sounds like we will not be installing trac on the new webserver. Which is fine by me. Except a web interface to subversion commit history has been extremely helpful as a developer to browse other people's commmits. This seems like a good alternative: http://www.websvn.info/. Any thoughts?