mxUpdate()
Posted on

Forums
I would like to propose a unified method for users to obtain updates to OpenMx.
mxUpdate()
Without any arguments, this would allow people to load the most current version of OpenMx. If a version number was supplied it could load a specific version if they wanted to roll back an upgrade.
In its simplest form it would look something like
mxUpdate <- function(version=NA) { if(is.na(version)) source('http://openmx.psyc.virginia.edu/getOpenMx.R') else source(paste("http://openmx.psyc.virginia.edu/get", version, ".R", sep="")) }
This would require keeping the older versions around. But I suspect that would be useful for people. It would also allow us to change the updating mechanism later if we found one that was more convenient to maintain.
Can you clarify: would
Log in or register to post comments
In reply to Can you clarify: would by mspiegel
The simple version - just
Log in or register to post comments
In reply to The simple version - just by tbates
mxUpdateOpenMx()
mxUpdateOpenMx()
to avoid confusion with update()
but I guess the package might move usefully move to CRAN with 1.0 out?
Also, I'd note that students I help have had errors with using
source('http://openmx.psyc.virginia.edu/getOpenMx.R')
and they don't understand what it does (because the code is hidden
As all this is, is:
repos <- c('http://openmx.psyc.virginia.edu/packages/')
install.packages(pkgs=c('OpenMx'), repos=repos)
I recommend showing people that, or even (if it doesn't push some >80 char panic button :-)
install.packages(pkgs=c('OpenMx'), repos='http://openmx.psyc.virginia.edu/packages/')
Log in or register to post comments
In reply to mxUpdateOpenMx() by tbates
Again, mxUpdate() can't
Log in or register to post comments
In reply to Can you clarify: would by mspiegel
I would argue for the simpler
Log in or register to post comments
In reply to I would argue for the simpler by tbrick
Umm. mxUpdate() can't
Log in or register to post comments
In reply to Umm. mxUpdate() can't by mspiegel
Ah, Windows. Where all files
I wonder if there is something Windows-specific that we can do to get around their limitation?
Log in or register to post comments