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
Watch video Load Multiple Packages at Once in R (Example) | apply() & require() Functions | Importing Libraries online, duration hours minute second in high quality that is uploaded to the channel Statistics Globe 02 March 2023. Share the link to the video on social media so that your subscribers and friends will also watch this video. This video clip has been viewed 408 times and liked it 26 visitors.