Question: with vs use vs uses

I have a question about the different possibilities for calling a little used function from a package. It seems that there are three ways to do that:

1) Load the package and use te short form of the call e.g.
> with(combinat);
>randperm(5);

2) just load the command e.g.

>with(combinat,randperm);
>randperm(5);

3) use the long form of the call e.g.

>combinat[randperm](5)

4) with the use command e.g.
use combinat randperm(5)  end use;

5) within a proceure one can put in the line
uses combinat;

and then randperm is available.

What are the considerations for using one form over another? Is memory the problem? I would guess not in this age of cheap RAM.

Please Wait...