# Instalando RStudio ``` https://posit.co/download/rstudio-desktop/ ``` 1. Instalando R - 4.3.2 ``` https://cran.rstudio.com/bin/windows/base/R-4.3.2-win.exe ``` 1.1. Selecione o idioma ![image](https://hackmd.io/_uploads/BJq2shjjp.png) 1.2. Informação ![image](https://hackmd.io/_uploads/HJfJn3oop.png) 1.3. Selecione o Local de Destino ![image](https://hackmd.io/_uploads/BJrbn2ij6.png) 1.4. Selecionar Componentes ![image](https://hackmd.io/_uploads/H1gE32osp.png) 1.5. Opções de inicialização ![image](https://hackmd.io/_uploads/S1kPnhsiT.png) 1.6. Selecionar Tarefas Adicionais ![image](https://hackmd.io/_uploads/SJjO22ija.png) 1.7. Concluido ![image](https://hackmd.io/_uploads/SJnj33si6.png) --- 2. Instalando RStudio 2023.12.1-402 ``` https://download1.rstudio.org/electron/windows/RStudio-2023.12.1-402.exe ``` 2.1. Instalador ![image](https://hackmd.io/_uploads/SJngT2soT.png) 2.2. Escolha o Local da Instalação ![image](https://hackmd.io/_uploads/SJzQa3ooT.png) 2.3. Escolha a Pasta do Menu Iniciar ![image](https://hackmd.io/_uploads/SJXBT2iiT.png) 2.4. Concluido ![image](https://hackmd.io/_uploads/By3gR2oiT.png) --- 3. Atualização do ODBC 3.1. No RStudio Connection > + new connection ![image](https://hackmd.io/_uploads/HkWh0hii6.png) 3.2. No ODBC ![image](https://hackmd.io/_uploads/ryJC0njja.png) 3.3. Install Required Packages ![image](https://hackmd.io/_uploads/ByXxJajoT.png) 4. Criando string de conexão 4.1. Aba Connections > + New Connection > SQL Server Native Client 11.0 ![image](https://hackmd.io/_uploads/HkEUU6soa.png) 4.2. Parameters: SERVER=nome do servidor ou ip; DATABASENAME=nome do banco de dados; UID=usuário; PWD=senha; ![image](https://hackmd.io/_uploads/rJxhLassa.png) --- Obs: ``` https://solutions.posit.co/connections/db/getting-started/ ```