Load Multiple Packages at Once in R (Example) | apply() & require() Functions | Importing Libraries

Veröffentlicht am: 02 März 2023
auf dem Kanal: Statistics Globe
408
26

How to load several add-on packages with one line of code in the R programming language. More details: https://statisticsglobe.com/r-load-mu...
R code of this video:

library("dplyr") # Load packages one-by-one
library("mice")
library("stringr")

my_packages <- c("dplyr", "mice", "stringr") # Create vector of packages

lapply(my_packages, require, character.only = TRUE) # Load multiple packages

Follow me on Social Media:
Facebook – Statistics Globe Page:   / statisticsglobecom  
Facebook – R Programming Group for Discussions & Questions:   / statisticsglobe  
Facebook – Python Programming Group for Discussions & Questions:   / statisticsglobepython  
LinkedIn – Statistics Globe Page:   / statisticsglobe  
LinkedIn – R Programming Group for Discussions & Questions:   / 12555223  
LinkedIn – Python Programming Group for Discussions & Questions:   / 12673534  
Twitter:   / joachimschork  

Music by bensound.com


Auf dieser Seite können Sie das Online-Video Load Multiple Packages at Once in R (Example) | apply() & require() Functions | Importing Libraries mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Statistics Globe 02 März 2023 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 408 Mal angesehen und es wurde von 26 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!