Aug
21
awarded Popular Question
Jul
26
awarded Good Question
Jul
3
awarded Supporter
May
26
awarded Famous Question
May
26
comment Order a data frame's rows according to a target vector that specifies the desired order
Nice! Thanks for the update!
May
6
comment How to write trycatch in R
Try conditionMessage (cond). That's the actual error message as a character string.
Apr
28
comment Unserialize objects from in-memory ASCII instead of from a file connection
Yes! You totally made my day! I'm not really familiar with the raw data type and thus would have never guessed that I need to use the combination of as.hexmode() and as.raw() without your help. Thank you so much!!
Apr
28
accepted Unserialize objects from in-memory ASCII instead of from a file connection
Apr
28
revised Unserialize objects from in-memory ASCII instead of from a file connection
added 52 characters in body
Apr
28
asked Unserialize objects from in-memory ASCII instead of from a file connection
Apr
23
comment How to write trycatch in R
@JulienNavarre: remember that the "try part" always returns the last object (currently readLines(con=url, warn=FALSE) which is the actual thing that could go wrong). So if you wanted to add a message, you would would need to stored the actual retun value in a variable: out <- readLines(con=url, warn=FALSE) followed by message("Everything worked") followed by out in order to make this the last object that is actually returned
Apr
19
awarded Constituent
Apr
16
comment Writing robust R code: namespaces, masking and using the `::` operator
Not a noob question and this works. I don't like it that much as a general approach as it involves the manual selection of function objects. But I'm sure there are good use cases for this (e.g. when having a "tight" loop where the :: operator would induce too much overhead while still wanting to make absolutely sure that masking doesn't get in your way.
Apr
15
comment Failing to set the user agent via httr::user_agent
Thanks for the update!
Apr
14
awarded Caucus
Mar
27
awarded Notable Question
Mar
20
revised Registering S4 equivalents of R6 classes while preserving inheritance
edited title
Mar
20
revised Registering S4 equivalents of R6 classes while preserving inheritance
added 96 characters in body
Mar
20
answered Registering S4 equivalents of R6 classes while preserving inheritance
Mar
19
revised Registering S4 equivalents of R6 classes while preserving inheritance
edited title
1 2 3 4 5