[R] there is a vectorinzing version of "[[<-" for "tclArray" class ?

Cleber N.Borges klebyn at yahoo.com.br
Thu Dec 10 01:00:08 CET 2015


hi all,
there is a vectorinzing version of  "[[<-" for "tclArray" class ?
TIA
cleber
#####
 > library(tcltk);  getS3method("[[<-",'tclArray')
function (x, ..., value)
{
     name <- as.character(x)
     i <- paste(..., sep = ",")
     if (is.null(value))
         .External(.C_RTcl_RemoveArrayElem, name, i)
     else {
         value <- as.tclObj(value)
         .External(.C_RTcl_SetArrayElem, name, i, value)
     }
     x
}
<bytecode: 0x000000000e7ab608>
<environment: namespace:tcltk>
 >


---
Este email foi escaneado pelo Avast antivírus.
https://www.avast.com/antivirus



More information about the R-help mailing list