404 Not Found when Attempting to install OpenMx

2 replies [Last post]
grehrig's picture
Offline
Joined: 08/28/2013

Hello,

I have been attempting to install OpenMx this week and have been getting the following error suggesting that the file cannot be downloaded:

source('http://openmx.psyc.virginia.edu/getOpenMx.R')
Warning in install.packages(pkgs = c("OpenMx"), repos = repos) :
  argument 'lib' is missing: using 'C:\Users\Name\Documents/R/win-library/2.10'
trying URL 'http://openmx.psyc.virginia.edu/packages/bin/windows/contrib/2.10/OpenMx_1.3.2-2301.zip'
Error in download.file(url, destfile, method, mode = "wb", ...) : 
  cannot open URL 'http://openmx.psyc.virginia.edu/packages/bin/windows/contrib/2.10/OpenMx_1.3.2-2301.zip'
In addition: Warning message:
In download.file(url, destfile, method, mode = "wb", ...) :
  cannot open: HTTP status was '404 Not Found'
Warning in download.packages(pkgs, destdir = tmpd, available = available,  :
  download of package 'OpenMx' failed

I checked to make sure that I have a compatible version of R prior to the install attempt. Below is the output of R.Version():

R.Version()
$platform
[1] "i386-pc-mingw32"
 
$arch
[1] "i386"
 
$os
[1] "mingw32"
 
$system
[1] "i386, mingw32"
 
$status
[1] ""
 
$major
[1] "2"
 
$minor
[1] "10.1"
 
$year
[1] "2009"
 
$month
[1] "12"
 
$day
[1] "14"
 
$`svn rev`
[1] "50720"
 
$language
[1] "R"
 
$version.string
[1] "R version 2.10.1 (2009-12-14)"

Is there another location for getOpenMx.R that I might try? If you could please let me know what the best course of action is at your convenience, I would appreciate it. Thank you!

tbates's picture
Offline
Joined: 07/31/2009
upgrade R

Try upgrading your version of R to 2.15.2 (NOT 3... that's not supported in OpenMx until later this year)

grehrig's picture
Offline
Joined: 08/28/2013
Thanks!

This worked perfectly, thank you very much!