Skip to content
Back to formatted view

Raw Message

Message-ID: <CAOO9MKU08TaixderbmrAm70MYUzxb8Yv+mGxU4Faj=K+j9przA@mail.gmail.com>
Date: 2020-03-18T05:36:37Z
From: Jan Gorecki
Subject: substitute inconsistent output

Dear R-devel,

Is there anything that we can do to make output of those call more
consistent? So the first one will return `c(1L, 2L)` rather than
`1:2`. Note that it is not related to compact integer sequence
introduced by altrep, it is reproducible on R 3.1.0 as well.

substitute(v+x, list(x=c(1L,2L)))
#v + 1:2
substitute(v+x, list(x=c(0L,2L)))
#v + c(0L, 2L)

Thank you,
Jan Gorecki