[BioC] Problem installing hexbin?

Seth Falcon sfalcon at fhcrc.org
Thu Apr 27 01:59:03 CEST 2006


David Henderson <dnadave at insightful.com> writes:

> Hi Robert:
>
>
> Here's what I see on my SuSE 10.0 laptop:
>
> minime{david}103: gfortran --version
> GNU Fortran 95 (GCC 4.0.2 20050901 (prerelease) (SUSE Linux))
> Copyright (C) 2005 Free Software Foundation, Inc.
>
> GNU Fortran comes with NO WARRANTY, to the extent permitted by law.
> You may redistribute copies of GNU Fortran
> under the terms of the GNU General Public License.
> For more information about these matters, see the file named COPYING
> minime{david}104: R CMD INSTALL hexbin_1.4.0.tar.gz
> * Installing *source* package 'hexbin' ...
> ** libs
> gfortran   -fPIC  -O2 -c hbin.f -o hbin.o
>  In file hbin.f:1
>
>        subroutine hbin(x,y,cell,cnt,xcm,ycm, size, shape,
>                                                        1
> Error: Symbol 'shape' at (1) has no IMPLICIT type

Dave, I think you have an old version of the hexbin code.  

    hexbin> svn log -v -r 14557
    ------------------------------------------------------------------------
    r14557 | nikko at hailmail.net | 2005-10-24 09:11:18 -0700 (Mon, 24 Oct 2005) | 3 lines
    Changed paths:
       M /trunk/madman/Rpacks/hexbin/R/hexplom.R
       M /trunk/madman/Rpacks/hexbin/src/hbin.f
    
    debugging, fixed hbin.f to comply with gfortran error messages. Now it 
    compiles
                                                                                     

    ~/hexbin/src> svn diff -r 14556:HEAD
    Index: hbin.f
    ===================================================================
    --- hbin.f      (.../trunk/madman/Rpacks/hexbin/src)    (revision 14556)
    +++ hbin.f      (.../branches/RELEASE_1_8/madman/Rpacks/hexbin/src)     (revision 17729)
    @@ -15,7 +15,8 @@
     
            integer n, nc, cell(*), cnt(*), bnd(2), cellid(*)
     c       cellid(*): length 1 or n
    -       double precision x(n), y(n), xcm(*),ycm(*), rx(2),ry(2), size,shape
    +       double precision x(n), y(n), xcm(*),ycm(*), rx(2),ry(2), size
    +        double precision shape
            integer i, i1, i2, iinc
            integer j1, j2, jinc
            integer L, lmax, lat           

Can you try with the latest:
http://bioconductor.org/packages/1.8/bioc/html/hexbin.html

+ seth



More information about the Bioconductor mailing list