[R] ldBands (Hmisc)

David Afshartous dafshartous at med.miami.edu
Mon Oct 13 17:57:35 CEST 2008


I'm getting the same error message as that discussed in a previous post (Feb
3, 2006).  The reply to that post was to insure that the ld98 program was in
the system path (as also suggested in the help on ldBands).  I have done
this but this does not change the result.  Any advice much appreciated.


> sessionInfo()
R version 2.7.2 (2008-08-25)

LC_COLLATE=English_United States.1252;LC_CTYPE=English_United
States.1252;LC_NUMERIC=C;LC_TIME=English_United States.1252

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base

other attached packages:
[1] Hmisc_3.4-3

loaded via a namespace (and not attached):
[1] cluster_1.11.11 grid_2.7.2      lattice_0.17-13 tools_2.7.2

## run example from help on ldBands
> b <- ldBands(5, pr=FALSE)
Error in (head + 1):length(w) : NA/NaN argument

## my Path variable is specified as follows on Windows XP, with the ld98
sitting in the WinLD directory:
C:\Program Files\MiKTeX
;C:\Program Files\WinLD

More information about the R-help mailing list