OpenMx to R 2.14.1

Posted on
No user picture. Docherty Joined: 02/20/2012
Attempting to download to R 2.14.1, I receive the following message. New to R, so I'm pretty sure it's a simple error on my part...

> source('http://openmx.psyc.virginia.edu/getOpenMx.R')
Error in file(filename, "r", encoding = encoding) :
cannot open the connection
In addition: Warning message:
In file(filename, "r", encoding = encoding) :
unable to resolve 'openmx.psyc.virginia.edu'

Any help would be much appreciated.
Thanks

Replied on Mon, 02/20/2012 - 13:58
Picture of user. mspiegel Joined: 07/31/2009

What platform are you running on (mac/linux/windows)? This sounds like a firewall issue. I see that you are able to reach the forums on openmx.psyc.virginia.edu. Are you installing OpenMx on a different machine then you are using to browse the web?
Replied on Tue, 02/21/2012 - 09:48
Picture of user. mdewey Joined: 01/21/2011

I think the usual advice given on R-help if on Windows and having internet problems is to look at
?setInternet2
and take it from there.

Replied on Fri, 03/02/2012 - 17:54
No user picture. rhh1984 Joined: 02/21/2012

> source('http://openmx.psyc.virginia.edu/getOpenMx.R')
try URL’http://openmx.psyc.virginia.edu/packages/bin/windows/contrib/2.14/OpenMx_1.2.0-1926.zip'
Content type 'application/zip' length 2308041 bytes (2.2 Mb)
openURL
downloaded 2.2 Mb

package ‘OpenMx’ successfully unpacked and MD5 sums checked

The downloaded packages are in
C:\Documents and Settings\Administrator\Local Settings\Temp\RtmpyQoe2T\downloaded_packages

No other output and no window presented to ask me to install openMX.
My platform: windows, R 2.14.2.

Replied on Fri, 03/02/2012 - 18:04
Picture of user. rgore Joined: 01/27/2011

In reply to by rhh1984

It looks like it installed successfully. What happens if you type "require('OpenMx')" at the R prompt?

If that doesn't seem to work try this alternate installation command:

Instead of:

> source('http://openmx.psyc.virginia.edu/getOpenMx.R')

try:

> repos <- c('http://openmx.psyc.virginia.edu/packages/')
> install.packages(pkgs=c('OpenMx'), repos=repos)

Replied on Fri, 03/02/2012 - 19:55
Picture of user. mspiegel Joined: 07/31/2009

Only the sequential installation is available for Windows (see FAQ). If you type library(OpenMx) then the OpenMx library should load.