[R] permutations

Eiger c_cb at hotmail.it
Sat Oct 10 17:50:23 CEST 2009



Dirk Eddelbuettel wrote:
> 
> Supply an argument 'lib' pointing to a directory where you write to, or
> alternatively (but not generally recommended) run R as root to install the
> package as root can write to /usr/lib/R/lib.
> 
> Dirk
> 

OK!  I've installed this package.
Thank you!
:)

Example:

> permn((c(23,45,56)))

[[1]]
[1] 23 45 56

[[2]]
[1] 23 56 45

[[3]]
[1] 56 23 45

[[4]]
[1] 56 45 23

[[5]]
[1] 45 56 23

[[6]]
[1] 45 23 56

-- 
View this message in context: http://www.nabble.com/permutations-tp25834463p25835454.html
Sent from the R help mailing list archive at Nabble.com.




More information about the R-help mailing list