search for: spencer

Displaying 20 results from an estimated 4191 matches for "spencer".

2004 Jun 02
3
S4 classes?
...te arguments to min; returning Inf 2: no finite arguments to max; returning -Inf 3: no finite arguments to min; returning Inf 4: no finite arguments to max; returning -Inf Am I missing something or is my copy of R 1.9.0pat corrupted? (This is under Windows 2000.) Thanks Much! Spencer Graves
2014 Dec 15
3
Making iconv portable?
...bNonStandardCharacters? function in the Ecfun package. The development version on R-Forge uses this and returns ?Raul? under Windows and NA under Mac OS X (and presumably also Linux). The ?iconv? R code merely calls compiled code, which I?ve used very little in 30 years. Thanks, Spencer > On Nov 30, 2014, at 2:32 AM, Spencer Graves <spencer.graves at structuremonitoring.com <mailto:spencer.graves at structuremonitoring.com>> wrote: > > Wonderful. Thanks very much. Spencer > > > On 11/30/2014 2:25 AM, Milan Bouchet-Valat wrote: [[alternative...
2004 Jul 21
3
vector documentation error?
.... Should I bother to report such things? If yes, to whom? Thanks for all your hard work to make R a reality. It makes it so much easier to develop new statistical methods for almost any purpose and through that to contribute to building a better world for all. Sincerely, Spencer Graves p.s. Please excuse if I'm sending this to the wrong address. I went to www.r-project.org -> Mailing Lists and double clicked on an apparent hot link to "r-bugs" and got nothing (in Netscape 7.1 under Windows 2000). Therefore, I decided to send this to r-devel.
2020 Jan 19
2
rpois(9, 1e10)
...: int 4; otherwise the same as on my Mac. ????? Am I correct that $ sizeof.long = 4 means 4 bytes = 32 bits? log2(.Machine$integer.max) = 31.? Then 8 bytes is what used to be called double precision (2 words of 4 bytes each)?? And $ sizeof.longdouble = 16 = 4 words of 4 bytes each? ????? Spencer On 2020-01-19 15:41, Avraham Adler wrote: > Floor (maybe round) of non-negative numerics, though. Poisson should > never have anything after decimal. > > Still think it?s worth allowing long long for R64 bit, just for purity > sake. > > Avi > > On Sun, Jan 19, 2020 at...
2014 Dec 15
2
Making iconv portable?
> On Dec 15, 2014, at 12:21 PM, Kurt Hornik <Kurt.Hornik at wu.ac.at> wrote: > >>>>>> Spencer Graves writes: > >> Hello, All: >> What would it take to make ?iconv? portable? > > >> I ask, because I want to convert accented characters to >> vanilla ASCII, thereby converting, e.g., ?Ra?l? to ?Raul?, and >> Milan Bouchet-Valet suggested...
2020 Jan 19
2
rpois(9, 1e10)
...son for those extreme cases.? [For a Poisson with mean = 1e6, for example, the skewness (third standardized moment) is 0.001.? At least for my purposes, that should be adequate.][1] ????? What are the negative consequences of having rpois return numerics that are always nonnegative? ????? Spencer [1]? In the code I reported before, I just changed the threshold of 1e6 to 0.5*.Machine$integer.max.? On my Mac, .Machine$integer.max = 2147483647 = 2^31 > 1e9.? That still means that a Poisson distributed pseudo-random number just under that would have to be over 23000 standard deviations...
2020 Jan 20
2
[External] Re: rpois(9, 1e10)
...uot;rnorm" inside my "rpois.".? For "lambda" really big, that "round" won't do anything.? However, it appears to give integers in floating point representation that are larger than .Machine$integer.max.? That sounds very much like what someone would want.? Spencer On 2020-01-19 21:00, Tierney, Luke wrote: > R uses the C 'int' type for its integer data and that is pretty much > universally 32 bit these days. In fact R wont' compile if it is not. > That means the range for integer data is the integers in [-2^31, > +2^31). > > It...
2014 Dec 15
1
Making iconv portable?
On Dec 15, 2014, at 1:37 PM, Spencer Graves <spencer.graves at prodsyse.com> wrote: > > >> On Dec 15, 2014, at 10:13 AM, Simon Urbanek <simon.urbanek at r-project.org> wrote: >> >>> >>> On Dec 15, 2014, at 12:21 PM, Kurt Hornik <Kurt.Hornik at wu.ac.at> wrote: >>> &gt...
2020 Jan 19
2
rpois(9, 1e10)
...the current code would be broken by the change.? If someone wanted to use arbitrary precision arithmetic, they could write their own version of this function with "arbitraryPrecision" as an optional value for the "bigOutput" argument. ????? Comments? ????? Thanks, ????? Spencer Graves On 2020-01-19 10:28, Avraham Adler wrote: > Technically, lambda can always be numeric. It is the observations > which must be integral. > > Would hitting everything larger than maxint or maxlonglong with floor > or round fundamentally change the distribution? Well, yes, bu...
2013 Oct 11
3
Gaussian Quadrature for arbitrary PDF
Hi all, We know that Hermite polynomial is for Gaussian, Laguerre polynomial for Exponential distribution, Legendre polynomial for uniform distribution, Jacobi polynomial for Beta distribution. Does anyone know which kind of polynomial deals with the log-normal, Student抯 t, Inverse gamma and Fisher抯 F distribution? Thank you in advance! David [[alternative HTML version deleted]]
2005 Aug 12
3
General expression of a unitary matrix
Hi, all, Does anybody got the most general expression of a unitary matrix? I found one in the book, four entries of the matrix are: (cos\theta) exp(j\alpha); -(sin\theta)exp(j(\alpha-\Omega)); (sin\theta)exp(j(\beta+\Omega)); (cos\theta) exp(j\beta); where "j" is for complex. However, since for any two unitary matrices, their product should also be a unitary matrix. When I
2020 Jan 20
0
[External] Re: rpois(9, 1e10)
>>>>> Spencer Graves >>>>> on Sun, 19 Jan 2020 21:35:04 -0600 writes: > Thanks to Luke and Avi for their comments.? I wrapped "round" around the > call to "rnorm" inside my "rpois.".? For "lambda" really big, that > "round&q...
2012 Nov 02
2
[LLVMdev] Section specialization & COFF.
On Wed, Oct 31, 2012 at 9:41 AM, r4start <r4start at gmail.com> wrote: > On 24/10/12 17:03, r4start wrote: >> >> On 23/10/12 01:30, Michael Spencer wrote: >>> >>> On Mon, Oct 22, 2012 at 7:53 AM, r4start <r4start at gmail.com> wrote: >>>> >>>> On 20/10/12 03:15, Michael Spencer wrote: >>>>> >>>>> On Fri, Oct 19, 2012 at 2:55 AM, r4start <r4start at gmail.com> w...
2016 Oct 08
4
optim(…, method=‘L-BFGS-B’) stops with an error message while violating the lower bound
...3. The vignette mentioned below was extracted from a larger vignette fitting several models that seem to encounter convergence problems. I should probably switch to optimx using all the methods that offers for constrained optimization, including nminb. Best Wishes, Spencer Graves On 10/8/2016 5:00 PM, Mark Leeds wrote: > Hi Spencer: See the link below about L-BFGS-B below because I had > problems > with it a good while back (and I think the link description is the > cause but I can't prove it ) so eventually I moved to the Rvmmin(b) > pack...
2013 Feb 04
4
rJava works with 32-bit but not 64
Hello: rJava works for me under 32-bit but under not 64-bit R; see below. Suggestions? Thanks, Spencer > library(rJava) Error : .onLoad failed in loadNamespace() for 'rJava', details: call: stop("No CurrentVersion entry in '", key, "'! Try re-installing Java and make sure R and Java have matching architectures.") error: object 'key' not found...
2020 Jan 20
0
[External] Re: rpois(9, 1e10)
...for a larger integer range for R integer objects, and several of us are thinking about how me might get there. But it isn't easy to get right, so it may take some time. I doubt anything can happen for R 4.0.0 this year, but 2021 may be possible. I few notes inline below: On Sun, 19 Jan 2020, Spencer Graves wrote: > On my Mac: > > > str(.Machine) > ... > $ integer.max????????? : int 2147483647 > ?$ sizeof.long????????? : int 8 > ?$ sizeof.longlong????? : int 8 > ?$ sizeof.longdouble??? : int 16 > ?$ sizeof.pointer?????? : int 8 > > > ????? On a Windows 10...
2005 Nov 11
3
no package 'Matrix' at the repositories
...x' at the repositories I installed lme4, maps, mapproj, CircStats, scatterplot3d, gregmisc, Hmisc without problems. To confirm, 'library(lme4)' produced the following error: Error: package 'Matrix' required by 'lme4' could not be found What do you suggest? Spencer Graves p.s. I get the same result using several different (US) mirrors. -- Spencer Graves, PhD Senior Development Engineer PDF Solutions, Inc. 333 West San Carlos Street Suite 700 San Jose, CA 95110, USA spencer.graves at pdf.com www.pdf.com <http://www.pdf.com> Tel: 408-938-4420 Fax: 408...
2019 Jul 01
2
R-Forge > GitHub?
.... * You cannot use the same keys with passphrase if they are created without one. This is likely not an issue, but if it turns out to be a problem, you can either add passphrase to the default keys, or create another set of keys, passphrase protected. Cheers, Ott On Sun, Jun 30, 2019 at 9:51 PM Spencer Graves <spencer.graves at prodsyse.com> wrote: > > > On 2019-06-30 06:58, Joshua Ulrich wrote: > <snip> > > > I imported both packages into separate repositories: > > https://github.com/joshuaulrich/tmp-ecdat > > https://github.com/joshuaulrich/tmp-ecfu...
2004 May 28
3
gauss.hermite?
....r-project.org mentioned a function "gauss.hermite{rmutil}". However, 'install.packages("rmutil")' produced, 'No package "rmutil" on CRAN.' How can I find the current status of "gauss.hermite" and "rmutil"? Thanks, Spencer Graves
2020 Jan 19
2
rpois(9, 1e10)
...gine the case where lambda is itself a realization of a random variable. Do we really want the storage mode to inherit that randomness? On 1/19/20 10:47 AM, Avraham Adler wrote: > Maybe there should be code for 64 bit R to use long long or the like? > > On Sun, Jan 19, 2020 at 10:45 AM Spencer Graves > <spencer.graves at prodsyse.com <mailto:spencer.graves at prodsyse.com>> wrote: > > > > On 2020-01-19 09:34, Benjamin Tyner wrote: > >> > ------------------------------------------------------------------------ > >> Hello, Al...