12
votes
4answers
337 views

Equivalent Nested Loop Structure

Consider the following examples: ...
5
votes
1answer
176 views

How to find the name of the current function

I would like to know the name of the current function from within that function. For example, consider the following code ...
12
votes
2answers
217 views

f[arg1, arg2,…,argN] vs. f[{arg1, arg2,…,argN}]

I am trying to reproduce the API of a function (written in R) that accepts an arbitrary number of arguments and handles it the same way as it would handle a single argument that is a list of different ...