I recently discovered aliases in git – very useful. So far my favorites have been log commands. The first alias below will create a decorated (shows refs) oneline log summary along with an ascii graph of the branch history. The second will show the author’s relative date, the hash id (sha1), and the subject (message) […]Read more "Git alias: abbreviate your commands and options"
Recently, while working on a function inside my ggloop package, I came across an unusual problem. There is a function which is called as an argument inside another function. It goes something like this: Because inner.fun() is passed as an argument to outer.fun(), it has the same calling environment as outer.fun(). So, if I want […]Read more "Overcoming environment obstacles in R"