Displaying 20 results from an estimated 1000 matches similar to: "Problems installing ncdf package into R"
2011 Apr 03
1
installing ncdf on Ubuntu 10.04
Hello
I'm trying to install the "ncdf" package on a Ubuntu 10.04 laptop.
Can you offer suggestions to install this package?
> install.packages("ncdf", repositories = TRUE)
Installing package(s) into β/home/steve/R/i486-pc-linux-gnu-library/2.12β
(as βlibβ is unspecified)
--- Please select a CRAN mirror for use in this session ---
Loading Tcl/Tk interface ... done
2010 Oct 27
1
"non-numeric argument to binary operator" error while reading ncdf file
Hi everyone,
I am a newbie in R and in this discussion list. I am trying to use R package
"ncdf" to read values of temperature from a NCDF file. I did it before to
another file using the function "get.var.ncdf", but now there is an error
that I can not solve, and I would really appreciate if you could help me.
I am using R version 2.11.1 (2010-05-31) in a machine with Linux
2010 Jun 16
1
Help asked for automated generation of ncdf variables
Hi,
I'm using the "ncdf" library for creating ncdf files.
But I need to create about 100 variables per file (e.g. single rivers),
So I do not like to create each variable separately.
Unfortunately I found no way to make this work, as I'm unable to create a
correct list of class "var.ncdf".
###code piece
river=list(mode='var.ncdf', length=nriv)
2010 Mar 09
1
ncdf installation
Friends,
I tried to install ncdf package in ubuntu with the following command.
R CMD INSTALL
--configure-args="-with-netcdf_incdir=/apps/netcdf/4.0.1/gcc/include
-with-netcdf_libdir=/apps/netcdf/4.0.1/gcc/lib" ncdf_1.6.tar.gz
The installation was stopped throwing the following error. I tried to google
it but didnt find any solution. someone kindly write me what is going wrong.
**
2009 Apr 21
1
ncdf,RNetCDF
Friends,
Someone please share your experience in installing ncdf and RNetCDF in
fedora10. I am not able make it work as it throws me the following error. My
R version is 2.8.0.
> library(ncdf)
unable to load shared library '/usr/lib/R/library/ncdf/libs/ncdf.so':
/usr/lib/R/library/ncdf/libs/ncdf.so: cannot restore segment prot after
reloc: Permission denied
Error in library(ncdf)
2012 Aug 21
1
ncdf - writing variable to a file
Hello,
I have a problem writing a variable to an existing file.
Below is a part of my script and how it fails.
I can't find "create.var.ncdf" in help
Thanks for any help.
Mark
nc <- open.ncdf(ncname, readunlim=FALSE, write=TRUE )
missing <- 1.e+30
xdim <- nc$dim[["west_east"]]
ydim <- nc$dim[["south_north"]]
tdim <- nc$dim[["Time"]]
2011 Sep 24
2
ncdf - install error
Dear all,
I'm having issues with the installation of the ncdf package. It returns a
non-zero exit status. Can anyone suggest what I should do next? FYI, I do
not have problems installing other packages.
Thanks.
Muhammad
* installing *source* package ?ncdf? ...
checking for nc-config... /usr/local/bin/nc-config
configure: creating ./config.status
config.status: creating src/Makevars
**
2008 Jan 22
1
install ncdf package on a 64-bit machine
Dear All,
I recently got a 64bit machine and had netcdf-3.6.2 installed. Then I tried
to install ncdf package but got the following error message when using
netcdflib:
gcc -std=gnu99 -I/home/ljin/share/R-2.6.1/include
-I/home/ljin/share/R-2.6.1/include
-I. -I/usr/local/include -fpic -g -O2 -c ncdf2.c -o ncdf2.o
gcc -std=gnu99 -I/home/ljin/share/R-2.6.1/include
2011 Sep 12
1
Problem in put.var.ncdf
Dear all,
I have a problem in writing a variable to a NetCDF-File.
My code works pretty well until the step put.var.ncdf():
# Get variables
#---------------------
data1 <- open.ncdf("PREC_me_03-1500.nc")
prec1 <- get.var.ncdf(data1,"PRECT")
dim.time <- get.var.ncdf(data1,"time2")
close.ncdf(data1)
# Calculation
#---------------------
spi24.me <-
2010 Mar 24
1
install ncdf package
Dear R users
I am attempting to add lncdf_1.6.tar.gz libraries within R, and have
failed. I have R version 2.8.1, and are running on fedora 10 Kernel Linux
2.6.293.-60.fc10.x86_64.
I've run R CMD INSTALL ncdf_1.6.tar.gz
and I have the following
---------------
* Installing to library '/usr/lib64/R/library'
* Installing *source* package 'ncdf' ...
checking for gcc... gcc
2009 Sep 15
1
releasing memory when using the ncdf package
Hello,
I'm running R 2.7.2 in a windows XP environment and I run the
following in an R console:
library(ncdf)
nc <-open.ncdf('c:/file.nc')
aa <- get.var.ncdf(nc,'var1')
This works fine, but 'aa' takes up about 100mb and I want to release
the memory after using it. I try:
rm(aa)
close.ncdf(nc)
and look at Windows Task Manager, but the memory hasn't been
2009 Apr 23
1
problem loading ncdf library on MAC
Hi there,
I'm more or less new to R and have just installed R on my MAC laptop. I
managed to install everything easily enough (R version 2.9) and a few
packages, but when I try to load the ncdf package (in R) I get the
following error:
library(ncdf)
Error in dyn.load(file, DLLpath = DLLpath, ...) :
unable to load shared library
2011 Jul 07
1
Select element out of several ncdf variables
Hi there
I'm working with ncdf data. I have different dataset for 4 runs, 4 seasons
and 3 timeslices (48 datasets in total). The datasets have the following
dimensions: 96 longitudes, 48 latitudes and 30 time steps. To read all of
them in, I wrote the following loop:
runs <- c("03","04","05","06")
years <- c(1851,1961,2061)
seasons <-
2011 Sep 07
3
Editing the variables attributes section in the netCDF header of netCDF files created using the package ncdf.
Hi,
I am using the package ncdf to create netCDF files and I want to mimic the the header of an exiting netCDF file created outside of R. Below is what the existing header looks like (part of it that is different):
netcdf ccd1984_05_08 {
dimensions:
lat = 1974 ;
lon = 1894 ;
time = UNLIMITED ; // (1 currently)
variables:
int time(time) ;
2005 Jan 21
1
memory and swap space in ncdf
I've a linux system with 2Gb of memory which is not
enough for reading a 446Mb netcdf file using ncdf:
library(ncdf)
ncold <- open.ncdf("gridone.grd")
Error: cannot allocate vector of size 1822753 Kb
When I look at the free memory in my system I can see
that none of the Swap space is being used by R.
I am a newbie in linux and R, I've read the Memory
help pages but still
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
2012 Jan 03
1
where to ask questions regarding package=ncdf?
Should one ask questions relating to the R package 'ncdf' here? or
look for a more netCDF-oriented (but probably less R-oriented) list?
Why I ask:
I'm relatively new to R, which I've only used in the past for graphics.
I'm trying to learn R as an alternative to manipulating netCDF files
with NCO (which works well but lacks all the other R goodnesses). Hence
I've got a
2004 Mar 13
1
Installing ncdf package
Hi
I used the command
R CMD INSTALL ncdf
to install ncdf package in linux. Can somebody explain to me what might
be wrong. Thanks. Below is the error.
* Installing *source* package 'ncdf' ...
Special note:
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for
2005 Apr 27
1
ncdf with opendap/dods support
Aloha,
I just made some quick hacks on the configure script with the 'ncdf'
package to make it link with the opendap/dods libraries (opendap.org)
rather than the netcdf api library. Basically, this allows a user to
interact in R with a remotely served dataset as if it were a netcdf file
on the local filesystem (read-only). Functionality with local files
should continue to work as
2007 Jul 08
2
Windows Binary for ncdf package
Dear Sir
There is no window binary version of package ncdf in the latest release of R
2.5.1. i dont have any information about the old versions.
Please guid in thie regard
Thank you
--
AMINA SHAHZADI
Department of Statistics
GC University Lahore, Pakistan.
Email:
amnakhan493@gmail.com
amna_989@hotmail.com
amna_989@yahoo.com
[[alternative HTML version deleted]]