[R] permutations

Dirk Eddelbuettel edd at debian.org
Sat Oct 10 17:32:56 CEST 2009


On 10 October 2009 at 08:15, Eiger wrote:
| require(combinat)
| permn((c(23,46,70,71,89))
| 
| Thanks.
| When I try to install the "combinat" package, it give me these errors:
| _________________________________________________________
| --- Please select a CRAN mirror for use in this session ---
| Warning in utils::install.packages(l[s + 1]) :
|   argument 'lib' is missing: using '/usr/lib/R/lib'
| Warning in utils::install.packages(l[s + 1]) :
|   'lib = "/usr/lib/R/lib"' is not writable
| Error in utils::install.packages(l[s + 1]) : unable to install packages
| _________________________________________________________
| 
| What can I do?

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

-- 
Three out of two people have difficulties with fractions.




More information about the R-help mailing list