>> library(codetools)
>> findGlobals(power)

Thanks for your answer.
In addition, findGlobals(power,FALSE) gives the list of the globals 
variables alone :

> findGlobals(power,F)
$functions
[1] "^"      "{"      "<-"     "return"

$variables
[1] "pp"


----------------------------------------------------------------
Ce message a ete envoye par IMP, grace a l'Universite Paris 10 Nanterre

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to