On Mon, Sep 7, 2009 at 11:26 AM, baptiste auguie <
baptiste.aug...@googlemail.com> wrote:
> Hi,
>
> Try this,
>
> myFUN <- function(FUN) {
> return(deparse(substitute(FUN)))
> }
>
>
Thanks - that's it
Rainer
> HTH,
>
> baptiste
>
> 2009/9/7 Rainer M Krug
>
>> Hi
>>
>> I have the following fun
Hi,
Try this,
myFUN <- function(FUN) {
return(deparse(substitute(FUN)))
}
HTH,
baptiste
2009/9/7 Rainer M Krug
> Hi
>
> I have the following function which should return the name of FUN:
>
> myFUN <- function(FUN) {
> return( THE_NAME_OF_FUN(FUN))
> }
>
> Is it possible? What do I have tio
Hi
I have the following function which should return the name of FUN:
myFUN <- function(FUN) {
return( THE_NAME_OF_FUN(FUN))
}
Is it possible? What do I have tio use here instead of THE_NAME_OF_FUN?
Thanks,
Rainer
--
Rainer M. Krug, Centre of Excellence for Invasion Biology, Stellenbosch
U
3 matches
Mail list logo