[R] trouble compiling Hmisc package
Gabor Grothendieck
ggrothendieck at gmail.com
Tue Jul 17 15:50:28 CEST 2007
I came across this on a 64 bit Fedora machine as well. I deleted the
src directory in the Hmisc source (and its contents) and commented out
this line in the NAMESPACE file in the Hmisc source:
useDynLib(Hmisc)
which allowed it to build. It turned out that I was not using any of the
deleted functionality anyways.
On 7/13/07, colton.smith at skio.usg.edu <colton.smith at skio.usg.edu> wrote:
> Hi:
>
> We're trying to install the Hmisc package on a Solaris 9 machine.
> Here's what we get:
>
> R CMD INSTALL /usr/local/srctree/Hmisc_3.4-2.tar.gz
> * Installing to library '/usr/local/lib/R/library'
> * Installing *source* package 'Hmisc' ...
> ** libs
> g95 -fPIC -g -O2 -c cidxcn.f -o cidxcn.o
> g95 -fPIC -g -O2 -c cidxcp.f -o cidxcp.o
> g95 -fPIC -g -O2 -c hoeffd.f -o hoeffd.o
> g95 -fPIC -g -O2 -c jacklins.f -o jacklins.o
> g95 -fPIC -g -O2 -c largrec.f -o largrec.o
> In file largrec.f:27
>
> DO xl=xlim(1),xlim(2)-width,xinc
> 1
> Error: Loop variable at (1) must be a scalar INTEGER
> In file largrec.f:28
>
> DO yl=ylim(1),ylim(2)-height,yinc
> 1
> Error: Loop variable at (1) must be a scalar INTEGER
> In file largrec.f:29
>
> DO xr=xl+width,xlim(2),xinc
> 1
> Error: Loop variable at (1) must be a scalar INTEGER
> In file largrec.f:30
>
> DO yu=yl+height,ylim(2),yinc
> 1
> Error: Loop variable at (1) must be a scalar INTEGER
> make: *** [largrec.o] Error 1
> ERROR: compilation failed for package 'Hmisc'
> ** Removing '/usr/local/lib/R/library/Hmisc'
>
> Can anybody help us?
>
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>
More information about the R-help
mailing list