Global And Local Variables In R