Re: [R] Is there a sexy way ...?

2024-09-27 Thread Stephen Berman via R-help
Yet another way (not as sexy as Deepayan's): as.vector(t(sapply(x, c))) Steve Berman On Fri, 27 Sep 2024 10:45:06 +0300 Eric Berger wrote: > v <- as.numeric(matrix(unlist(x),ncol=5,byrow=TRUE)) > v > [1] 7 2 6 13 5 9 1 14 15 4 8 12 10 11 3 > > On Fri, Sep 27, 2024 at 8:33 AM Deepayan

[R] Why does qt() return Inf with certain negative ncp values?

2022-06-13 Thread Stephen Berman
Can anyone explain why Inf appears in the following results? > sapply(-1:-10, \(ncp) qt(1-1*(10^(-4+ncp)), 35, ncp)) [1] 3.6527153 3.0627759 2.4158355 1.7380812 1.0506904 0.3700821 [7]Inf -0.9279783 -1.5341759 -2.1085213 > sapply(seq(-6.9, -7.9, -0.1), \(ncp) qt(1-1*(10^(-4+ncp)),

Re: [R] make check Error: could not get timezone

2017-10-14 Thread Stephen Berman
On Sat, 14 Oct 2017 11:49:16 +0100 Jeff Newmiller wrote: > Off topic. Read the Posting Guide. I did do that before posting; the choice seemed to be between R-help ("intended to be comprehensible to people who want to use R to solve problems but who are not necessarily interested in or knowledge

Re: [R] make check Error: could not get timezone

2017-10-14 Thread Stephen Berman
On Fri, 13 Oct 2017 22:36:48 +0200 Stephen Berman wrote: > I just built the latest R-patched from source (SVN-Revision: 73548, Last > Changed Date: 2017-10-12) and the build completed without a problem but > `make check' errored out: > > running code in '

[R] make check Error: could not get timezone

2017-10-13 Thread Stephen Berman
I just built the latest R-patched from source (SVN-Revision: 73548, Last Changed Date: 2017-10-12) and the build completed without a problem but `make check' errored out: running code in 'reg-tests-1d.R' ...make[3]: *** [Makefile.common:100: reg-tests-1d.Rout] Error 1 make[3]: Leaving directo

Re: [R] R scripts attached to e-mails - correct MIME type ?!

2017-02-24 Thread Stephen Berman
On Mon, 20 Feb 2017 15:15:27 +0100 Martin Maechler wrote: >> Rui Barradas >> on Sat, 18 Feb 2017 13:47:02 + writes: > > > Helo, No attachment came through. Change the file > > extension from .R to .txt and resend, there aren't many > > types of files r-help accepts.