Course R-programming

Abdisalam Amin Esse

2024-01-01

# Module 1 
# Introduction to R
# what is R?
# R is programming language
#intended to provide statistical computing and graphing analysis of data sets

   #comes with thousands of fucntion to compute everything from absolute values to z-score

   #contains commands which cab be combined in sequence similar to typical progams
 - Object-oriented 
#Everything is a object
#Many objects have attributes(such as class)

# R is an environment
 # Interaction shell
 # Run single commands or script
 # manages scripts,variables,plot,storage

# R is a repository
 # packages to handle many kinds of functions
  #statistics,graphics,machine learning
  
#R is open source
 # Available  for download for free
 # You can also get RStudio,a nifty interface at no cost

# R is widely supported
 # apache foundation(SparkR)
 #micosoft(R for SQL Server)
#Oracle(Enterprise R)
#IBM(R in infosphere)
#Google,Twitter,etc.)

#Who Uses R?
  #Data Scientists
  #Data Analysts
  #Statisticians
  #Data Engineers
  #Busniss Managers
  #Anyone with a need to understand their data better.

# History of R

#R was inspired by a commercial statistical language called S(really!)
#First recognized in 1993
#1995-source code made available under free software foundation GNU license.
  #interest grew
  #mailing lists appear for bug fixes,distribution
#1997-core group of contributors was expanded to increase the pace of upgrades and fixes
#2000 -R 1.0 released
#2007-1000 packages published
#2013-KDNuggets poll-R tops all other language for analytics,data mining and data science
#2014-R becomes the most widely used software for scholarly articles
#2015-Over 10000 packages published including caret(machine learing),ggplot2(graphics) and others

# Installing R

# first you will need to install to following 
  # R(version 3.3.2)
  # https://cran.rstudio.com/inded.html

  # RStudio(version 1.0.44)
  # https://www.rstudio.com/products/rstudio/download2/