OpenMx to R 2.14.1

6 replies [Last post]
Docherty's picture
Offline
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

mspiegel's picture
Offline
Joined: 07/31/2009
Only the sequential

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

rhh1984's picture
Offline
Joined: 02/21/2012
installation problem

> 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.

rgore's picture
Offline
Joined: 01/27/2011
re:installation problem

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)

rhh1984's picture
Offline
Joined: 02/21/2012
re: installation problem

Thank you. Using the second method, I successfully intall OpenMx.

mdewey's picture
Offline
Joined: 01/21/2011
If on Windows

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.

mspiegel's picture
Offline
Joined: 07/31/2009
What platform are you running

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?