How can I solve; Error: C stack usage 15922896 is too close to the limit, while I am doing phylogenetic analysis of community data using Picante package to create NULL model randomizing 999 times
> library picante
tree4.phylotree<-read.tree("phylojune2016.edit.phy")
tree4.phy<-read.csv("june2016.matrix.csv",sep=",",header = TRUE,row.names = 1)
tree4.out<-pd(tree4.phy,tree4.phylotree,include.root = FALSE)
tree4.out[,3]<-mpd(tree4.phy,cophenetic(tree4.phylotree))
tree4.out[,4]<-mntd(tree4.phy,cophenetic(tree4.phylotree))
names(tree4.out)[3:4]<-c("MPD","MNTD")
tree4.mpd<-ses.mpd(tree4.phy,cophenetic(tree4.phylotree),runs = 999)*
**Error: C stack usage 15922896 is too close to the limit**