[R] 'deparse(substitute'))' then 'assign' in a S4 methods
cgenolin
cgenolin at u-paris10.fr
Mon Feb 6 14:13:20 CET 2012
Thanks Bill,
In France, there is a famous joke about politician: "Tell me what you need,
I will explain you how to do without"... But in my specific case, I can not
use the classical <- and [, it is why I ask my question.
More precisely, my fonction fooBis can be very long to end. So I want to
update the value of my variable from time to time.
'assign' + break will work, whereas `fooBis<-` <- function(x, value) { x <-
4 ; for(i in 1:10000000){};x } + break will not work.
Christophe
--
View this message in context: http://r.789695.n4.nabble.com/deparse-substitute-then-assign-in-a-S4-methods-tp4356748p4361210.html
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help
mailing list