Pitch Mandava
2016-Oct-10 14:03 UTC
[R] Having trouble with running ldBands in Hmisc package. Posted in StackExchange
I am trying to run the example from Hmisc package in RStudio environment under Windows 10 and downloaded ld98.exe> .libPaths()Produces the following output[1] "C:/Users/username/X1_Carbon/Documents/R/win-library/3.2"[2] "C:/Program Files/R/R-3.2.5/library"I moved the ld98.exe to C:/Users/username/X1_Carbon/Documents/R/win-library/3.2Then installed Hmisc and ran the following> require(Hmisc)> b <- ldBands(5, pr=FALSE)Produces the followingError: could not find function "ldBands"To see if ld98.exe is working in the directory I ran the ld98.exe in the Windows environment I get the following outputProgram for computations related to group sequential boundaries using spending functions.Is this an interactive session? (1=yes,0=no)yes interactive = 1etc.....[[alternative HTML version deleted]]
David Winsemius
2016-Oct-10 16:39 UTC
[R] Having trouble with running ldBands in Hmisc package. Posted in StackExchange
> On Oct 10, 2016, at 7:03 AM, Pitch Mandava via R-help <r-help at r-project.org> wrote: > > I am trying to run the example from Hmisc package in RStudio environment under Windows 10 and downloaded ld98.exe> .libPaths()Produces the following output[1] "C:/Users/username/X1_Carbon/Documents/R/win-library/3.2"[2] "C:/Program Files/R/R-3.2.5/library"I moved the ld98.exe to C:/Users/username/X1_Carbon/Documents/R/win-library/3.2Then installed Hmisc and ran the following> require(Hmisc) >> b <- ldBands(5, pr=FALSE)Produces the followingError: could not find function "ldBands"To see if ld98.exe is working in the directory I ran the ld98.exe in the Windows environment I get the following outputProgram for computations related to group sequential boundaries using spending functions.Is this an interactive session? (1=yes,0=no)yes interactive = 1etc..... > [[alternative HTML version deleted]] >You should check the NEWS file. That function was removed in Hmisc version 3.14 -- David,> ______________________________________________ > R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see > 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.David Winsemius Alameda, CA, USA
Marc Schwartz
2016-Oct-10 17:10 UTC
[R] Having trouble with running ldBands in Hmisc package. Posted in StackExchange
> On Oct 10, 2016, at 11:39 AM, David Winsemius <dwinsemius at comcast.net> wrote: > > >> On Oct 10, 2016, at 7:03 AM, Pitch Mandava via R-help <r-help at r-project.org> wrote: >> >> I am trying to run the example from Hmisc package in RStudio environment under Windows 10 and downloaded ld98.exe> .libPaths()Produces the following output[1] "C:/Users/username/X1_Carbon/Documents/R/win-library/3.2"[2] "C:/Program Files/R/R-3.2.5/library"I moved the ld98.exe to C:/Users/username/X1_Carbon/Documents/R/win-library/3.2Then installed Hmisc and ran the following> require(Hmisc) >>> b <- ldBands(5, pr=FALSE)Produces the followingError: could not find function "ldBands"To see if ld98.exe is working in the directory I ran the ld98.exe in the Windows environment I get the following outputProgram for computations related to group sequential boundaries using spending functions.Is this an interactive session? (1=yes,0=no)yes interactive = 1etc..... >> [[alternative HTML version deleted]] >> > > You should check the NEWS file. That function was removed in Hmisc version 3.14 > > -- > David,Hi, Just to augment David's reply with some additional direction, if you specifically need the Lan-DeMets methodology. The Clinical Trials Task View: https://cran.r-project.org/web/views/ClinicalTrials.html <https://cran.r-project.org/web/views/ClinicalTrials.html> provides names of other packages that provide for group sequential boundary calculations, although it looks like the entry for Hmisc needs to be edited there. I am cc'ing the CT TV maintainer here as a heads up. Regards, Marc Schwartz [[alternative HTML version deleted]]