"Datamining Introduction using R" by Toyota Hideki has very good practices. We try to perform with Raspbian on Raspberry Pi 3B, data exchange, install, start, execute, plot and batch.