search for: argname1

Displaying 11 results from an estimated 11 matches for "argname1".

Did you mean: argname
2023 Mar 11
1
Multiple Assignment built into the R Interpreter?
...]' EQ_ASSIGN expr expr RIGHT_ASSIGN '[' formlist ']' where `formlist` has the syntax of the formals list for a function definition. This would have the following semantics: { *tmp* <- expr # For arguments with no "default" expression, argname1 <- *tmp*[[1]] argname2 <- *tmp*[[2]] ... # For arguments with a default listed argname3 <- with(*tmp*, default3) } The value of the whole thing would therefore be (invisibly) the value of the last item in the assignment. Two examples: [A, B, C] <- e...
2023 Mar 11
3
Multiple Assignment built into the R Interpreter?
...#39;[' formlist ']' > > where `formlist` has the syntax of the formals list for a function > definition. This would have the following semantics: > > { > *tmp* <- expr > > # For arguments with no "default" expression, > > argname1 <- *tmp*[[1]] > argname2 <- *tmp*[[2]] > ... > > # For arguments with a default listed > > argname3 <- with(*tmp*, default3) > } > > > The value of the whole thing would therefore be (invisibly) the value of > the last item in th...
2023 Mar 11
1
Multiple Assignment built into the R Interpreter?
...> > where `formlist` has the syntax of the formals list for a function > definition.? This would have the following semantics: > > ? ? { > ? ? ? *tmp* <- expr > > ? ? ? # For arguments with no "default" expression, > > ? ? ? argname1 <- *tmp*[[1]] > ? ? ? argname2 <- *tmp*[[2]] > ? ? ? ... > > ? ? ? # For arguments with a default listed > > ? ? ? argname3 <- with(*tmp*, default3) > ? ? } > > > The value of the whole thing would therefore be (invisibly) the...
2023 Mar 11
2
Multiple Assignment built into the R Interpreter?
...he syntax of the formals list for a function > > definition. This would have the following semantics: > > > > { > > *tmp* <- expr > > > > # For arguments with no "default" expression, > > > > argname1 <- *tmp*[[1]] > > argname2 <- *tmp*[[2]] > > ... > > > > # For arguments with a default listed > > > > argname3 <- with(*tmp*, default3) > > } > > > > > > The value of the w...
2023 Mar 11
1
Multiple Assignment built into the R Interpreter?
On Sat, 11 Mar 2023 11:11:06 -0500 Duncan Murdoch <murdoch.duncan at gmail.com> wrote: > That's clear, but your proposal violates a very basic property of the > language, i.e. that all statements are expressions and have a value. How about reframing this feature request from multiple assignment (which does go contrary to "everything has only one value, even if it's
2023 Mar 12
2
Multiple Assignment built into the R Interpreter?
...tion > > > definition. This would have the following semantics: > > > > > > { > > > *tmp* <- expr > > > > > > # For arguments with no "default" expression, > > > > > > argname1 <- *tmp*[[1]] > > > argname2 <- *tmp*[[2]] > > > ... > > > > > > # For arguments with a default listed > > > > > > argname3 <- with(*tmp*, default3) > > > } > > > &g...
2023 Mar 11
1
Multiple Assignment built into the R Interpreter?
...; where `formlist` has the syntax of the formals list for a function > > definition. This would have the following semantics: > > > > { > > *tmp* <- expr > > > > # For arguments with no "default" expression, > > > > argname1 <- *tmp*[[1]] > > argname2 <- *tmp*[[2]] > > ... > > > > # For arguments with a default listed > > > > argname3 <- with(*tmp*, default3) > > } > > > > > > The value of the whole thing would therefore be...
2023 Mar 12
1
Multiple Assignment built into the R Interpreter?
...ing semantics: > > > > > >? ? ? ? ? { > > >? ? ? ? ? ? *tmp* <- expr > > > > > >? ? ? ? ? ? # For arguments with no "default" expression, > > > > > >? ? ? ? ? ? argname1 <- *tmp*[[1]] > > >? ? ? ? ? ? argname2 <- *tmp*[[2]] > > >? ? ? ? ? ? ... > > > > > >? ? ? ? ? ? # For arguments with a default listed > > > > > >? ? ? ? ? ? argname3 <- with(*tmp*,...
2023 Mar 12
1
Multiple Assignment built into the R Interpreter?
...gt; > > > > > { > > > > *tmp* <- expr > > > > > > > > # For arguments with no "default" expression, > > > > > > > > argname1 <- *tmp*[[1]] > > > > argname2 <- *tmp*[[2]] > > > > ... > > > > > > > > # For arguments with a default listed > > > > > > > >...
2023 Mar 13
1
Multiple Assignment built into the R Interpreter?
...?????? { > > > ???????? > >??????????? *tmp* <- expr > > > ???????? > > > > > ???????? > >??????????? # For arguments with no "default" > > > expression, > > > ???????? > > > > > ???????? > >??????????? argname1 <- *tmp*[[1]] > > > ???????? > >??????????? argname2 <- *tmp*[[2]] > > > ???????? > >??????????? ... > > > ???????? > > > > > ???????? > >??????????? # For arguments with a default listed > > > ???????? > > > > &...
2023 Mar 13
1
Multiple Assignment built into the R Interpreter?
...>> ???????? > >??????????? *tmp* <- expr >>>> ???????? > > >>>> ???????? > >??????????? # For arguments with no "default" >>>> expression, >>>> ???????? > > >>>> ???????? > >??????????? argname1 <- *tmp*[[1]] >>>> ???????? > >??????????? argname2 <- *tmp*[[2]] >>>> ???????? > >??????????? ... >>>> ???????? > > >>>> ???????? > >??????????? # For arguments with a default listed >>>> ???????? > &...