[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

20031015: NetCDF R install



Titus,

> To: <address@hidden>
> From: "Titus, Robert-Charles" <address@hidden>
> Subject: Error inataiiling netCDF.ZIP
> Organization: UCAR/Unidata

The above message contained the following:

> I am a new R user. I downloaded the netCDF.ZIP package from your site. =
> When trying to install it using "Load package from local ZIP file", I =
> get the following error message:
> 
>               > =
> install.packages(choose.files('',filters=3DFilters[c('zip','All'),]), =
> .libPaths()[1], CRAN =3D NULL)
>               Error in file(file, "r") : unable to open connection
>               In addition: Warning messages:=20
>               1: error -1 in extracting from zip file=20
>               2: cannot open file `netcdf-3.5.0/DESCRIPTION'
> 
> I unzipped and re-zipped (netCDF.ZIP to netCDF-3.5.0.zip), I still get =
> the same error message. I am using the R Version 1.7.1 under Windows =
> 2000 Professional.
> 
> Any Help will be appreciated.
> 
> Thanks.

I'm sorry but I'm afraid you're on your own.  Because the netCDF ZIP
file in question is valid:

    $ unzip -l ~ftp/pub/netcdf/netcdf.ZIP
    Archive:  /home/ftp/pub/netcdf/netcdf.ZIP
     Length    Date    Time    Name
     ------    ----    ----    ----
          0  03-23-01  14:09   netcdf-3.5.0/
          0  03-23-01  14:04   netcdf-3.5.0/src/
      22322  03-23-01  14:00   netcdf-3.5.0/src/INSTALL.html
      15001  08-04-97  12:17   netcdf-3.5.0/src/COMPATIBILITY
       1847  05-12-99  13:03   netcdf-3.5.0/src/COPYRIGHT
       3249  03-23-01  14:01   netcdf-3.5.0/src/MANIFEST
       5742  02-27-01  09:04   netcdf-3.5.0/src/Makefile
        932  10-20-00  09:48   netcdf-3.5.0/src/README
      10772  03-13-01  10:39   netcdf-3.5.0/src/RELEASE_NOTES
          6  02-27-01  09:28   netcdf-3.5.0/src/VERSION
      30597  03-22-01  14:43   netcdf-3.5.0/src/aclocal.m4
     115328  03-22-01  14:43   netcdf-3.5.0/src/configure
       1295  03-22-01  14:43   netcdf-3.5.0/src/configure.in
       2175  03-13-01  10:42   netcdf-3.5.0/src/macros.make.in
       1931  09-23-97  14:06   netcdf-3.5.0/src/macros.make.def
       5728  03-12-01  15:31   netcdf-3.5.0/src/rules.make
          0  03-23-01  14:04   netcdf-3.5.0/src/libsrc/
      43064  06-11-97  10:13   netcdf-3.5.0/src/libsrc/attr.c
    ...

there must be something wrong with your R.  Diagnosing that problem 
would require that we debug a foreign, 3-rd party software system -- 
something for which we don't have the resources.

I suggest that you use the utility "unzip" instead of R to unpack the
netCDF distribution.

Regards,
Steve Emmerson