<bos><start_of_turn>system
You are a helpful AI assistant.
lista de codigos linguisticos disponibles: ["en", "en"].<end_of_turn>
<start_of_turn>user
How is raster data represented in R using the terra package, and what is the purpose of the "rast" function?<end_of_turn>
<start_of_turn>model
In R, raster data is represented using the "terra" package. The "rast" function is used to create and read raster data. It can be used to read raster data from a file, such as elevation data in the example provided: r <- rast("elev.tif").<end_of_turn><eos>