R and SQL Server Connection

r
sql

#1

When I am trying to coonect to a SQL database server using RODBC package, I am recieiving a dialogue box which asks me to sleect data source. why is this coming up and How am I supposed to proceed from here?
I will write the code below:

connStr <- paste (

  • “Server = msedxeus.database.windows.net”,
  • “database = DAT209x01”,
  • “uid = Rlogin”,
  • “pwd = P@ssw0rd”,
  • “Driver = {SQL Server}”,
  • sep = “;” )

conn<-odbcDriverConnect(connStr)