Tag: best practices

  • On Sampling

    In a past exercise (the one on a simplified visualization of Netflows), I had a very big file, and I wanted to extract a subset of the data to demo a visualization. The first part of the entry was about a way to divide a big file into smaller chunks, and extract samples with a…

  • Loading libraries in R

    It should be fairly easy Where do I load my libraries in my script? Because well, in R, you CAN load a library when you need it. But after a while, it becomes an issue. And here is my personal recommendation: Don’t. Why does it matter? For one, libraries sometimes have overlapping functions. This is…

  • First Entry: Variables

    Let’s start with the most basic of concepts (maybe): Variables Variables are sometimes overseen as “obvious”. Or at least, “how to name them”. But after some time programming on your own, particularly in languages like R (from my experience at least), you find you could make mistakes. And after a while, you kind of re-use…