Revert "updated R file and demo play code"

This reverts commit cc4e1d315007843c61cc73b9df040d617f832116.