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('https://openmx.ssri.psu.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
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?
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.
> 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.
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)
Thank you. Using the second method, I successfully intall OpenMx.
Only the sequential installation is available for Windows (see FAQ). If you type
library(OpenMx)
then the OpenMx library should load.