R syntax test