Solution: use your ~/.my/cnfInside your ~/.my.cnf file define the connection parameters to your databases. For example, here I define two groups called local and toto:user = rootpassword = ultra_secrethost = localhostuser = capitaine_flamp...

Solution: use your ~/.my/cnfInside your ~/.my.cnf file define the connection parameters to your databases. For example, here I define two groups called local and toto:user = rootpassword = ultra_secrethost = localhostuser = capitaine_flamp...

Although I suffer from complete ignorance of typography, with a little help from a post from Hyndsight and post from mages' blog, I wanted to try a different font on the one-pager performance report that we created in Onepager Now with knitR. I do not think Open Sans Light is the best choice for this...

This is intended for those who are starting out in R and interested in parsing an XML document recursively. It uses DT Lang's XML package.If you want to just read certain types of nodes, then XPATH is great. This document by DT Lang is perfect for that...

Some days ago a friend of mine asked how much i knew about graph-theory. My answer: nothing. Anyway, i was able to read a little bit on Random Geometric graphs, so i came with this little function to help visualize these things: There are some pretty...

Making available replication materials for the research you do is A Good Thing. It’s also work, and it’s quite easy to never get around to. Certainly I claim no special virtue in this department so I am always happy when there’s an institutional stick to prod my better nature in the right direction. One such institutional

This is a dynamic post which I will continue to update whenever I find something new. Hope you will find the following links useful.Online Courses for Learning the R languageTry R from Code Schoole-Books for Learning the R LanguageR for Beginners ...

A colleague asked me for how one can change axis attributes in a basic plot. Plotting anything in R is really, really easy. It is enough typing plot(x, y). In general, plot functions are nicely pre-cooked, so hardly one needs to change anything. But if changes in the default attributes are needed, it is possible

Partial least squares projection to latent structures or PLS is one of my favorite modeling algorithms. PLS is an optimal algorithm for predictive modeling using wide data or data with rows << variables. While there is s a wealth of literature regarding the application of PLS to various tasks, I find it especially useful for biological

I am ashamed to admit that I am way behind (about 10,127 downloads) in discovering this wonderful paper: The Golden Dilemma (January 8, 2013)Erb, Claude B. and Harvey, Campbell R.Available at SSRN: http://ssrn.com/abstract=2078535 Here are the authors presenting the concept in July 2012 if you prefer slideshow format (thanks...