[R] out of memory?
news_vkhamenya@chat.ru
news_vkhamenya at chat.ru
Thu Mar 22 11:24:53 CET 2001
Hello Brian D. Ripley and r-help,
Thursday, March 22, 2001, 11:49:55 AM, you wrote:
PBDR> Um, a strange use of outer. Try
PBDR> m[m <= 0] <- 0.0001
PBDR> for an efficient solution.
thank you for a good solution, it helps. but what if I need
#--------
outer(1:1000, 1:2, function(r,c) ifelse(m[r,c]<=0, some_f(m[r,c]), m[r,c]) )
#-------
?
P.S. however, "out of virtual memory" stil there... and is not
motivated yet. Maybe it is some kind of bug
--
Best regards,
Valery A.Khamenya mailto:news_vkhamenya at chat.ru
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
More information about the R-help
mailing list