Re: [R] [External] Somewhat disconcerting behavior of seq.int()

2022-05-02 Thread Bert Gunter
Well, I'm on an M1 Mac, so that is certainly different than either of your systems. I installed the precompiled binary, which may also have something to do with it. Whether these make a difference I have no clue. However, the fact remains that the Help file *does* warn that the type of the

Re: [R] Somewhat disconcerting behavior of seq.int()

2022-05-02 Thread Andrew Simmons
A sequence where 'from' and 'to' are both integer valued (not necessarily class integer) will use R_compact_intrange; the return value is an integer vector and is stored with minimal space. In your case, you specified a 'from', 'to', and 'by'; if all are integer class, then the return value is

Re: [R] [External] alist() and missing variables

2022-05-02 Thread luke-tierney
On Mon, 2 May 2022, Ivan Krylov wrote: Hi, I've been playing around with formals() and stumbled upon some behaviour which surprised me: a <- alist(x=) .Internal(inspect(a$x)) # @55b0ebae67b0 01 SYMSXP g0c0 [MARK,REF(5761)] "" (has value) x <- a$x .Internal(inspect(x)) # Error: argument "x" is

[R] alist() and missing variables

2022-05-02 Thread Ivan Krylov
Hi, I've been playing around with formals() and stumbled upon some behaviour which surprised me: a <- alist(x=) .Internal(inspect(a$x)) # @55b0ebae67b0 01 SYMSXP g0c0 [MARK,REF(5761)] "" (has value) x <- a$x .Internal(inspect(x)) # Error: argument "x" is missing, with no default missing(x) [1]

Re: [R] customizing edit.data.frame

2022-05-02 Thread Ivan Krylov
On Mon, 2 May 2022 11:09:55 + "Viechtbauer, Wolfgang (NP)" wrote: > I would also love to find out how to make changes to the way edit() > -- or in my case, View(), but that's presumably using the same > resources -- looks under Linux. Looking at the source code [*], there is a way to set

Re: [R] customizing edit.data.frame

2022-05-02 Thread PIKAL Petr
Hallo I do not have much experience with Linux, Rstudio and ESS, but you can customise R startup by .Rprofile.site .Rconsole files which are situated in /etc directory of your installation You can find some info about it in Rintro chapter 10.8 Customizing the environment Cheers Petr >