jasfever.blogg.se

Rstudio packages
Rstudio packages









In this section, I’ll describe how to work with packages using the Rstudio tools, because they’re so much simpler. Fortunately, we don’t have to do things that way anymore. It’s not actually terribly hard to work with packages that way, but it’s clunky and unpleasant. When I first started writing this book, Rstudio didn’t really exist as a viable option for using R, and as a consequence I wrote a very lengthy section that explained how to do package management using raw R commands.

rstudio packages

Some packages are already installed when you put R on your computer, but the vast majority of them of R packages are out there on the internet, waiting for you to download, install and use them. A package is basically just a big collection of functions, data sets and other R objects that are all grouped together under a common name.

rstudio packages

In this section I discuss R packages, since almost all of the functions you might want to use in R come in packages.











Rstudio packages