# Instalación de Paquetes

#### Instalar paquetes &#x20;

{% code title="Install\_packages" %}

```r
install.packages(“gapminder”)
install.packages(“dplyr”)
```

{% endcode %}

#### Descargar los datos

{% code title="Download\_library\_data" %}

```r
library(gapminder)
library(dplyr)
```

{% endcode %}

#### Visualizar los datos

{% code title="View\_data" %}

```r
gapminder
```

{% endcode %}

Se deberá obtener una tabla resumen en la cual se indica un registro de 1,707 filas y 6 columnas, estas representan los valores de cada variable: país (country), continente (continent), año (year), expectativa de vida (lifeExp), población (pop), PIB percápita (gdpPercap). &#x20;

![](/files/-LNJOiuMVPj4lpyraGRr)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://datanicaragua.gitbook.io/r-tutorial/dplyr.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
