File name issue when installing on Ubuntu Linux

2 replies [Last post]
izahn's picture
Offline
Joined: 09/02/2009

Hi,
I encountered an error while attempting to install on my Ubuntu 9.04 machine. The error message and system info are below, but here is a summary of the problem:

The installation procedure called by source(REDACTED) is trying to download the file REDACTED/OpenMx_0.1.3-776.tar.gz, but this file does not exist. I manually downloaded REDACTED/OpenMx_0.1.3-776.tgz (note .tar.gz vs .tgz) and installed it with R CMD INSTALL. Everything appears to be fine, so I think all is needed is to fix the file name suffix.

-Ista

Errors and system info follow:
source('REDACTED')
Warning in install.packages("snowfall") :
argument 'lib' is missing: using '/usr/local/lib/R/site-library'
trying URL 'http://cran.stat.ucla.edu/src/contrib/snowfall_1.70.tar.gz'
Content type 'application/x-tar' length 184206 bytes (179 Kb)
opened URL
==================================================
downloaded 179 Kb

* Installing *source* package ‘snowfall’ ...
** R
** data
** inst
** preparing package for lazy loading
** help
*** installing help indices
>>> Building/Updating help pages for package 'snowfall'
Formats: text html latex example
snowfall-a-package text html latex example
snowfall-b-init text html latex example
snowfall-c-calculation text html latex example
snowfall-d-tools text html latex example
snowfall-e-data text html latex
** building package indices ...
* DONE (snowfall)

The downloaded packages are in
‘/tmp/RtmpSfdCzb/downloaded_packages’
Warning in install.packages(pkgs = c("OpenMx"), repos = repos) :
argument 'lib' is missing: using '/usr/local/lib/R/site-library'
trying URL 'REDACTED/OpenMx_0.1.3-776.tar.gz'
Error in download.file(url, destfile, method, mode = "wb", ...) :
cannot open URL 'REDACTED/OpenMx_0.1.3-776.tar.gz'
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

R.Version()
$platform
[1] "i486-pc-linux-gnu"

$arch
[1] "i486"

$os
[1] "linux-gnu"

$system
[1] "i486, linux-gnu"

$status
[1] ""

$major
[1] "2"

$minor
[1] "9.2"

$year
[1] "2009"

$month
[1] "08"

$day
[1] "24"

$`svn rev`
[1] "49384"

$language
[1] "R"

$version.string
[1] "R version 2.9.2 (2009-08-24)"

Jeff's picture
Offline
Joined: 07/31/2009
Hi, Ista, thanks for pointing

Hi, Ista, thanks for pointing this out. It should work for you now.

Developers, see my comment on the issue that Michael S. submitted.

mspiegel's picture
Offline
Joined: 07/31/2009
Bug report opened:

Bug report opened: http://openmx.psyc.virginia.edu/issue/2009/09/filename-openmx013-776tgz-....

Thanks for catching the problem!