Skip to content
Prev 343547 / 398506 Next

HANDLER FUNCTION PROBLEM

1, Please post in plain text, not HTML, as requested by the posting guide.

2. R is not C, You define, not declare, functions, whose scope and
availability are then determined appropriately. Where is ga() defined?

3. Have you read an Introduction to R or other R tutorial? If not, do
so before posting further. You need to do due diligence before
requesting help.

4. If you have, read the R Language Definition Ref for details of how
scoping in R is determined. R is a functional type language (like LISP
or Scheme)

5. Functions are fully first class objects and can be returned by
other functions.

Cheers,

Bert

Bert Gunter
Genentech Nonclinical Biostatistics
(650) 467-7374

"Data is not information. Information is not knowledge. And knowledge
is certainly not wisdom."
Clifford Stoll
On Fri, Aug 29, 2014 at 2:26 AM, Ashis Deb <ashisdeb83 at gmail.com> wrote: