[R] type checking --- just a thought

Peter Dalgaard p.dalgaard at biostat.ku.dk
Fri May 14 18:12:28 CEST 2004


ivo welch <ivo.welch at yale.edu> writes:

> and one beg to the language maintainers for something that I hope is simple:
> 
>     in R 1.8.2, please add to the "source" function information where
> (file:linenumber) dies or ends.

It's not simple because it is not a simple line-by-line evaluation.
The whole file is parsed and the resulting code then executed, by
which time the line information has been lost. If you can come up with
a well thought out scheme for retaining it, patches might be
considered. (There's not much chance of getting an R 1.8.2, though.)

-- 
   O__  ---- Peter Dalgaard             Blegdamsvej 3  
  c/ /'_ --- Dept. of Biostatistics     2200 Cph. N   
 (*) \(*) -- University of Copenhagen   Denmark      Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk)             FAX: (+45) 35327907




More information about the R-help mailing list