Re: [R] joined R-today [SELinux]

2009-04-21 Thread William Dunlap
Redhat's Security Enhanced Linux (in some modes) generates messages like that when code in a shared library is not compiled to have position independent code. I.e., the -fpic or -fPIC flag was not supplied when compiling. Your build log showed that -fpic was used when compiling your code, but the

Re: [R] joined R-today

2009-04-21 Thread Marc Schwartz
Bala, I would not advocate disabling SELinux entirely to resolve this issue. SELinux is one of the key security features of Fedora Linux and some other Linux distributions that have adopted it. It has already been demonstrated to be robust with respect to so-called zero-day attacks. I wou

Re: [R] joined R-today

2009-04-21 Thread Bala subramanian
Dear Marc and Peter, Thank you so much. In fact disabling the SElinux solved the problem. Bala On Tue, Apr 21, 2009 at 4:43 PM, Marc Schwartz wrote: > > On Apr 21, 2009, at 9:28 AM, Peter Dalgaard wrote: > > Bala subramanian wrote: >> >>> Hi, >>> I tried to install from four different mirror

Re: [R] joined R-today

2009-04-21 Thread Marc Schwartz
On Apr 21, 2009, at 9:28 AM, Peter Dalgaard wrote: Bala subramanian wrote: Hi, I tried to install from four different mirrors. The result is the same. I dnt understand what the following error means. /usr/lib/R/library/ncdf/libs/ncdf.so: cannot restore segment prot after reloc: Permissio

Re: [R] joined R-today

2009-04-21 Thread Peter Dalgaard
Bala subramanian wrote: > Hi, > I tried to install from four different mirrors. The result is the same. I > dnt understand what the following error means. > /usr/lib/R/library/ncdf/libs/ncdf.so: cannot restore segment prot after > reloc: Permission denied > Error in library(ncdf) : .First.lib faile

Re: [R] joined R-today

2009-04-21 Thread Bala subramanian
Hi, In install.packages, there is something called *lib* which says, lib: character vector giving the library directories where to install the packages. Recycled as needed. If missing, defaults to '.libPaths()[1]'. If i have to give the lib option as an arguement, what should be the path for th

Re: [R] joined R-today

2009-04-21 Thread Bala subramanian
Hi, I tried to install from four different mirrors. The result is the same. I dnt understand what the following error means. /usr/lib/R/library/ncdf/libs/ncdf.so: cannot restore segment prot after reloc: Permission denied Error in library(ncdf) : .First.lib failed for 'ncdf' I even tried to change

Re: [R] joined R-today

2009-04-21 Thread Dimitri Liakhovitski
Try to install from scratch from a different mirror. Dimitri On Tue, Apr 21, 2009 at 6:21 AM, Bala subramanian wrote: > Hi, > Yes ncdf needs netcdf, netcdf is already installed in my fedora10. I > reinstalled ncdf with the following option >>install.packages('ncdf',dep=TRUE) >>library(ncdf)> libr

Re: [R] joined R-today

2009-04-21 Thread Bala subramanian
Hi, Yes ncdf needs netcdf, netcdf is already installed in my fedora10. I reinstalled ncdf with the following option >install.packages('ncdf',dep=TRUE) >library(ncdf)> library(ncdf) Error in dyn.load(file, DLLpath = DLLpath, ...) : unable to load shared library '/usr/lib/R/library/ncdf/libs/ncdf.s

Re: [R] joined R-today

2009-04-21 Thread Liviu Andronic
On Tue, Apr 21, 2009 at 11:57 AM, Bala subramanian wrote: > Dear Simon, > I installed the ncdf package in the way you suggested but still i got the > same error i got before. I haves pasted below the installation log and > errors. > Does ncdf depend on netcdf [1]? If so, perhaps it is missing, or

Re: [R] joined R-today

2009-04-21 Thread Bala subramanian
2. then call the package using "library(name of the package)" > > It helps to know where your R library directory is on your computer. > > HTH Simon. > > > - Original Message - From: "Bala subramanian" < > bala.biophys...@gmail.com> > T

Re: [R] joined R-today

2009-04-21 Thread Simon Pickett
R library directory is on your computer. HTH Simon. - Original Message - From: "Bala subramanian" To: Sent: Tuesday, April 21, 2009 9:34 AM Subject: [R] joined R-today Friends, I am a newbie to R. Just installed and started with R. I installed netcdf library (netcdf-4.0

[R] joined R-today

2009-04-21 Thread Bala subramanian
Friends, I am a newbie to R. Just installed and started with R. I installed netcdf library (netcdf-4.0.tar.gz) and then ncdf package of R from CRAN with the following command. R CMD INSTALL --configure-args="-with-netcdf_incdir=/usr/local/netcdf/include -with-netcdf_libdir=/usr/local/netcdf/lib"