Bert

R is compiled.  Compile and go cycle is quick, but it is compiled.  Not to
a machine executable but to an object the R runtinme can interperet.

Steve

It is all a bit hard.  I can make progress the old fashioned way with debug
messages and conditional execution and dozens of other techniques.  From
the 1960s!

Do not get me wrong.  i accept the situation.  I see why it is like it is.
I am being too ambitious with my R code.

As for Nirvana.....  I'll not announce it here, that would be rude!

Frankly I think I'll be using Perl for data processing and C++ for heavy
lifting and the data structures I need.

I might take a quick look at Julia: http://julialang.org/  but life is
short, new languages hard.

I will not abandon R, but I have learnt some respect - I'll use R
appropriately in the future.

W


On Thu, Dec 6, 2012 at 6:33 PM, Steve Lianoglou <
mailinglist.honeypot@gmail.com> wrote:

> Hi,
>
> On Thu, Dec 6, 2012 at 12:01 AM, Worik R <worikr@gmail.com> wrote:
> >
> >
> >> If you `source("test.R", keep.source=FALSE)`, you will see that the
> >> line number is not reported.
> >>
> >
> > Not always.
> >
> > I have code that uses sapply to call another function and all I get back
> is
> > the line of the sapply.
>
> The function that is being called inside the sapply that throws the
> error -- is it in a different package?
>
> If you reinstall *that* package w/ `options(keep.source.pkg=TRUE)` (or
> R_KEEP_PKG_SOURCE=yes in your environment if installing from cmd line
> (see ?options)), does that help?
>
> If not -- could you provide, in a similar fashion as I did w/ the
> BadPackage on github from an earlier message in this thread, an
> example that recapitulates this "no-line-number-on-error" problem and
> point out where/how it happens so we can also trigger it and see? ("I
> have a function that does xxx" is hard for anybody else to help you
> with).
>
> Also, emacs/ess also has tracebug:
>
> http://code.google.com/p/ess-tracebug/
>
> which may be useful.
>
> anyway ... if you are leaving R for greener pastures, do us a favor
> and send us an email w/ an update if you find Nirvana in another
> language ;-)
>
> -steve
>
> --
> Steve Lianoglou
> Graduate Student: Computational Systems Biology
>  | Memorial Sloan-Kettering Cancer Center
>  | Weill Medical College of Cornell University
> Contact Info: http://cbio.mskcc.org/~lianos/contact
>

	[[alternative HTML version deleted]]


