Building web applications using R