My first R code embedded in SQL 2019
EXECUTE sp_execute_external_script
@language = N'R',
@script = N'
a <- 1
b <- 2
c <- a/b
d <- a*b
print(c, d)'
EXECUTE sp_execute_external_script
@language = N'R',
@script = N'
a <- 1
b <- 2
c <- a/b
d <- a*b
print(c, d)'