An embedded and charset-unspecified text was scrubbed... Name: not available URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20110514/3c2bd151/attachment.pl>
R function that returns an object's search path position XXXX
3 messages · Dan Abner, Duncan Murdoch, Rolf Turner
On 14/05/2011 9:41 PM, Dan Abner wrote:
Hello everyone, Is there an R function that returns an object's search path position?
Does find() do what you want? It doesn't give the position in the search path, but you could get that from something like name <- "plot" which( search() %in% find(name) ) Be aware that a name can appear in more than one place in the path, and not all available objects are on the search path. So I'm not sure the above solves your real problem. Duncan Murdoch
On 15/05/11 13:41, Dan Abner wrote:
Hello everyone, Is there an R function that returns an object's search path position?
?find
cheers,
Rolf Turner