Prof Brian Ripley <[EMAIL PROTECTED]> writes:

> My problem is that if we make formals() work on primitives, people will 
> expect
>
> formals(log) <- value
>
> to work, and it cannot.

But it could give an informative error message.  Asking for formals()
seems to make sense so making it work seems like a good idea.  I'll
agree that it working might encourage someone to try formals<-(), but
the fact that it cannot do anything but error seems like a strange
reason not to make formals() work.

+ seth

-- 
Seth Falcon | Computational Biology | Fred Hutchinson Cancer Research Center
http://bioconductor.org

______________________________________________
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel

Reply via email to