library(DatastreamR) # Login using Configuration ds = DataClient$new("Config.ini") df = tryCatch ({ ds$getDataframe('ECON', list('DS.ECONCC(startdate=2023-06-07)'), kind=0) }, error = function(e){ stop (message(e)) } ) print(df) df = tryCatch ({ ds$getData('ECON', list('DS.ECONCC(sequence=293327674)'), kind=0) }, error = function(e){ stop (message(e)) } ) print(df)