On Fri, Aug 4, 2017 at 4:25 PM, Bert Gunter <bgunter.4567 at gmail.com> wrote:
>> f <- function(foo,bar) structure(list(bar),names =foo)
>
>> f("hello","world")
> $hello
> [1] "world"
>
> Cheers,
> Bert
Thanks Bert, I didn't know about "structure()".
Giovanni