Re: [R] type checking --- just a thought

About this list Date view Thread view Subject view Author view Attachment view

From: Peter Dalgaard (p.dalgaard@biostat.ku.dk)
Date: Sat 15 May 2004 - 02:12:28 EST


Message-id: <x265azt2c3.fsf@biostat.ku.dk>

ivo welch <ivo.welch@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@biostat.ku.dk)             FAX: (+45) 35327907

______________________________________________ R-help@stat.math.ethz.ch mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html


About this list Date view Thread view Subject view Author view Attachment view

This archive was generated by hypermail 2.1.3 : Mon 31 May 2004 - 23:05:10 EST