I like to set up a standardised directory structure for RStudio projects. The idea came from here. In brief, the structure is: My typical workflow is therefore to: So far, so good. However, this process is a bit tedious. I find it irritating to open up RStudio (which opens up a previous project by default) […]
Tag: zsh
Over and Over: quick ways to reuse handy shell one-liners
There are a few one-liners that I use in the shell to do some really nifty stuff. I struggle to quickly find and reuse these and asked for a solution on Mastodon. A handy one-liner might be something like (taken from here): This converts all the flac files in subfolders into mp3 files. Obviously, we […]
Tips From The Blog XIV: embedded file locations in an Adobe Illustrator file
I was working on a figure in Adobe Illustrator today. The ai file had 32 embedded TIFF files (we tend to embed images rather than linking them for portability reasons). I wanted to change all of the images, but to do this I needed to know where the originals were. Clicking on the file shows […]
Find The Answer Within: using grep to find lost code
A short tech-tip this week. How can you find a line of code somewhere on your computer? I often find that I need to write a line of code and I can’t remember the exact syntax. To add to the frustration, I can remember writing a similar line before, but can’t remember in which file […]