Tony Plate <[EMAIL PROTECTED]> writes:

> Why is the body of the function "X" when I substituted a different
> expression for X? Also, given that the body of the function is X, how
> does the function evaluate to TRUE since X is not defined anywhere
> (except in a list that should have been discarded.)
> 
> This happens with both R 1.7.1 and R 1.8.0 (under Windows 2000).
> 
> (yes, I did discover the function is.R(), but I still want to discover
> what's going here.)

I think you are defeating the keep.source mechanism. What you're
seeing is not the actual function but its source attribute. Try
attributes(this.is.R) <- NULL and see what happens.

-- 
   O__  ---- Peter Dalgaard             Blegdamsvej 3  
  c/ /'_ --- Dept. of Biostatistics     2200 Cph. N   
 (*) \(*) -- University of Copenhagen   Denmark      Ph: (+45) 35327918
~~~~~~~~~~ - ([EMAIL PROTECTED])             FAX: (+45) 35327907

______________________________________________
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help

Reply via email to