13h
revised Globally turn debug messages on and off in R?
elaborate
13h
revised Globally turn debug messages on and off in R?
elaborate
13h
comment Globally turn debug messages on and off in R?
If there is an .onLoad function (see ?.onLoad) it will be passed the package name as one of its arguments and that could be stored in the package and then additional code could fetch the appropriate option name but really I think this is overkill and if you really do change the package name for the few times that that ever happens just use a decent editor to find and substitute each such occurrence.
13h
answered Globally turn debug messages on and off in R?
16h
comment Passing the same env to both envir and enclos in eval?
The name of the package is magrittr, not migrittr.
18h
comment Add a row into R data frame with time
Post the result of dput(brli) to make it reproducible.
18h
revised Exact pattern match in unstructered dataset (text or CSV file)
clarify
18h
answered Exact pattern match in unstructered dataset (text or CSV file)
19h
comment What do ..1 and ..2 stand for in R?
There is an example in methods:::rbind .
19h
comment How to override indexing functions [ and [[ in R?
Normally [ produces an object of the same class as its argument so I would define [ to produce another myclass object rather than an object of a different class. You could define various as.* methods to convert a myclass object to a different class if that were needed.
20h
revised Exponential regression with nls in R
formatting
20h
answered Exponential regression with nls in R
22h
answered How to import an R function from another package such that it would be available for the user?
1d
revised Split comma-separated strings into boolean columns
formatting
1d
revised R Regexp - extract number with 5 digits
more solutions
1d
comment R Regexp - extract number with 5 digits
Note that this regexp assumes that no digits appear prior to the 00691.
1d
answered R Regexp - extract number with 5 digits
1d
comment How can I convert these nested loops into an R loop function like sapply or tapply or
This solution ignores the input years and type vectors and so only works if those vectors contain all the years and types.
1d
revised Split comma-separated strings into boolean columns
clarify
1d
revised Split comma-separated strings into boolean columns
formatting
1 2 3 4 5