Re: [R] "prob" package alternative

2023-04-06 Thread David Winsemius


On 4/6/23 02:15, Martin Maechler wrote:
>> peter murage
>>  on Tue, 4 Apr 2023 06:24:56 + 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= ) :
>
>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@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]]

__
R-help@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.


Re: [R] "prob" package alternative

2023-04-06 Thread Martin Maechler
> peter murage 
> on Tue, 4 Apr 2023 06:24:56 + 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= ) :

  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 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@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.


Re: [R] "prob" package alternative

2023-04-06 Thread peter murage
Which package in R replaced package prob?

Sent from Mail for Windows


[[alternative HTML version deleted]]

__
R-help@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.


Re: [R] "prob" package alternative

2017-11-02 Thread Tiby Kantrowitz
That worked. Thank you, especially for that last one!

So, for others who might encounter this same situation:

1. Install RTools from here:
https://cran.r-project.org/bin/windows/Rtools/Rtools34.exe
Trying to install Rtools from inside RStudio will result in an "it's not
available for 3.4.2"  message.

2. Install the following dependencies: timeDate, timeSeries, fBasics,
fOptions

3. Download fAsianOptions from here:
https://cran.r-project.org/src/contrib/Archive/fAsianOptions/fAsianOptions_3010.79.tar.gz
and prob from here:
https://cran.r-project.org/src/contrib/Archive/prob/prob_1.0-0.tar.gz

4. Unzip each into its own directory.

5. Use this to install each, as appropriate:
install.packages("~/Downloads/fAsianOptions",
dependencies=TRUE, repos=NULL, type = "source")





On Thu, Nov 2, 2017 at 7:02 PM, David Winsemius 
wrote:

>
> > On Nov 2, 2017, at 3:46 PM, Tiby Kantrowitz  wrote:
> >
> > Thanks. I found that, and installed it and got the same message. Here:
> >
> > RTools version 3.4
> >
> > install.packages("fAsianOptions_3010.tar.gz",
>
> I don't see a path to that file's location.
>
> The expansion from pkg_version.tar.gz might be automatic, but I do
> generally expand such file into its own directory and then drag that
> directory icon into the console so my command would look like:
>
> install.packages("~/Downloads/fAsianOptions", dependencies=TRUE,
> repos=NULL, type = "source")
>
>
> I suggest you learn to post in plain text since your HTML postings are
> loosing their carriage returns.
>
> --
> David
>
>
>
>
> > dependencies=TRUE, repos=NULL, type = "source")
> > Installing package into ‘C:/Users/Tlk7/Documents/R/win-library/3.4’ (as
> ‘lib’ is unspecified) Warning: invalid package 'fAsianOptions_3010.tar.gz'
> Error: ERROR: no packages specified Warning in install.packages : running
> command '"C:/PROGRA~1/R/R-34~1.2/bin/x64/R" CMD INSTALL -l
> "C:\Users\Tlk7\Documents\R\win-library\3.4" "fAsianOptions_3010.tar.gz"'
> had status 1 Warning in install.packages : installation of package
> ‘fAsianOptions_3010.tar.gz’ had non-zero exit status
> >
> > On Thu, Nov 2, 2017 at 6:06 PM, David Winsemius 
> wrote:
> >
> > > On Nov 2, 2017, at 2:14 PM, Tiby Kantrowitz 
> wrote:
> > >
> > > Rtools is not available for the current version of R.
> >
> > Really? If true, I'm surprised and not able to help. I do see an
> Rtools34.exe at https://cran.r-project.org/bin/windows/Rtools/
> > --
> > David.
> >
> > >
> > > What I'm looking for is an alternative package or how others have
> managed to create workarounds.
> > >
> > > On Thu, Nov 2, 2017 at 4:25 PM, David Winsemius <
> dwinsem...@comcast.net> wrote:
> > >
> > > > On Nov 2, 2017, at 1:09 PM, Tiby Kantrowitz 
> wrote:
> > > >
> > > > Yes, that is exactly what I was doing two days ago.
> > > >
> > > > Warning in install.packages :
> > > >   installation of package ‘fAsianOptions_3010.79.tar.gz’ had
> non-zero exit status
> > > >
> > > > Which is what a reading of the explanation for why "prob" was
> retired leads one to expect. Do you have some other suggestion about how to
> get it to work? I notice you're not using Windows which might have a
> relationship to why it is working for you.
> > >
> > >
> > > I explained what you needed to do if you were on Windows. You do need
> to read the explanation more closely, identify the parts you don't
> understand (in all likelihood the point I made about needing the proper
> development tools for Windows) _and_ read:
> > >
> > > https://cran.r-project.org/doc/manuals/r-release/R-admin.
> html#Installing-packages
> > >
> > > If you have trouble understanding or getting success after thoroughly
> reading these directions, you need to explain what you have done
> (preserving the order of all operations) and post a complete transcript of
> all commands and complete error messages.
> > >
> > >
> > >
> > > --
> > > David.
> > > > Otherwise, do you know of some other package that could be used
> instead of prob?
> > > >
> > > > On Thu, Nov 2, 2017 at 3:44 PM, David Winsemius <
> dwinsem...@comcast.net> wrote:
> > > >
> > > > > On Nov 2, 2017, at 12:07 PM, Tiby Kantrowitz 
> wrote:
> > > > >
> > > > > Yes. That's the version I've been discussing that has non-zero
> exit status. That situation is why CRAN retired the prob package. It's
> possible you installed that library earlier in development and it's been
> "carried" along. It no longer installs, now.
> > > > >
> > > > > The problems with all of this seem to have started this month
> according to the conversations. However, no one has mentioned any solutions
> or workarounds except the one mentioned in passing (2.9).
> > > >
> > > > Not true. Not even close to being true. I explained it all on the SO
> question page that you posted 2 days ago.
> > > >
> > > > --
> > > >
> > > > David.
> > > > >
> > > > > Is there some other package that 

Re: [R] "prob" package alternative

2017-11-02 Thread David Winsemius

> On Nov 2, 2017, at 3:46 PM, Tiby Kantrowitz  wrote:
> 
> Thanks. I found that, and installed it and got the same message. Here:
> 
> RTools version 3.4 
> 
> install.packages("fAsianOptions_3010.tar.gz",

I don't see a path to that file's location.

The expansion from pkg_version.tar.gz might be automatic, but I do generally 
expand such file into its own directory and then drag that directory icon into 
the console so my command would look like:

install.packages("~/Downloads/fAsianOptions", dependencies=TRUE, repos=NULL, 
type = "source") 


I suggest you learn to post in plain text since your HTML postings are loosing 
their carriage returns.

-- 
David




> dependencies=TRUE, repos=NULL, type = "source") 
> Installing package into ‘C:/Users/Tlk7/Documents/R/win-library/3.4’ (as ‘lib’ 
> is unspecified) Warning: invalid package 'fAsianOptions_3010.tar.gz' Error: 
> ERROR: no packages specified Warning in install.packages : running command 
> '"C:/PROGRA~1/R/R-34~1.2/bin/x64/R" CMD INSTALL -l 
> "C:\Users\Tlk7\Documents\R\win-library\3.4" "fAsianOptions_3010.tar.gz"' had 
> status 1 Warning in install.packages : installation of package 
> ‘fAsianOptions_3010.tar.gz’ had non-zero exit status
> 
> On Thu, Nov 2, 2017 at 6:06 PM, David Winsemius  
> wrote:
> 
> > On Nov 2, 2017, at 2:14 PM, Tiby Kantrowitz  wrote:
> >
> > Rtools is not available for the current version of R.
> 
> Really? If true, I'm surprised and not able to help. I do see an Rtools34.exe 
> at https://cran.r-project.org/bin/windows/Rtools/
> --
> David.
> 
> >
> > What I'm looking for is an alternative package or how others have managed 
> > to create workarounds.
> >
> > On Thu, Nov 2, 2017 at 4:25 PM, David Winsemius  
> > wrote:
> >
> > > On Nov 2, 2017, at 1:09 PM, Tiby Kantrowitz  wrote:
> > >
> > > Yes, that is exactly what I was doing two days ago.
> > >
> > > Warning in install.packages :
> > >   installation of package ‘fAsianOptions_3010.79.tar.gz’ had non-zero 
> > > exit status
> > >
> > > Which is what a reading of the explanation for why "prob" was retired 
> > > leads one to expect. Do you have some other suggestion about how to get 
> > > it to work? I notice you're not using Windows which might have a 
> > > relationship to why it is working for you.
> >
> >
> > I explained what you needed to do if you were on Windows. You do need to 
> > read the explanation more closely, identify the parts you don't understand 
> > (in all likelihood the point I made about needing the proper development 
> > tools for Windows) _and_ read:
> >
> > https://cran.r-project.org/doc/manuals/r-release/R-admin.html#Installing-packages
> >
> > If you have trouble understanding or getting success after thoroughly 
> > reading these directions, you need to explain what you have done 
> > (preserving the order of all operations) and post a complete transcript of 
> > all commands and complete error messages.
> >
> >
> >
> > --
> > David.
> > > Otherwise, do you know of some other package that could be used instead 
> > > of prob?
> > >
> > > On Thu, Nov 2, 2017 at 3:44 PM, David Winsemius  
> > > wrote:
> > >
> > > > On Nov 2, 2017, at 12:07 PM, Tiby Kantrowitz  wrote:
> > > >
> > > > Yes. That's the version I've been discussing that has non-zero exit 
> > > > status. That situation is why CRAN retired the prob package. It's 
> > > > possible you installed that library earlier in development and it's 
> > > > been "carried" along. It no longer installs, now.
> > > >
> > > > The problems with all of this seem to have started this month according 
> > > > to the conversations. However, no one has mentioned any solutions or 
> > > > workarounds except the one mentioned in passing (2.9).
> > >
> > > Not true. Not even close to being true. I explained it all on the SO 
> > > question page that you posted 2 days ago.
> > >
> > > --
> > >
> > > David.
> > > >
> > > > Is there some other package that does something similar to prob that 
> > > > can be used instead?
> > > >
> > > > On Thu, Nov 2, 2017 at 2:29 PM, David Winsemius 
> > > >  wrote:
> > > >
> > > > > On Nov 2, 2017, at 11:15 AM, Tiby Kantrowitz  
> > > > > wrote:
> > > > >
> > > > > The issue is fAsianOptions. Is there a version that works with the 
> > > > > latest version of R? If not, which version of it works with which 
> > > > > version of R and where can it be found? I tried several at the 
> > > > > archive already.
> > > >
> > > > sessionInfo()
> > > > R version 3.4.2 Patched (2017-10-04 r73465)
> > > > Platform: x86_64-apple-darwin15.6.0 (64-bit)
> > > > Running under: OS X El Capitan 10.11.6
> > > >
> > > > >
> > > >
> > > >
> > > > packageDescription("fAsianOptions")
> > > > Package: fAsianOptions
> > > > Version: 3010.79
> > > > Revision: 5522
> > > > Date: 2013-06-23
> > > > Title: 

Re: [R] "prob" package alternative

2017-11-02 Thread Tiby Kantrowitz
Thanks. I found that, and installed it and got the same message. Here:

RTools version 3.4

install.packages("fAsianOptions_3010.tar.gz", dependencies=TRUE,
repos=NULL, type = "source")
Installing package into ‘C:/Users/Tlk7/Documents/R/win-library/3.4’ (as
‘lib’ is unspecified) Warning: invalid package 'fAsianOptions_3010.tar.gz'
Error: ERROR: no packages specified Warning in install.packages : running
command '"C:/PROGRA~1/R/R-34~1.2/bin/x64/R" CMD INSTALL -l
"C:\Users\Tlk7\Documents\R\win-library\3.4" "fAsianOptions_3010.tar.gz"'
had status 1 Warning in install.packages : installation of package
‘fAsianOptions_3010.tar.gz’ had non-zero exit status

On Thu, Nov 2, 2017 at 6:06 PM, David Winsemius 
wrote:

>
> > On Nov 2, 2017, at 2:14 PM, Tiby Kantrowitz  wrote:
> >
> > Rtools is not available for the current version of R.
>
> Really? If true, I'm surprised and not able to help. I do see an
> Rtools34.exe at https://cran.r-project.org/bin/windows/Rtools/
> --
> David.
>
> >
> > What I'm looking for is an alternative package or how others have
> managed to create workarounds.
> >
> > On Thu, Nov 2, 2017 at 4:25 PM, David Winsemius 
> wrote:
> >
> > > On Nov 2, 2017, at 1:09 PM, Tiby Kantrowitz 
> wrote:
> > >
> > > Yes, that is exactly what I was doing two days ago.
> > >
> > > Warning in install.packages :
> > >   installation of package ‘fAsianOptions_3010.79.tar.gz’ had non-zero
> exit status
> > >
> > > Which is what a reading of the explanation for why "prob" was retired
> leads one to expect. Do you have some other suggestion about how to get it
> to work? I notice you're not using Windows which might have a relationship
> to why it is working for you.
> >
> >
> > I explained what you needed to do if you were on Windows. You do need to
> read the explanation more closely, identify the parts you don't understand
> (in all likelihood the point I made about needing the proper development
> tools for Windows) _and_ read:
> >
> > https://cran.r-project.org/doc/manuals/r-release/R-admin.
> html#Installing-packages
> >
> > If you have trouble understanding or getting success after thoroughly
> reading these directions, you need to explain what you have done
> (preserving the order of all operations) and post a complete transcript of
> all commands and complete error messages.
> >
> >
> >
> > --
> > David.
> > > Otherwise, do you know of some other package that could be used
> instead of prob?
> > >
> > > On Thu, Nov 2, 2017 at 3:44 PM, David Winsemius <
> dwinsem...@comcast.net> wrote:
> > >
> > > > On Nov 2, 2017, at 12:07 PM, Tiby Kantrowitz 
> wrote:
> > > >
> > > > Yes. That's the version I've been discussing that has non-zero exit
> status. That situation is why CRAN retired the prob package. It's possible
> you installed that library earlier in development and it's been "carried"
> along. It no longer installs, now.
> > > >
> > > > The problems with all of this seem to have started this month
> according to the conversations. However, no one has mentioned any solutions
> or workarounds except the one mentioned in passing (2.9).
> > >
> > > Not true. Not even close to being true. I explained it all on the SO
> question page that you posted 2 days ago.
> > >
> > > --
> > >
> > > David.
> > > >
> > > > Is there some other package that does something similar to prob that
> can be used instead?
> > > >
> > > > On Thu, Nov 2, 2017 at 2:29 PM, David Winsemius <
> dwinsem...@comcast.net> wrote:
> > > >
> > > > > On Nov 2, 2017, at 11:15 AM, Tiby Kantrowitz 
> wrote:
> > > > >
> > > > > The issue is fAsianOptions. Is there a version that works with the
> latest version of R? If not, which version of it works with which version
> of R and where can it be found? I tried several at the archive already.
> > > >
> > > > sessionInfo()
> > > > R version 3.4.2 Patched (2017-10-04 r73465)
> > > > Platform: x86_64-apple-darwin15.6.0 (64-bit)
> > > > Running under: OS X El Capitan 10.11.6
> > > >
> > > > >
> > > >
> > > >
> > > > packageDescription("fAsianOptions")
> > > > Package: fAsianOptions
> > > > Version: 3010.79
> > > > Revision: 5522
> > > > Date: 2013-06-23
> > > > Title: EBM and Asian Option Valuation
> > > > Author: Diethelm Wuertz and many others, see the SOURCE file
> > > > Depends: R (>= 2.4.0), timeDate, timeSeries, fBasics, fOptions
> > > > Suggests: RUnit
> > > > Maintainer: Yohan Chalabi 
> > > > Description: Environment for teaching "Financial Engineering and
> Computational Finance"
> > > > Note: Several parts are still preliminary and may be changed in the
> future. this
> > > >   typically includes function and argument names, as well as
> defaults for
> > > >   arguments and return values.
> > > > LazyData: yes
> > > > License: GPL (>= 2)
> > > > URL: http://www.rmetrics.org
> > > > Packaged: 2013-06-23 18:22:14 UTC; yohan
> > 

Re: [R] "prob" package alternative

2017-11-02 Thread David Winsemius

> On Nov 2, 2017, at 2:14 PM, Tiby Kantrowitz  wrote:
> 
> Rtools is not available for the current version of R.

Really? If true, I'm surprised and not able to help. I do see an Rtools34.exe 
at https://cran.r-project.org/bin/windows/Rtools/
-- 
David.

> 
> What I'm looking for is an alternative package or how others have managed to 
> create workarounds.
> 
> On Thu, Nov 2, 2017 at 4:25 PM, David Winsemius  
> wrote:
> 
> > On Nov 2, 2017, at 1:09 PM, Tiby Kantrowitz  wrote:
> >
> > Yes, that is exactly what I was doing two days ago.
> >
> > Warning in install.packages :
> >   installation of package ‘fAsianOptions_3010.79.tar.gz’ had non-zero exit 
> > status
> >
> > Which is what a reading of the explanation for why "prob" was retired leads 
> > one to expect. Do you have some other suggestion about how to get it to 
> > work? I notice you're not using Windows which might have a relationship to 
> > why it is working for you.
> 
> 
> I explained what you needed to do if you were on Windows. You do need to read 
> the explanation more closely, identify the parts you don't understand (in all 
> likelihood the point I made about needing the proper development tools for 
> Windows) _and_ read:
> 
> https://cran.r-project.org/doc/manuals/r-release/R-admin.html#Installing-packages
> 
> If you have trouble understanding or getting success after thoroughly reading 
> these directions, you need to explain what you have done (preserving the 
> order of all operations) and post a complete transcript of all commands and 
> complete error messages.
> 
> 
> 
> --
> David.
> > Otherwise, do you know of some other package that could be used instead of 
> > prob?
> >
> > On Thu, Nov 2, 2017 at 3:44 PM, David Winsemius  
> > wrote:
> >
> > > On Nov 2, 2017, at 12:07 PM, Tiby Kantrowitz  wrote:
> > >
> > > Yes. That's the version I've been discussing that has non-zero exit 
> > > status. That situation is why CRAN retired the prob package. It's 
> > > possible you installed that library earlier in development and it's been 
> > > "carried" along. It no longer installs, now.
> > >
> > > The problems with all of this seem to have started this month according 
> > > to the conversations. However, no one has mentioned any solutions or 
> > > workarounds except the one mentioned in passing (2.9).
> >
> > Not true. Not even close to being true. I explained it all on the SO 
> > question page that you posted 2 days ago.
> >
> > --
> >
> > David.
> > >
> > > Is there some other package that does something similar to prob that can 
> > > be used instead?
> > >
> > > On Thu, Nov 2, 2017 at 2:29 PM, David Winsemius  
> > > wrote:
> > >
> > > > On Nov 2, 2017, at 11:15 AM, Tiby Kantrowitz  wrote:
> > > >
> > > > The issue is fAsianOptions. Is there a version that works with the 
> > > > latest version of R? If not, which version of it works with which 
> > > > version of R and where can it be found? I tried several at the archive 
> > > > already.
> > >
> > > sessionInfo()
> > > R version 3.4.2 Patched (2017-10-04 r73465)
> > > Platform: x86_64-apple-darwin15.6.0 (64-bit)
> > > Running under: OS X El Capitan 10.11.6
> > >
> > > >
> > >
> > >
> > > packageDescription("fAsianOptions")
> > > Package: fAsianOptions
> > > Version: 3010.79
> > > Revision: 5522
> > > Date: 2013-06-23
> > > Title: EBM and Asian Option Valuation
> > > Author: Diethelm Wuertz and many others, see the SOURCE file
> > > Depends: R (>= 2.4.0), timeDate, timeSeries, fBasics, fOptions
> > > Suggests: RUnit
> > > Maintainer: Yohan Chalabi 
> > > Description: Environment for teaching "Financial Engineering and 
> > > Computational Finance"
> > > Note: Several parts are still preliminary and may be changed in the 
> > > future. this
> > >   typically includes function and argument names, as well as 
> > > defaults for
> > >   arguments and return values.
> > > LazyData: yes
> > > License: GPL (>= 2)
> > > URL: http://www.rmetrics.org
> > > Packaged: 2013-06-23 18:22:14 UTC; yohan
> > > NeedsCompilation: yes
> > > Repository: CRAN
> > > Date/Publication: 2013-06-24 01:53:27
> > > Built: R 3.4.2; x86_64-apple-darwin15.6.0; 2017-11-01 22:45:02 UTC; unix
> > >
> > >
> > >
> > > > Alternatively, is there another package that behaves similarly to prob?
> > > >
> > > >
> > > >
> > > > On Wed, Nov 1, 2017 at 6:17 PM, David Winsemius 
> > > >  wrote:
> > > >
> > > > > On Nov 1, 2017, at 12:51 PM, Tiby Kantrowitz  
> > > > > wrote:
> > > > >
> > > > > The prob package has been archived because it depends upon some other
> > > > > packages which have issues.
> > > > >
> > > > > However, such projects as Introduction to Probability and Statistics 
> > > > > in R
> > > > > depend upon it for learning. There are a few other resources that 
> 

Re: [R] "prob" package alternative

2017-11-02 Thread Tiby Kantrowitz
Rtools is not available for the current version of R.

What I'm looking for is an alternative package or how others have managed
to create workarounds.

On Thu, Nov 2, 2017 at 4:25 PM, David Winsemius 
wrote:

>
> > On Nov 2, 2017, at 1:09 PM, Tiby Kantrowitz  wrote:
> >
> > Yes, that is exactly what I was doing two days ago.
> >
> > Warning in install.packages :
> >   installation of package ‘fAsianOptions_3010.79.tar.gz’ had non-zero
> exit status
> >
> > Which is what a reading of the explanation for why "prob" was retired
> leads one to expect. Do you have some other suggestion about how to get it
> to work? I notice you're not using Windows which might have a relationship
> to why it is working for you.
>
>
> I explained what you needed to do if you were on Windows. You do need to
> read the explanation more closely, identify the parts you don't understand
> (in all likelihood the point I made about needing the proper development
> tools for Windows) _and_ read:
>
> https://cran.r-project.org/doc/manuals/r-release/R-admin.
> html#Installing-packages
>
> If you have trouble understanding or getting success after thoroughly
> reading these directions, you need to explain what you have done
> (preserving the order of all operations) and post a complete transcript of
> all commands and complete error messages.
>
>
>
> --
> David.
> > Otherwise, do you know of some other package that could be used instead
> of prob?
> >
> > On Thu, Nov 2, 2017 at 3:44 PM, David Winsemius 
> wrote:
> >
> > > On Nov 2, 2017, at 12:07 PM, Tiby Kantrowitz 
> wrote:
> > >
> > > Yes. That's the version I've been discussing that has non-zero exit
> status. That situation is why CRAN retired the prob package. It's possible
> you installed that library earlier in development and it's been "carried"
> along. It no longer installs, now.
> > >
> > > The problems with all of this seem to have started this month
> according to the conversations. However, no one has mentioned any solutions
> or workarounds except the one mentioned in passing (2.9).
> >
> > Not true. Not even close to being true. I explained it all on the SO
> question page that you posted 2 days ago.
> >
> > --
> >
> > David.
> > >
> > > Is there some other package that does something similar to prob that
> can be used instead?
> > >
> > > On Thu, Nov 2, 2017 at 2:29 PM, David Winsemius <
> dwinsem...@comcast.net> wrote:
> > >
> > > > On Nov 2, 2017, at 11:15 AM, Tiby Kantrowitz 
> wrote:
> > > >
> > > > The issue is fAsianOptions. Is there a version that works with the
> latest version of R? If not, which version of it works with which version
> of R and where can it be found? I tried several at the archive already.
> > >
> > > sessionInfo()
> > > R version 3.4.2 Patched (2017-10-04 r73465)
> > > Platform: x86_64-apple-darwin15.6.0 (64-bit)
> > > Running under: OS X El Capitan 10.11.6
> > >
> > > >
> > >
> > >
> > > packageDescription("fAsianOptions")
> > > Package: fAsianOptions
> > > Version: 3010.79
> > > Revision: 5522
> > > Date: 2013-06-23
> > > Title: EBM and Asian Option Valuation
> > > Author: Diethelm Wuertz and many others, see the SOURCE file
> > > Depends: R (>= 2.4.0), timeDate, timeSeries, fBasics, fOptions
> > > Suggests: RUnit
> > > Maintainer: Yohan Chalabi 
> > > Description: Environment for teaching "Financial Engineering and
> Computational Finance"
> > > Note: Several parts are still preliminary and may be changed in the
> future. this
> > >   typically includes function and argument names, as well as
> defaults for
> > >   arguments and return values.
> > > LazyData: yes
> > > License: GPL (>= 2)
> > > URL: http://www.rmetrics.org
> > > Packaged: 2013-06-23 18:22:14 UTC; yohan
> > > NeedsCompilation: yes
> > > Repository: CRAN
> > > Date/Publication: 2013-06-24 01:53:27
> > > Built: R 3.4.2; x86_64-apple-darwin15.6.0; 2017-11-01 22:45:02 UTC;
> unix
> > >
> > >
> > >
> > > > Alternatively, is there another package that behaves similarly to
> prob?
> > > >
> > > >
> > > >
> > > > On Wed, Nov 1, 2017 at 6:17 PM, David Winsemius <
> dwinsem...@comcast.net> wrote:
> > > >
> > > > > On Nov 1, 2017, at 12:51 PM, Tiby Kantrowitz 
> wrote:
> > > > >
> > > > > The prob package has been archived because it depends upon some
> other
> > > > > packages which have issues.
> > > > >
> > > > > However, such projects as Introduction to Probability and
> Statistics in R
> > > > > depend upon it for learning. There are a few other resources that
> also use
> > > > > it.
> > > > >
> > > > > Does anyone know of any workarounds?
> > > > >
> > > > > Someone at stack exchange mentioned using R 2.9.
> > > >
> > > > I'm not sure I would trust that person. They seem a bit uninformed.
> > > >
> > > > > However, that broke my
> > > > > RStudio (WSOD) and the dependent packages still wouldn't install,
> 

Re: [R] "prob" package alternative

2017-11-02 Thread David Winsemius

> On Nov 2, 2017, at 1:09 PM, Tiby Kantrowitz  wrote:
> 
> Yes, that is exactly what I was doing two days ago.
> 
> Warning in install.packages :
>   installation of package ‘fAsianOptions_3010.79.tar.gz’ had non-zero exit 
> status
> 
> Which is what a reading of the explanation for why "prob" was retired leads 
> one to expect. Do you have some other suggestion about how to get it to work? 
> I notice you're not using Windows which might have a relationship to why it 
> is working for you.


I explained what you needed to do if you were on Windows. You do need to read 
the explanation more closely, identify the parts you don't understand (in all 
likelihood the point I made about needing the proper development tools for 
Windows) _and_ read:

https://cran.r-project.org/doc/manuals/r-release/R-admin.html#Installing-packages

If you have trouble understanding or getting success after thoroughly reading 
these directions, you need to explain what you have done (preserving the order 
of all operations) and post a complete transcript of all commands and complete 
error messages.



-- 
David.
> Otherwise, do you know of some other package that could be used instead of 
> prob?
> 
> On Thu, Nov 2, 2017 at 3:44 PM, David Winsemius  
> wrote:
> 
> > On Nov 2, 2017, at 12:07 PM, Tiby Kantrowitz  wrote:
> >
> > Yes. That's the version I've been discussing that has non-zero exit status. 
> > That situation is why CRAN retired the prob package. It's possible you 
> > installed that library earlier in development and it's been "carried" 
> > along. It no longer installs, now.
> >
> > The problems with all of this seem to have started this month according to 
> > the conversations. However, no one has mentioned any solutions or 
> > workarounds except the one mentioned in passing (2.9).
> 
> Not true. Not even close to being true. I explained it all on the SO question 
> page that you posted 2 days ago.
> 
> --
> 
> David.
> >
> > Is there some other package that does something similar to prob that can be 
> > used instead?
> >
> > On Thu, Nov 2, 2017 at 2:29 PM, David Winsemius  
> > wrote:
> >
> > > On Nov 2, 2017, at 11:15 AM, Tiby Kantrowitz  wrote:
> > >
> > > The issue is fAsianOptions. Is there a version that works with the latest 
> > > version of R? If not, which version of it works with which version of R 
> > > and where can it be found? I tried several at the archive already.
> >
> > sessionInfo()
> > R version 3.4.2 Patched (2017-10-04 r73465)
> > Platform: x86_64-apple-darwin15.6.0 (64-bit)
> > Running under: OS X El Capitan 10.11.6
> >
> > >
> >
> >
> > packageDescription("fAsianOptions")
> > Package: fAsianOptions
> > Version: 3010.79
> > Revision: 5522
> > Date: 2013-06-23
> > Title: EBM and Asian Option Valuation
> > Author: Diethelm Wuertz and many others, see the SOURCE file
> > Depends: R (>= 2.4.0), timeDate, timeSeries, fBasics, fOptions
> > Suggests: RUnit
> > Maintainer: Yohan Chalabi 
> > Description: Environment for teaching "Financial Engineering and 
> > Computational Finance"
> > Note: Several parts are still preliminary and may be changed in the future. 
> > this
> >   typically includes function and argument names, as well as 
> > defaults for
> >   arguments and return values.
> > LazyData: yes
> > License: GPL (>= 2)
> > URL: http://www.rmetrics.org
> > Packaged: 2013-06-23 18:22:14 UTC; yohan
> > NeedsCompilation: yes
> > Repository: CRAN
> > Date/Publication: 2013-06-24 01:53:27
> > Built: R 3.4.2; x86_64-apple-darwin15.6.0; 2017-11-01 22:45:02 UTC; unix
> >
> >
> >
> > > Alternatively, is there another package that behaves similarly to prob?
> > >
> > >
> > >
> > > On Wed, Nov 1, 2017 at 6:17 PM, David Winsemius  
> > > wrote:
> > >
> > > > On Nov 1, 2017, at 12:51 PM, Tiby Kantrowitz  wrote:
> > > >
> > > > The prob package has been archived because it depends upon some other
> > > > packages which have issues.
> > > >
> > > > However, such projects as Introduction to Probability and Statistics in 
> > > > R
> > > > depend upon it for learning. There are a few other resources that also 
> > > > use
> > > > it.
> > > >
> > > > Does anyone know of any workarounds?
> > > >
> > > > Someone at stack exchange mentioned using R 2.9.
> > >
> > > I'm not sure I would trust that person. They seem a bit uninformed.
> > >
> > > > However, that broke my
> > > > RStudio (WSOD) and the dependent packages still wouldn't install, 
> > > > anyway.
> > >
> > > The latest version of pkg-prob at the Archive directory of CRAN indicates 
> > > that it was last updated within this year. The DESCRIPTION file indicates 
> > > that it does not need compilation, but:
> > >
> > > Depends: combinat, fAsianOptions
> > >
> > > So there should be code in text files in its ../R directory which can be 
> > > sourced from 

Re: [R] "prob" package alternative

2017-11-02 Thread Tiby Kantrowitz
Yes, that is exactly what I was doing two days ago.

Warning in install.packages :
  installation of package ‘fAsianOptions_3010.79.tar.gz’ had non-zero exit
status

Which is what a reading of the explanation for why "prob" was retired leads
one to expect. Do you have some other suggestion about how to get it to
work? I notice you're not using Windows which might have a relationship to
why it is working for you.

Otherwise, do you know of some other package that could be used instead of
prob?

On Thu, Nov 2, 2017 at 3:44 PM, David Winsemius 
wrote:

>
> > On Nov 2, 2017, at 12:07 PM, Tiby Kantrowitz  wrote:
> >
> > Yes. That's the version I've been discussing that has non-zero exit
> status. That situation is why CRAN retired the prob package. It's possible
> you installed that library earlier in development and it's been "carried"
> along. It no longer installs, now.
> >
> > The problems with all of this seem to have started this month according
> to the conversations. However, no one has mentioned any solutions or
> workarounds except the one mentioned in passing (2.9).
>
> Not true. Not even close to being true. I explained it all on the SO
> question page that you posted 2 days ago.
>
> --
>
> David.
> >
> > Is there some other package that does something similar to prob that can
> be used instead?
> >
> > On Thu, Nov 2, 2017 at 2:29 PM, David Winsemius 
> wrote:
> >
> > > On Nov 2, 2017, at 11:15 AM, Tiby Kantrowitz 
> wrote:
> > >
> > > The issue is fAsianOptions. Is there a version that works with the
> latest version of R? If not, which version of it works with which version
> of R and where can it be found? I tried several at the archive already.
> >
> > sessionInfo()
> > R version 3.4.2 Patched (2017-10-04 r73465)
> > Platform: x86_64-apple-darwin15.6.0 (64-bit)
> > Running under: OS X El Capitan 10.11.6
> >
> > >
> >
> >
> > packageDescription("fAsianOptions")
> > Package: fAsianOptions
> > Version: 3010.79
> > Revision: 5522
> > Date: 2013-06-23
> > Title: EBM and Asian Option Valuation
> > Author: Diethelm Wuertz and many others, see the SOURCE file
> > Depends: R (>= 2.4.0), timeDate, timeSeries, fBasics, fOptions
> > Suggests: RUnit
> > Maintainer: Yohan Chalabi 
> > Description: Environment for teaching "Financial Engineering and
> Computational Finance"
> > Note: Several parts are still preliminary and may be changed in the
> future. this
> >   typically includes function and argument names, as well as
> defaults for
> >   arguments and return values.
> > LazyData: yes
> > License: GPL (>= 2)
> > URL: http://www.rmetrics.org
> > Packaged: 2013-06-23 18:22:14 UTC; yohan
> > NeedsCompilation: yes
> > Repository: CRAN
> > Date/Publication: 2013-06-24 01:53:27
> > Built: R 3.4.2; x86_64-apple-darwin15.6.0; 2017-11-01 22:45:02 UTC; unix
> >
> >
> >
> > > Alternatively, is there another package that behaves similarly to prob?
> > >
> > >
> > >
> > > On Wed, Nov 1, 2017 at 6:17 PM, David Winsemius <
> dwinsem...@comcast.net> wrote:
> > >
> > > > On Nov 1, 2017, at 12:51 PM, Tiby Kantrowitz 
> wrote:
> > > >
> > > > The prob package has been archived because it depends upon some other
> > > > packages which have issues.
> > > >
> > > > However, such projects as Introduction to Probability and Statistics
> in R
> > > > depend upon it for learning. There are a few other resources that
> also use
> > > > it.
> > > >
> > > > Does anyone know of any workarounds?
> > > >
> > > > Someone at stack exchange mentioned using R 2.9.
> > >
> > > I'm not sure I would trust that person. They seem a bit uninformed.
> > >
> > > > However, that broke my
> > > > RStudio (WSOD) and the dependent packages still wouldn't install,
> anyway.
> > >
> > > The latest version of pkg-prob at the Archive directory of CRAN
> indicates that it was last updated within this year. The DESCRIPTION file
> indicates that it does not need compilation, but:
> > >
> > > Depends: combinat, fAsianOptions
> > >
> > > So there should be code in text files in its ../R directory which can
> be sourced from that directory.
> > >
> > > ~myuser_name$ ls /Users/../Downloads/prob/R
> > > characteristicfunctions.r   simulation.r
> utils-spaces.r
> > > genData.R   spaces-examples.r
>  utils-subsets.r
> > > misc.r  spaces-prob.r
> > > prob.r  utils-events.r
> > >
> > >
> > > Or you can install from source after downloading:
> > >
> > > install.packages("~/Downloads/prob", repo=NULL,type="source")
> > >
> > > # Success
> > >
> > >
> > > >  library(prob)   # So does require having several other packages
> > > Loading required package: combinat
> > >
> > > Attaching package: ‘combinat’
> > >
> > > The following object is masked from ‘package:utils’:
> > >
> > > combn
> > >
> > > Loading required package: fAsianOptions
> > > 

Re: [R] "prob" package alternative

2017-11-02 Thread David Winsemius

> On Nov 2, 2017, at 12:07 PM, Tiby Kantrowitz  wrote:
> 
> Yes. That's the version I've been discussing that has non-zero exit status. 
> That situation is why CRAN retired the prob package. It's possible you 
> installed that library earlier in development and it's been "carried" along. 
> It no longer installs, now.
> 
> The problems with all of this seem to have started this month according to 
> the conversations. However, no one has mentioned any solutions or workarounds 
> except the one mentioned in passing (2.9).

Not true. Not even close to being true. I explained it all on the SO question 
page that you posted 2 days ago.

-- 

David.
> 
> Is there some other package that does something similar to prob that can be 
> used instead?
> 
> On Thu, Nov 2, 2017 at 2:29 PM, David Winsemius  
> wrote:
> 
> > On Nov 2, 2017, at 11:15 AM, Tiby Kantrowitz  wrote:
> >
> > The issue is fAsianOptions. Is there a version that works with the latest 
> > version of R? If not, which version of it works with which version of R and 
> > where can it be found? I tried several at the archive already.
> 
> sessionInfo()
> R version 3.4.2 Patched (2017-10-04 r73465)
> Platform: x86_64-apple-darwin15.6.0 (64-bit)
> Running under: OS X El Capitan 10.11.6
> 
> >
> 
> 
> packageDescription("fAsianOptions")
> Package: fAsianOptions
> Version: 3010.79
> Revision: 5522
> Date: 2013-06-23
> Title: EBM and Asian Option Valuation
> Author: Diethelm Wuertz and many others, see the SOURCE file
> Depends: R (>= 2.4.0), timeDate, timeSeries, fBasics, fOptions
> Suggests: RUnit
> Maintainer: Yohan Chalabi 
> Description: Environment for teaching "Financial Engineering and 
> Computational Finance"
> Note: Several parts are still preliminary and may be changed in the future. 
> this
>   typically includes function and argument names, as well as defaults 
> for
>   arguments and return values.
> LazyData: yes
> License: GPL (>= 2)
> URL: http://www.rmetrics.org
> Packaged: 2013-06-23 18:22:14 UTC; yohan
> NeedsCompilation: yes
> Repository: CRAN
> Date/Publication: 2013-06-24 01:53:27
> Built: R 3.4.2; x86_64-apple-darwin15.6.0; 2017-11-01 22:45:02 UTC; unix
> 
> 
> 
> > Alternatively, is there another package that behaves similarly to prob?
> >
> >
> >
> > On Wed, Nov 1, 2017 at 6:17 PM, David Winsemius  
> > wrote:
> >
> > > On Nov 1, 2017, at 12:51 PM, Tiby Kantrowitz  wrote:
> > >
> > > The prob package has been archived because it depends upon some other
> > > packages which have issues.
> > >
> > > However, such projects as Introduction to Probability and Statistics in R
> > > depend upon it for learning. There are a few other resources that also use
> > > it.
> > >
> > > Does anyone know of any workarounds?
> > >
> > > Someone at stack exchange mentioned using R 2.9.
> >
> > I'm not sure I would trust that person. They seem a bit uninformed.
> >
> > > However, that broke my
> > > RStudio (WSOD) and the dependent packages still wouldn't install, anyway.
> >
> > The latest version of pkg-prob at the Archive directory of CRAN indicates 
> > that it was last updated within this year. The DESCRIPTION file indicates 
> > that it does not need compilation, but:
> >
> > Depends: combinat, fAsianOptions
> >
> > So there should be code in text files in its ../R directory which can be 
> > sourced from that directory.
> >
> > ~myuser_name$ ls /Users/../Downloads/prob/R
> > characteristicfunctions.r   simulation.r
> > utils-spaces.r
> > genData.R   spaces-examples.r   
> > utils-subsets.r
> > misc.r  spaces-prob.r
> > prob.r  utils-events.r
> >
> >
> > Or you can install from source after downloading:
> >
> > install.packages("~/Downloads/prob", repo=NULL,type="source")
> >
> > # Success
> >
> >
> > >  library(prob)   # So does require having several other packages
> > Loading required package: combinat
> >
> > Attaching package: ‘combinat’
> >
> > The following object is masked from ‘package:utils’:
> >
> > combn
> >
> > Loading required package: fAsianOptions
> > Loading required package: timeDate
> >
> > Attaching package: ‘timeDate’
> >
> > The following object is masked from ‘package:cairoDevice’:
> >
> > Cairo
> >
> > The following objects are masked from ‘package:PerformanceAnalytics’:
> >
> > kurtosis, skewness
> >
> > Loading required package: timeSeries
> >
> > Attaching package: ‘timeSeries’
> >
> > The following object is masked from ‘package:zoo’:
> >
> > time<-
> >
> > Loading required package: fBasics
> >
> >
> > Rmetrics Package fBasics
> > Analysing Markets and calculating Basic Statistics
> > Copyright (C) 2005-2014 Rmetrics Association Zurich
> > Educational Software for Financial Engineering and Computational Science
> > Rmetrics is free software and 

Re: [R] "prob" package alternative

2017-11-02 Thread Tiby Kantrowitz
Yes. That's the version I've been discussing that has non-zero exit status.
That situation is why CRAN retired the prob package. It's possible you
installed that library earlier in development and it's been "carried"
along. It no longer installs, now.

The problems with all of this seem to have started this month according to
the conversations. However, no one has mentioned any solutions or
workarounds except the one mentioned in passing (2.9).

Is there some other package that does something similar to prob that can be
used instead?

On Thu, Nov 2, 2017 at 2:29 PM, David Winsemius 
wrote:

>
> > On Nov 2, 2017, at 11:15 AM, Tiby Kantrowitz  wrote:
> >
> > The issue is fAsianOptions. Is there a version that works with the
> latest version of R? If not, which version of it works with which version
> of R and where can it be found? I tried several at the archive already.
>
> sessionInfo()
> R version 3.4.2 Patched (2017-10-04 r73465)
> Platform: x86_64-apple-darwin15.6.0 (64-bit)
> Running under: OS X El Capitan 10.11.6
>
> >
>
>
> packageDescription("fAsianOptions")
> Package: fAsianOptions
> Version: 3010.79
> Revision: 5522
> Date: 2013-06-23
> Title: EBM and Asian Option Valuation
> Author: Diethelm Wuertz and many others, see the SOURCE file
> Depends: R (>= 2.4.0), timeDate, timeSeries, fBasics, fOptions
> Suggests: RUnit
> Maintainer: Yohan Chalabi 
> Description: Environment for teaching "Financial Engineering and
> Computational Finance"
> Note: Several parts are still preliminary and may be changed in the
> future. this
>   typically includes function and argument names, as well as
> defaults for
>   arguments and return values.
> LazyData: yes
> License: GPL (>= 2)
> URL: http://www.rmetrics.org
> Packaged: 2013-06-23 18:22:14 UTC; yohan
> NeedsCompilation: yes
> Repository: CRAN
> Date/Publication: 2013-06-24 01:53:27
> Built: R 3.4.2; x86_64-apple-darwin15.6.0; 2017-11-01 22:45:02 UTC; unix
>
>
>
> > Alternatively, is there another package that behaves similarly to prob?
> >
> >
> >
> > On Wed, Nov 1, 2017 at 6:17 PM, David Winsemius 
> wrote:
> >
> > > On Nov 1, 2017, at 12:51 PM, Tiby Kantrowitz 
> wrote:
> > >
> > > The prob package has been archived because it depends upon some other
> > > packages which have issues.
> > >
> > > However, such projects as Introduction to Probability and Statistics
> in R
> > > depend upon it for learning. There are a few other resources that also
> use
> > > it.
> > >
> > > Does anyone know of any workarounds?
> > >
> > > Someone at stack exchange mentioned using R 2.9.
> >
> > I'm not sure I would trust that person. They seem a bit uninformed.
> >
> > > However, that broke my
> > > RStudio (WSOD) and the dependent packages still wouldn't install,
> anyway.
> >
> > The latest version of pkg-prob at the Archive directory of CRAN
> indicates that it was last updated within this year. The DESCRIPTION file
> indicates that it does not need compilation, but:
> >
> > Depends: combinat, fAsianOptions
> >
> > So there should be code in text files in its ../R directory which can be
> sourced from that directory.
> >
> > ~myuser_name$ ls /Users/../Downloads/prob/R
> > characteristicfunctions.r   simulation.r
> utils-spaces.r
> > genData.R   spaces-examples.r
>  utils-subsets.r
> > misc.r  spaces-prob.r
> > prob.r  utils-events.r
> >
> >
> > Or you can install from source after downloading:
> >
> > install.packages("~/Downloads/prob", repo=NULL,type="source")
> >
> > # Success
> >
> >
> > >  library(prob)   # So does require having several other packages
> > Loading required package: combinat
> >
> > Attaching package: ‘combinat’
> >
> > The following object is masked from ‘package:utils’:
> >
> > combn
> >
> > Loading required package: fAsianOptions
> > Loading required package: timeDate
> >
> > Attaching package: ‘timeDate’
> >
> > The following object is masked from ‘package:cairoDevice’:
> >
> > Cairo
> >
> > The following objects are masked from ‘package:PerformanceAnalytics’:
> >
> > kurtosis, skewness
> >
> > Loading required package: timeSeries
> >
> > Attaching package: ‘timeSeries’
> >
> > The following object is masked from ‘package:zoo’:
> >
> > time<-
> >
> > Loading required package: fBasics
> >
> >
> > Rmetrics Package fBasics
> > Analysing Markets and calculating Basic Statistics
> > Copyright (C) 2005-2014 Rmetrics Association Zurich
> > Educational Software for Financial Engineering and Computational Science
> > Rmetrics is free software and comes with ABSOLUTELY NO WARRANTY.
> > https://www.rmetrics.org --- Mail to: i...@rmetrics.org
> > Loading required package: fOptions
> >
> >
> > Rmetrics Package fOptions
> > Pricing and Evaluating Basic Options
> > Copyright (C) 2005-2014 Rmetrics Association Zurich
> > Educational Software for 

Re: [R] "prob" package alternative

2017-11-02 Thread David Winsemius

> On Nov 2, 2017, at 11:15 AM, Tiby Kantrowitz  wrote:
> 
> The issue is fAsianOptions. Is there a version that works with the latest 
> version of R? If not, which version of it works with which version of R and 
> where can it be found? I tried several at the archive already.

sessionInfo()
R version 3.4.2 Patched (2017-10-04 r73465)
Platform: x86_64-apple-darwin15.6.0 (64-bit)
Running under: OS X El Capitan 10.11.6

> 


packageDescription("fAsianOptions")
Package: fAsianOptions
Version: 3010.79
Revision: 5522
Date: 2013-06-23
Title: EBM and Asian Option Valuation
Author: Diethelm Wuertz and many others, see the SOURCE file
Depends: R (>= 2.4.0), timeDate, timeSeries, fBasics, fOptions
Suggests: RUnit
Maintainer: Yohan Chalabi 
Description: Environment for teaching "Financial Engineering and Computational 
Finance"
Note: Several parts are still preliminary and may be changed in the future. this
  typically includes function and argument names, as well as defaults 
for
  arguments and return values.
LazyData: yes
License: GPL (>= 2)
URL: http://www.rmetrics.org
Packaged: 2013-06-23 18:22:14 UTC; yohan
NeedsCompilation: yes
Repository: CRAN
Date/Publication: 2013-06-24 01:53:27
Built: R 3.4.2; x86_64-apple-darwin15.6.0; 2017-11-01 22:45:02 UTC; unix



> Alternatively, is there another package that behaves similarly to prob?
> 
> 
> 
> On Wed, Nov 1, 2017 at 6:17 PM, David Winsemius  
> wrote:
> 
> > On Nov 1, 2017, at 12:51 PM, Tiby Kantrowitz  wrote:
> >
> > The prob package has been archived because it depends upon some other
> > packages which have issues.
> >
> > However, such projects as Introduction to Probability and Statistics in R
> > depend upon it for learning. There are a few other resources that also use
> > it.
> >
> > Does anyone know of any workarounds?
> >
> > Someone at stack exchange mentioned using R 2.9.
> 
> I'm not sure I would trust that person. They seem a bit uninformed.
> 
> > However, that broke my
> > RStudio (WSOD) and the dependent packages still wouldn't install, anyway.
> 
> The latest version of pkg-prob at the Archive directory of CRAN indicates 
> that it was last updated within this year. The DESCRIPTION file indicates 
> that it does not need compilation, but:
> 
> Depends: combinat, fAsianOptions
> 
> So there should be code in text files in its ../R directory which can be 
> sourced from that directory.
> 
> ~myuser_name$ ls /Users/../Downloads/prob/R
> characteristicfunctions.r   simulation.rutils-spaces.r
> genData.R   spaces-examples.r   
> utils-subsets.r
> misc.r  spaces-prob.r
> prob.r  utils-events.r
> 
> 
> Or you can install from source after downloading:
> 
> install.packages("~/Downloads/prob", repo=NULL,type="source")
> 
> # Success
> 
> 
> >  library(prob)   # So does require having several other packages
> Loading required package: combinat
> 
> Attaching package: ‘combinat’
> 
> The following object is masked from ‘package:utils’:
> 
> combn
> 
> Loading required package: fAsianOptions
> Loading required package: timeDate
> 
> Attaching package: ‘timeDate’
> 
> The following object is masked from ‘package:cairoDevice’:
> 
> Cairo
> 
> The following objects are masked from ‘package:PerformanceAnalytics’:
> 
> kurtosis, skewness
> 
> Loading required package: timeSeries
> 
> Attaching package: ‘timeSeries’
> 
> The following object is masked from ‘package:zoo’:
> 
> time<-
> 
> Loading required package: fBasics
> 
> 
> Rmetrics Package fBasics
> Analysing Markets and calculating Basic Statistics
> Copyright (C) 2005-2014 Rmetrics Association Zurich
> Educational Software for Financial Engineering and Computational Science
> Rmetrics is free software and comes with ABSOLUTELY NO WARRANTY.
> https://www.rmetrics.org --- Mail to: i...@rmetrics.org
> Loading required package: fOptions
> 
> 
> Rmetrics Package fOptions
> Pricing and Evaluating Basic Options
> Copyright (C) 2005-2014 Rmetrics Association Zurich
> Educational Software for Financial Engineering and Computational Science
> Rmetrics is free software and comes with ABSOLUTELY NO WARRANTY.
> https://www.rmetrics.org --- Mail to: i...@rmetrics.org
> 
> Attaching package: ‘prob’
> 
> The following objects are masked from ‘package:dplyr’:
> 
> intersect, setdiff, union
> 
> The following objects are masked from ‘package:base’:
> 
> intersect, setdiff, union
> 
> >
> >
> >
> > Tiby
> >
> >   [[alternative HTML version deleted]]
> 
> A specific suggestion would be that you read the listinfo and the Posting 
> Guide and learn to post in plain text.
> >
> > __
> > R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
> > https://stat.ethz.ch/mailman/listinfo/r-help
> > PLEASE do read the posting guide 

Re: [R] "prob" package alternative

2017-11-02 Thread Tiby Kantrowitz
The issue is fAsianOptions. Is there a version that works with the latest
version of R? If not, which version of it works with which version of R and
where can it be found? I tried several at the archive already.

Alternatively, is there another package that behaves similarly to prob?



On Wed, Nov 1, 2017 at 6:17 PM, David Winsemius 
wrote:

>
> > On Nov 1, 2017, at 12:51 PM, Tiby Kantrowitz  wrote:
> >
> > The prob package has been archived because it depends upon some other
> > packages which have issues.
> >
> > However, such projects as Introduction to Probability and Statistics in R
> > depend upon it for learning. There are a few other resources that also
> use
> > it.
> >
> > Does anyone know of any workarounds?
> >
> > Someone at stack exchange mentioned using R 2.9.
>
> I'm not sure I would trust that person. They seem a bit uninformed.
>
> > However, that broke my
> > RStudio (WSOD) and the dependent packages still wouldn't install, anyway.
>
> The latest version of pkg-prob at the Archive directory of CRAN indicates
> that it was last updated within this year. The DESCRIPTION file indicates
> that it does not need compilation, but:
>
> Depends: combinat, fAsianOptions
>
> So there should be code in text files in its ../R directory which can be
> sourced from that directory.
>
> ~myuser_name$ ls /Users/../Downloads/prob/R
> characteristicfunctions.r   simulation.r
> utils-spaces.r
> genData.R   spaces-examples.r
>  utils-subsets.r
> misc.r  spaces-prob.r
> prob.r  utils-events.r
>
>
> Or you can install from source after downloading:
>
> install.packages("~/Downloads/prob", repo=NULL,type="source")
>
> # Success
>
>
> >  library(prob)   # So does require having several other packages
> Loading required package: combinat
>
> Attaching package: ‘combinat’
>
> The following object is masked from ‘package:utils’:
>
> combn
>
> Loading required package: fAsianOptions
> Loading required package: timeDate
>
> Attaching package: ‘timeDate’
>
> The following object is masked from ‘package:cairoDevice’:
>
> Cairo
>
> The following objects are masked from ‘package:PerformanceAnalytics’:
>
> kurtosis, skewness
>
> Loading required package: timeSeries
>
> Attaching package: ‘timeSeries’
>
> The following object is masked from ‘package:zoo’:
>
> time<-
>
> Loading required package: fBasics
>
>
> Rmetrics Package fBasics
> Analysing Markets and calculating Basic Statistics
> Copyright (C) 2005-2014 Rmetrics Association Zurich
> Educational Software for Financial Engineering and Computational Science
> Rmetrics is free software and comes with ABSOLUTELY NO WARRANTY.
> https://www.rmetrics.org --- Mail to: i...@rmetrics.org
> Loading required package: fOptions
>
>
> Rmetrics Package fOptions
> Pricing and Evaluating Basic Options
> Copyright (C) 2005-2014 Rmetrics Association Zurich
> Educational Software for Financial Engineering and Computational Science
> Rmetrics is free software and comes with ABSOLUTELY NO WARRANTY.
> https://www.rmetrics.org --- Mail to: i...@rmetrics.org
>
> Attaching package: ‘prob’
>
> The following objects are masked from ‘package:dplyr’:
>
> intersect, setdiff, union
>
> The following objects are masked from ‘package:base’:
>
> intersect, setdiff, union
>
> >
> >
> >
> > Tiby
> >
> >   [[alternative HTML version deleted]]
>
> A specific suggestion would be that you read the listinfo and the Posting
> Guide and learn to post in plain text.
> >
> > __
> > R-help@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
>
> 'Any technology distinguishable from magic is insufficiently advanced.'
>  -Gehm's Corollary to Clarke's Third Law
>
>
>
>
>
>

[[alternative HTML version deleted]]

__
R-help@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.

Re: [R] "prob" package alternative

2017-11-01 Thread David Winsemius

> On Nov 1, 2017, at 12:51 PM, Tiby Kantrowitz  wrote:
> 
> The prob package has been archived because it depends upon some other
> packages which have issues.
> 
> However, such projects as Introduction to Probability and Statistics in R
> depend upon it for learning. There are a few other resources that also use
> it.
> 
> Does anyone know of any workarounds?
> 
> Someone at stack exchange mentioned using R 2.9.

I'm not sure I would trust that person. They seem a bit uninformed.

> However, that broke my
> RStudio (WSOD) and the dependent packages still wouldn't install, anyway.

The latest version of pkg-prob at the Archive directory of CRAN indicates that 
it was last updated within this year. The DESCRIPTION file indicates that it 
does not need compilation, but:

Depends: combinat, fAsianOptions

So there should be code in text files in its ../R directory which can be 
sourced from that directory.

~myuser_name$ ls /Users/../Downloads/prob/R 
characteristicfunctions.r   simulation.rutils-spaces.r
genData.R   spaces-examples.r   utils-subsets.r
misc.r  spaces-prob.r
prob.r  utils-events.r


Or you can install from source after downloading:

install.packages("~/Downloads/prob", repo=NULL,type="source")

# Success


>  library(prob)   # So does require having several other packages
Loading required package: combinat

Attaching package: ‘combinat’

The following object is masked from ‘package:utils’:

combn

Loading required package: fAsianOptions
Loading required package: timeDate

Attaching package: ‘timeDate’

The following object is masked from ‘package:cairoDevice’:

Cairo

The following objects are masked from ‘package:PerformanceAnalytics’:

kurtosis, skewness

Loading required package: timeSeries

Attaching package: ‘timeSeries’

The following object is masked from ‘package:zoo’:

time<-

Loading required package: fBasics


Rmetrics Package fBasics
Analysing Markets and calculating Basic Statistics
Copyright (C) 2005-2014 Rmetrics Association Zurich
Educational Software for Financial Engineering and Computational Science
Rmetrics is free software and comes with ABSOLUTELY NO WARRANTY.
https://www.rmetrics.org --- Mail to: i...@rmetrics.org
Loading required package: fOptions


Rmetrics Package fOptions
Pricing and Evaluating Basic Options
Copyright (C) 2005-2014 Rmetrics Association Zurich
Educational Software for Financial Engineering and Computational Science
Rmetrics is free software and comes with ABSOLUTELY NO WARRANTY.
https://www.rmetrics.org --- Mail to: i...@rmetrics.org

Attaching package: ‘prob’

The following objects are masked from ‘package:dplyr’:

intersect, setdiff, union

The following objects are masked from ‘package:base’:

intersect, setdiff, union

> 
> 
> 
> Tiby
> 
>   [[alternative HTML version deleted]]

A specific suggestion would be that you read the listinfo and the Posting Guide 
and learn to post in plain text.
> 
> __
> R-help@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

'Any technology distinguishable from magic is insufficiently advanced.'   
-Gehm's Corollary to Clarke's Third Law

__
R-help@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.

[R] "prob" package alternative

2017-11-01 Thread Tiby Kantrowitz
The prob package has been archived because it depends upon some other
packages which have issues.

However, such projects as Introduction to Probability and Statistics in R
depend upon it for learning. There are a few other resources that also use
it.

Does anyone know of any workarounds?

Someone at stack exchange mentioned using R 2.9. However, that broke my
RStudio (WSOD) and the dependent packages still wouldn't install, anyway.

Suggestions?

Thanks!

Best -

Tiby

[[alternative HTML version deleted]]

__
R-help@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.