ritwik_r at isical.ac.in
2012-Jun-01 10:26 UTC
[R] R Error : Error in vector("list", gamma(n + 1)) : vector size specified is too large
Dear R-listers, I am giving part of my R code : ########################################################### n=15 m=1 library("partitions") library("gregmisc") library("combinat") x = t(restrictedparts(n-m,m)) l = length(x[,1]) for(u in 1:l){ A= unique(matrix( unlist(permn(x[u,])), ncol=m, byrow=TRUE )) } ########################################################### when I put m=1 error shows : Error in vector("list", gamma(n + 1)) : vector size specified is too large . But it works fine with other values of m (< n). Any suggestion will be highly accepted. Ritwik Bhattacharya SRF, Indian Statistical Institute Kolkata This mail is scanned by Ironport
ritwik_r at isical.ac.in
2012-Jun-05 05:24 UTC
[R] R Error : Error in vector("list", gamma(n + 1)) : vector size specified is too large
Dear R-listers, I am giving part of my R code : ########################################################### n=15 m=1 library("partitions") library("gregmisc") library("combinat") x = t(restrictedparts(n-m,m)) l = length(x[,1]) for(u in 1:l){ A= unique(matrix( unlist(permn(x[u,])), ncol=m, byrow=TRUE )) } ########################################################### when I put m=1 error shows : Error in vector("list", gamma(n + 1)) : vector size specified is too large . But it works fine with other values of m (< n). Any suggestion will be highly accepted. Ritwik Bhattacharya SRF, Indian Statistical Institute Kolkata This mail is scanned by Ironport