[R] proto and get()

baptiste auguie baptiste.auguie at googlemail.com
Thu Oct 8 19:15:15 CEST 2009


... without answering my previous question, I have just found a
fortune-hate workaround,

getIcon <- function(geom){
  st <- paste("Geom", firstUpper(geom),"$icon",  sep="")
  eval(parse(text=st))
}

getIcon("abline")

I'm still curious about the get() behaviour though.

Best,

baptiste




More information about the R-help mailing list