[R] "prob" package alternative
David Winsemius
dw|n@em|u@ @end|ng |rom comc@@t@net
Fri Apr 7 00:00:52 CEST 2023
On 4/6/23 02:15, Martin Maechler wrote:
>>>>>> peter murage
>>>>>> on Tue, 4 Apr 2023 06:24:56 +0000 writes:
> > Which package in R replaced package prob?
>
> Well, if you google that you should quickly be lead to
> (something I even think makes sense to memorize as "rule"
> package=<pkg> ) :
>
> https://CRAN.R-project.org/package=prob
>
> which now says that the package was archived as it depended on
> another package that was archived.
>
> Both are still there -- in the CRAN archive --
> but to install them may be a bit of work
I suspect Martin is referring to the need to have an OS-specific
toolchain for compiling packages. In this case however the DESCRIPTION
files says:
NeedsCompilation: no
So it is probably a simple matter to install. Err.... not quite
correctOr it would have been if there hadn't been several dependencies,
some of which required compilation. Here's what finally worked on a
machine that has a working toolchain.
install.packages("fBasics")
install.packages("http://cran.nexr.com/src/contrib/fOptions_3042.86.tar.gz",
repo=NULL)
install.packages("http://cran.nexr.com/src/contrib/fAsianOptions_3042.82.tar.gz",
repo=NULL)
install.packages("https://cran.r-project.org/src/contrib/Archive/prob/prob_1.0-1.tar.gz",
repo=NULL)
I think I could have changed my repo to cran.nexr.com and they might
have even had binaries. I'll check. Yep, they do have source and
binaries. So that might be the easiest. You could try just this:
install.packages("fAsianOptions", repo="http://cran.nexr.com/",
dependencies=TRUE)
--
David.
> particularly if you are
> on Windows (as it suggeested you are via a Microsoft "add" at
> the end of your R-help post ..).
> One way I'd use is Winbuilder
> (which will require you to set yourself as formal "Maintainer" of
> the package before submission).
>
> An alternative may be to use Rhub ..
> or then learn to do it yourself, by installing the "Rtools" (for Windows):
> --->https://cran.r-project.org/bin/windows/Rtools/
>
> With best regards,
> Martin
>
> ______________________________________________
> R-help using r-project.org mailing list -- To UNSUBSCRIBE and more, see
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guidehttp://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
[[alternative HTML version deleted]]
More information about the R-help
mailing list