On 14/08/2016 5:23 AM, Luca Cerone wrote:
Hi David and Duncan,
thanks for your answers!
I think what is not clear to me is actually how "substitute" works.
Arguments passed to R functions become a special kind of object known as
a "promise". Promises contain two things: the expression to ev
> On 14 Aug 2016, at 11:23 , Luca Cerone wrote:
>
> I have no access to my laptop so I can't double check but I think in one of
> Wickham's book there was an example like
>
> f <- function (y) {
> substitute (x + y)
> }
>
> f(4)
> [1] x + 4
>
> i.e. where substitute inside a function was sub
Hi David and Duncan,
thanks for your answers!
I think what is not clear to me is actually how "substitute" works.
If I run require (dplyr) or require("dplyr") in the R console everything
works as I expect even without the character.only=T (actually because of
this I always interpreted that charac
> On Aug 12, 2016, at 8:57 AM, Luca Cerone wrote:
>
> Hi everybody,
> I am having a hard time in understanding how to deal with non standard
> evaluation and the require function.
>
> I asked about it on Stackoverflow at
> http://stackoverflow.com/questions/38922012/r-function-to-install-missin
On 12/08/2016 11:57 AM, Luca Cerone wrote:
Hi everybody,
I am having a hard time in understanding how to deal with non standard
evaluation and the require function.
I asked about it on Stackoverflow at
http://stackoverflow.com/questions/38922012/r-function-to-install-missing-packages,
below you
5 matches
Mail list logo