added R support (incl. updated README)