Displaying 2 results from an estimated 2 matches for "challar".
Did you mean:
hallar
2010 Oct 09
1
ncdf installation in R
Hi All,
I am trying to install ncdf package on a Linux 64-bit machine.
I successfully installed netcdf using this command,
./configure --prefix=/home/challar/netcdf/ --disable-netcdf4
I then tried to install ncdf package in R
R CMD INSTALL --configure-args="-with-netcdf_incdir=/home/challar/netcdf/include -with-netcdf_libdir=/home/challar/netcdf/lib" ncdf_1.6.3.tar.gz
I get this output below
* installing to library รข/home/challar/R/R-2.11.1...
2010 Nov 05
0
NaN, ncdf
...a variable in NetCDF.
dimX <- dim.def.ncdf("X","count",(1:6))
dimY <- dim.def.ncdf("Y","count",(1:3))
var1 <- var.def.ncdf("genotype","freq",list(dimX,dimY),missval=-9999,prec="single")
nc <- create.ncdf("/home/challar/testunix6.nc",list(var1))
genovals <- c("0.0","3",NaN,NaN,"-4","99")
put.var.ncdf(nc,"genotype",genovals,start=c(1,1),count=c(6,1),verbose=TRUE)
[1] "put.var.ncdf: entering with filename /home/challar/testunix6.nc and varid:"
[1...