Apologies in advance if this is already known but a search of the
r-devel archive did not immediately turn up any mentions.
list.files() (and thus dir()) returns character(0) when no files are
found in the requested path. This is useful and expected behaviour as
length(dir()) can be tested for suc
The final two examples in ?make.unique do not appear to be relevant to
that function, namely
rbind(data.frame(x = 1), data.frame(x = 2), data.frame(x = 3))
rbind(rbind(data.frame(x = 1), data.frame(x = 2)), data.frame(x = 3))
both producing
x
1 1
2 2
3 3
(identically) on R 3.4.3 and 3.5.1. Fo
at.ethz.ch/pipermail/r-devel/2013-May/066727.html
Regards,
- Jonathan.
On Mon, 11 Feb. 2019, 9:19 pm Jonathan Carroll,
wrote:
> The final two examples in ?make.unique do not appear to be relevant to
> that function, namely
>
> rbind(data.frame(x = 1), data.frame(x = 2), data.frame(x = 3))
&g
(please be gentle, it's my first time)
I am interested in discussions (possibly reiterating past threads --
searching didn't turn up much) on the possibility of supporting standard
evaluation unquoting at the language level. This has been brought up in a
recent similar thread here [1] and on Twitt
uoting errors through static
analysis.
Michael
On Thu, Mar 16, 2017 at 5:03 PM, Jonathan Carroll
wrote:
(please be gentle, it's my first time)
I am interested in discussions (possibly reiterating past threads --
searching didn't turn up much) on the possibility of supporting standard
e of substitute(). Kind of like how '*' in C declares a
>> pointer and dereferences one.
>>
>> subset <- function(x, @subset, ...) { }
>>
>> This should make it easier to implement such functions, simplify
>> compilation, and allow detection of potential quoting erro
I was recently participating in a coding challenge which involved
converting integers to Roman numerals. I knew R offers this
functionality already via as.roman() and hoped to leverage that for a
quick solution, but was surprised that one of the challenge's tests
failed; conversion of the number 39