Robert McDonald <rmcd1024 <at> gmail.com> writes:

> I have had the following problem with R 2.10, 2.13.1, and 2.13.2, running on
> Ubuntu linux 10.04, xubuntu 11.10, and a version of Redhat (I think 5).
> rnorm.sobol is producing impossible random values, and occasionally the
> routine crashes. Here are samples of the output and the crash message.
> 
> library(fOptions)
> Zs <- rnorm.sobol(50, dimension=1)
> 
 [snip]

> other attached packages:
> [1] fOptions_2100.76   fBasics_2100.78    MASS_7.3-5
> timeSeries_2110.87
> [5] timeDate_2110.87
> >


  I think your question is answered by

http://cran.r-project.org/web/packages/fOptions/ChangeLog

2010-04-23  chalabi

        * ChangeLog, DESCRIPTION: updated DESCR and ChangeLog
        * src/085A-LowDiscrepancy.f: fixed sobol RVS on 64 bit platform
        * ChangeLog, DESCRIPTION: updated DESC and ChangeLog

  The middle item seems to address your problem exactly.
  That fix is 18 months old, so updating might be a good idea ...

  Ben Bolker

______________________________________________
R-help@r-project.org 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.

Reply via email to