« first day (241 days earlier)      last day (3570 days later) » 

user1125394
01:05
Does R have a function for kernel recursive least square regressions (webee.technion.ac.il/~rmeir/Publications/KrlsReport.pdf) ?
14:24
Two related questions:
(1) Is there an analogue to `.Last.value` that would give the last error that occurred?
(2) taskCallbacks seem to only be called when top-level evaluation doesn't error (i.e., when an error occurs, no callbacks are called even though callback functions must have an `ok` argument). Is this true? Or is there some way to trigger a callback on a top-level error?
14:46
.
@Thomas if you set options so that errors are warnings, then warnings() should show you the errors afterwards
also if you call R via qrsh R and thus are interactively using a non-interactive session, errors will get dumped and you can access them through debugger() I believe (it gives you a message that tells you what the command is).
15:01
@AriB.Friedman Thanks! Both suggestions are helpful. That got me to geterrmessage(), which seems like it is what I wanted in (1), but exploring setting errors as warnings may work for me (I feel like that will have side effects, though). I haven't used qrsh but I'll check that out, too.
Better yet, this is built in as option('error'), which allows a user-defined error handler.
@Thomas np. rqsh is a pain and I wouldn't necessarily recommend it. I know that particular behavior because our cluster requires the use of qrsh for interactive sessions.
@Thomas perfect
 
1 hour later…
16:13
I love the use of set.seed in this question.
2
0
Q: Selecting data by the name (grep function)

RechlaySo, I want to select some rows using the grep function but it's not working properly for me: That's the code I used: set.seed(2) tbl_bio <- tbl_reo[grepl("Biotin", tbl_reo$modifications), , drop = FALSE] ## selecting rows from column "modifications" with string Biotin - that works good tbl_bio1 <

It makes the question so much more reproducible.
16:50
@AnandaMahto Indeed :-) Next question : set.seed(runif(1))

« first day (241 days earlier)      last day (3570 days later) »