Added try catch if R missing on stats/graph
updated compile instructions