I am trying to get the following code to work in Google Earth Engine using the rgee package:
# Load rgee
library(rgee)
# Initialise
ee_users()
ee_Initialize()
# The incorrect use of repeat within an rgee context
ee$List$repeat(1,3)
But I get the error:
Error: unexpected 'repeat' in "ee$List$repeat"
Is it because there is some confusion with repeat in base r?
For R reserved words use backticks/quotation marks: