A question about installation of cghFLasso package
1
0
Entering edit mode
affy snp ▴ 640
@affy-snp-2480
Last seen 10.5 years ago
Dear list, Hello! My name is Allen Shore, a graduate student at Wistar Institute in Philadelphia. I am trying to use cghFLasso to analyze a bunch of Affy SNP array data for identifying copy number variations. I had no problem with installing cghFLasso package on windows desketop. But I did have trouble with installing on the server (unix system). I tried two servers and got the following errors. For Server1: [shoreallen at madison download]$ R CMD INSTALL cghFLasso_0.1-2.tar.gz * Installing to library '/home/allen/lib/R' * Installing *source* package 'cghFLasso' ... /usr/local/lib/R/bin/INSTALL: ./configure: /bin/sh: bad interpreter: Permission denied ERROR: configuration failed for package 'cghFLasso' ** Removing '/home/allen/lib/R/cghFLasso' For Server2, I got: -bash-3.00$ R CMD INSTALL cghFLasso_0.1-2.tar.gz * Installing to library '/home/allen/R/x86_64-redhat-linux-gnu- library/2.6' ERROR: failed to lock directory '/mnt/sc03/genomics/home/allen/R/x86_64-redhat-linux-gnu-library/2.6' for modifying Try removing '/mnt/sc03/genomics/home/allen/R/x86_64-redhat-linux-gnu- library/2.6/00LOCK' I then tried I tried: R CMD INSTALL -l /home/allen/lib/R//home/allen/download/cghFLasso_0.1-2.tar.gz and got: -bash-3.00$ R CMD INSTALL -l /home/allen/lib/R/ /home/allen/download/cghFLasso_0.1- 2.tar.gz * Installing *source* package 'cghFLasso' ... R_HOME is /usr/lib64/R Attempting to determine R_ARCH... R_ARCH is Attempting to detect how R was configured for Fortran 90.... Unsupported Fortran 90 compiler or Fortran 90 compilers unavailable! Stop! ERROR: configuration failed for package 'cghFLasso' ** Removing '/mnt/sc03/genomics/home/allen/lib/R/cghFLasso' Seems that if there is a problem with Fortran 90? I also asked the help from the server admini. He also got the same error message as I had. He looked through the R configuration options for FORTRAN in the R that is in his homedir. The R documentation says this: http://cran.r-project.org/doc/manuals/R-admin.html#Using-FORTRAN In /home/chekh/src/R-2.6.0/config.log he has: ... Fortran 77 compiler: g77 -g -O2 C++ compiler: g++ -g -O2 Fortran 90/95 compiler: g77 -g -O2 ... g77 (part of GCC) is the only FORTRAN compiler installed on cytosine, and that should be sufficient. Does anybody has experience of installing cghFLasso and can offer any clue for this? Thank you very much and look forward to your reply! Sincerely, Allen
SNP affy SNP affy • 1.5k views
ADD COMMENT
0
Entering edit mode
@sean-davis-490
Last seen 8 days ago
United States
On Nov 10, 2007 3:52 PM, affy snp <affysnp at="" gmail.com=""> wrote: > Dear list, > > Hello! My name is Allen Shore, a graduate student at Wistar > Institute in Philadelphia. I am trying to use cghFLasso to > analyze a bunch of Affy SNP array data for identifying > copy number variations. > > I had no problem with installing cghFLasso package on > windows desketop. But I did have trouble with installing > on the server (unix system). > > I tried two servers and got the following errors. > > For Server1: > > [shoreallen at madison download]$ R CMD INSTALL cghFLasso_0.1-2.tar.gz > * Installing to library '/home/allen/lib/R' > * Installing *source* package 'cghFLasso' ... > /usr/local/lib/R/bin/INSTALL: ./configure: /bin/sh: bad interpreter: > Permission denied > ERROR: configuration failed for package 'cghFLasso' > ** Removing '/home/allen/lib/R/cghFLasso' Hi, Allen. This looks like a permissions problem. Typically, if R is installed as root, the directories for packages are owned by root. Now, a couple of suggestions: 1) USE biocLite() whenever possible. It will typically do the right thing by getting the correct package for your os and R package from the correct repository as well as dependencies. Also, if you are not the Root user, it will use R to ask you for a location that makes sense to install packages into in your local directory. 2) If possible, ask a root user to install the packages (again, using biocLite()) as the root user so that everyone on your machine has access. 3) While it seems silly to do all the time, include sessionInfo for ALL emails if there is ANY doubt about what machine, OS, R version, or loaded packages are being used. I have never seen anyone faulted for including sessionInfo unnecessarily. So, try: source('http://bioconductor.org/biocLite.R') biocLite('bghFLasso') and let us know how it went if you have problems. Sean
ADD COMMENT
0
Entering edit mode
Hi Sean, Thanks a lot! I tried biocLite() earlier and then switched to R CMD INSTALL. I just did it once again and got: (1) For server 1, > source('http://bioconductor.org/biocLite.R') > biocLite('cghFLasso') Running biocinstall version 2.1.8 with R version 2.6.0 Your version of R requires version 2.1 of Bioconductor. Warning in install.packages(pkgs = pkgs, repos = repos, dependencies = dependencies, : argument 'lib' is missing: using '/home/allen/R/x86_64-redhat-linux-gnu-library/2.6' trying URL 'http://cran.fhcrc.org/src/contrib/cghFLasso_0.1-2.tar.gz' Content type 'application/x-gzip' length 142390 bytes (139 Kb) opened URL ================================================== downloaded 139 Kb ERROR: failed to lock directory '/mnt/sc03/genomics/home/allen/R/x86_64-redhat-linux-gnu-library/2.6' for modifying Try removing '/mnt/sc03/genomics/home/allen/R/x86_64-redhat-linux-gnu- library/2.6/00LOCK' The downloaded packages are in /tmp/Rtmp2UkIQF/downloaded_packages Warning message: In install.packages(pkgs = pkgs, repos = repos, dependencies = dependencies, : installation of package 'cghFLasso' had non-zero exit status > (2) For server 2, > source('http://bioconductor.org/biocLite.R') > biocLite('cghFLasso') Running biocinstall version 2.0.8 with R version 2.5.0 Your version of R requires version 2.0 of Bioconductor. Warning in install.packages(pkgs = pkgs, repos = repos, dependencies = dependencies, : argument 'lib' is missing: using '/home/allen/lib/R' trying URL 'http://cran.fhcrc.org/src/contrib/cghFLasso_0.1-2.tar.gz' Content type 'application/x-gzip' length 142390 bytes opened URL ================================================== downloaded 139Kb * Installing *source* package 'cghFLasso' ... /usr/local/lib/R/bin/INSTALL: ./configure: /bin/sh: bad interpreter: Permission denied ERROR: configuration failed for package 'cghFLasso' ** Removing '/home/allen/lib/R/cghFLasso' The downloaded packages are in /tmp/RtmpbuM77p/downloaded_packages Warning messages: 1: installation of package 'cghFLasso' had non-zero exit status in: install.packages(pkgs = pkgs, repos = repos, dependencies = dependencies, 2: cannot create HTML package index in: tools:::unix.packages.html(.Library) > Thanks a lot! Allen On Nov 10, 2007 4:13 PM, Sean Davis <sdavis2 at="" mail.nih.gov=""> wrote: > On Nov 10, 2007 3:52 PM, affy snp <affysnp at="" gmail.com=""> wrote: > > Dear list, > > > > Hello! My name is Allen Shore, a graduate student at Wistar > > Institute in Philadelphia. I am trying to use cghFLasso to > > analyze a bunch of Affy SNP array data for identifying > > copy number variations. > > > > I had no problem with installing cghFLasso package on > > windows desketop. But I did have trouble with installing > > on the server (unix system). > > > > I tried two servers and got the following errors. > > > > For Server1: > > > > [shoreallen at madison download]$ R CMD INSTALL cghFLasso_0.1-2.tar.gz > > * Installing to library '/home/allen/lib/R' > > * Installing *source* package 'cghFLasso' ... > > /usr/local/lib/R/bin/INSTALL: ./configure: /bin/sh: bad interpreter: > > Permission denied > > ERROR: configuration failed for package 'cghFLasso' > > ** Removing '/home/allen/lib/R/cghFLasso' > > Hi, Allen. > > This looks like a permissions problem. Typically, if R is installed > as root, the directories for packages are owned by root. > > Now, a couple of suggestions: > > 1) USE biocLite() whenever possible. It will typically do the right > thing by getting the correct package for your os and R package from > the correct repository as well as dependencies. Also, if you are not > the Root user, it will use R to ask you for a location that makes > sense to install packages into in your local directory. > > 2) If possible, ask a root user to install the packages (again, using > biocLite()) as the root user so that everyone on your machine has > access. > > 3) While it seems silly to do all the time, include sessionInfo for > ALL emails if there is ANY doubt about what machine, OS, R version, or > loaded packages are being used. I have never seen anyone faulted for > including sessionInfo unnecessarily. > > So, try: > > source('http://bioconductor.org/biocLite.R') > biocLite('bghFLasso') > > and let us know how it went if you have problems. > > Sean >
ADD REPLY
0
Entering edit mode
On Nov 10, 2007 4:21 PM, affy snp <affysnp at="" gmail.com=""> wrote: > Hi Sean, > > Thanks a lot! > > I tried biocLite() earlier and then switched to R CMD INSTALL. > > I just did it once again and got: > > (1) For server 1, > > > source('http://bioconductor.org/biocLite.R') > > biocLite('cghFLasso') > Running biocinstall version 2.1.8 with R version 2.6.0 > Your version of R requires version 2.1 of Bioconductor. > Warning in install.packages(pkgs = pkgs, repos = repos, dependencies = > dependencies, : > argument 'lib' is missing: using > '/home/allen/R/x86_64-redhat-linux-gnu-library/2.6' > trying URL 'http://cran.fhcrc.org/src/contrib/cghFLasso_0.1-2.tar.gz' > Content type 'application/x-gzip' length 142390 bytes (139 Kb) > opened URL > ================================================== > downloaded 139 Kb > > ERROR: failed to lock directory > '/mnt/sc03/genomics/home/allen/R/x86_64-redhat-linux-gnu- library/2.6' > for modifying > Try removing '/mnt/sc03/genomics/home/allen/R/x86_64-redhat-linux- gnu-library/2.6/00LOCK' So, did you try removing that file? > (2) For server 2, > > > source('http://bioconductor.org/biocLite.R') > > biocLite('cghFLasso') > Running biocinstall version 2.0.8 with R version 2.5.0 > Your version of R requires version 2.0 of Bioconductor. > Warning in install.packages(pkgs = pkgs, repos = repos, dependencies = > dependencies, : > argument 'lib' is missing: using '/home/allen/lib/R' > trying URL 'http://cran.fhcrc.org/src/contrib/cghFLasso_0.1-2.tar.gz' > Content type 'application/x-gzip' length 142390 bytes > opened URL > ================================================== > downloaded 139Kb > > * Installing *source* package 'cghFLasso' ... > /usr/local/lib/R/bin/INSTALL: ./configure: /bin/sh: bad interpreter: > Permission denied > ERROR: configuration failed for package 'cghFLasso' > ** Removing '/home/allen/lib/R/cghFLasso' Can you install ANY packages on this machine? This looks like the R installation procedure is broken, perhaps because of permissions. Unless you are the system administrator on this machine, I think you will need to find some local help. Also, perhaps someone else on this list has another idea, but since this is R-2.5.0, it might be better to simply reinstall a newer version of R. Sean
ADD REPLY

Login before adding your answer.

Traffic: 1066 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6