edit: I fixed it; apparently I needed to change the ceiling(w/q) to w%/%q, though I'm not really sure why that made such a difference. -- View this message in context: http://r.789695.n4.nabble.com/An-infinite-recursion-error-please-explain-tp3688260p3689621.html Sent from the R help mailing list archive at Nabble.com.