Useful Packages in the Preemble
...
...
This is a follow up post of a previous one just using Matlab instead of Python. In the following paragraphs, I will show my way of reading and writing CSV files using Matlab. If you happen to know a better or more elegant solution, please drop a comment! Reading CSV Files with Matlab The following Matlab function reads a CSV file with the header as a string vector and the data as numeric matrix. Note that non-numerical data returns NaN. ...
...
Since CSV (comma-separated-values) files are supported by almost every statistics and/or math tool, I sticked to use the format for all my data collections. If you need further evidence, check out the (incomplete) list of natively CSV supporting applications: Gnu/R KNIME MS Excel LibreOffice Calc … Apart from those, a major benefit of CSV files is that you can edit them with any editor, as they are plain text files. Unfortunately, some applications have poor support for such files, e.g. Matlab and Python. Fortunately, as the file structure is so easy, you can add CSV support pretty easily. In the following I will show you my solution for Python. ...
This is actually just a copy of an article from ubuntu.com, but they tend to move things around and I like to have short search times. Apart from that, this works for FreeBSD and even for Windows (tested with Windows 7) as well. Sorry for this this blatant plagiarism, but it might be also to your advantage ;) One more note: If you want to create a bootable USB stick to be used on a Mac/OS X, do not forget to format the stick with Disk Utility to HFS+ with a GUID partition table. ...
...
I just cleaned up my home brew cellar and had problems reinstalling R. I got the old well-known error message: brew install r ==> Downloading http://cran.r-project.org/src/base/R-2/R-2.15.1.tar.gz Already downloaded: /Library/Caches/Homebrew/r-2.15.1.tar.gz Error: This formula requires a fortran compiler,... Reinstalling gfortran (which was actually installed already) did not help and so I decided to trick home brew until the problem is fixed, with the following: export FC=`which gfortran` brew install r Surprise surprise, it worked! :] ...
...
...
...