
Explore the course overview, updates, and evaluation, and learn to set up R and RStudio with directories and cloud access, while studying variables, data types, operators, loops, vectors, and lists.
Understand Udemy's updated rating policy and when to rate. Finish 2–3 sections or the whole course, then update your rating later, and use comments or the Q&A to guide improvements.
Meet Farhad, an Ms. mentor since 2008 and design instructor since 2016, with a bachelor's in management information system and a master's in data science from King Abdulaziz University.
Rate this course to help others decide if it fits them and to encourage improvements through feedback and five star reviews. Share questions in discussion board or via social channels.
Discover how to check and start my Udemy courses, use playback controls and timeline notes, adjust playback quality, and share, rate, or review the course.
Discover how this R programming course is structured—from installation and R Studio basics to lists, vectors, matrices, dataframes, data wrangling, and visualization—with theory, practice, and weekly updates.
Balance theory and practice with detailed explanations, hands-on exercises, quizzes, and solutions, taught by a practitioner who guides you to learn programming effectively.
Learn how to download and install the R language on Windows, select default settings in English, install version 4.5.1, and prepare to use RStudio.
Learn to download and install the RStudio open source edition on Windows, install R, choose the 64-bit rendering engine, and launch RStudio for a ready-to-use IDE.
In this video you are going to learn how to install R and RStudio
In this video you are going to learn the advantages of learning R
In this video, you are going to learn a general overview of RStudio
Learn to check and switch the current directory in the studio, open the correct Arabic or English project, and understand how each project keeps its own files, scripts, and data.
The video demonstrates updating R from 4.0.3 to 4.2.1 and updating RStudio, migrating packages from the old to the new version, and updating all packages.
Check and switch your R version in RStudio. Verify updates with sessionInfo and decide between 4.0.3 and 4.2.1 for project compatibility.
In this video, you are going to learn what is Rstudio Cloud and why and when you should use it!
Explore Posit Cloud (formerly RStudio Cloud) and learn to create new studio or Jupyter projects, manage free plan features, upload data, run R code, and share work.
Explain the difference between a directory and a project, show how to identify the working directory with a command, and stress organizing files with informative names for reproducibility.
Open RStudio and set the working directory by creating or selecting a project in the chosen folder, then double-click the project file in documents to activate it.
Explore the main file types in RStudio, including the .R script and project file. Run code in the studio, comment with hashtags, and use markdown and the history file.
Explore how R packages deliver reusable code and data, with corpus for text, geospatial tools, and tidyverse for tabular tasks; learn to install, load, and remove them.
Install the R kernel in Jupyter notebooks using conda-forge, then run R code directly in a notebook. Learn to create variables and print results in R.
Explore variables, data types, operators, loops, and if statements in this fundamentals section of R programming, establishing the basics of programming for beginners.
Explore how variables serve as memory containers that store values of different data types (numeric, integer, double, complex, character, logical), follow naming rules, and apply examples like score and balance.
Explore data types in R, including character text, numeric double (default) and integer with L suffix, boolean logicals, and the use of quotation marks to store strings.
Explore data types and variables in R by practicing with RStudio, using the assignment operator <-, and identifying doubles, integers, complex, logical, and character types.
Practice creating variables, assigning values such as name, age, gender, and university, and check each variable's type (numeric or character) in R programming for complete beginners.
Create variables in r by naming and assigning age, gender, and university with quotes. Use the type function and capital L to distinguish double, integer, and character.
Explore the core types of operators in R, including arithmetic, relational, logical, and assignment operators, and see how they perform math, comparisons, and variable assignment.
Explore arithmetic, logical, and relational operators in r, practice with true/false vectors, and master assignment using <- or =, including and, or, not, plus comment handling and console output.
Practice basic arithmetic in R by creating variables x and y, assigning 25 and 5 respectively, then apply addition, subtraction, multiplication, and division to compute their results.
Master basic operators in R by solving a beginner exercise: assign x 25 and y 5, then add, subtract, multiply, and divide to get 30, 20, 125, and 5.
Explore loops in R, mastering for and while structures, iteration, and conditions through examples like counting from 1 to 5 and simulating a phonebook task.
Explore loops in R by building for and while loops, iterating over vectors and names, printing each value, and counting characters to reinforce iteration basics.
Create a for loop that prints numbers from 1 to 10, then build a vector of movie names and print each title with a loop as a two-step exercise.
Learn to implement for loops in r by printing 1 to 10 and iterating over a vector of movie titles, using a placeholder index and print to display results.
Learn how if and else statements in R use test expressions and boolean logic to run specific code blocks, illustrated by x > 5 and positive or negative numbers.
Practice constructing if and else statements in R by assigning x = 12 and printing messages based on whether x is greater than five or smaller than five.
Use an if statement to determine if the x variable is positive or negative, first with 15 and then with -5, printing the result accordingly.
Learn to write an if statement in R that checks if x is greater than or equal to zero and prints whether it's positive or negative.
Learn how case sensitive rules treat uppercase and lowercase letters as different in R, how variables are named, and why using lowercase letters is best practice.
Explore case sensitivity and how to create variables like salary, income, and expenses, then use ls() to list all current variables in the environment.
Explore the difference between data types and data structures, with examples like integer, double, float, string, and logical in R, and learn primitive versus non primitive containers.
Create variables, list them with ls, and delete specific variables with rm, or clear the workspace with the broom to manage your R environment.
Create and assign three variables in R: math = 90, stat = 92, biology = 75; then list the variables, delete biology, and list again to verify.
Create three variables with given values, list them with ls(), and delete the biology variable using rm(biology) to see the remaining ones.
Explore operators in r: the colon to generate a sequence, the end operator to test membership, and the star operator with percent signs to multiply a matrix by its transpose.
Learn miscellaneous operators in R, including the colon operator for sequences, the RN operator for membership checks, and the transpose operator for matrices, culminating in matrix multiplication with %*%.
Practice miscellaneous operators in R by using the colon and in operators to build a 1 to 20 series and test membership, then perform transpose multiplication on a 5-column matrix.
Create a 1:20 vector, check if 16 or 26 is in the vector, build a 4x5 matrix by row, and multiply it by its transpose.
Explore data structures in R and differentiate homogeneous and heterogeneous types. See how vectors, matrices, and arrays offer homogeneous storage while lists and data frames support multiple data types.
Learn how vectors in R are homogeneous one-dimensional data structures that store a single type, create a vector with c(20, 30, 60, 80, 120), and note indexing starts at one.
Learn to create numeric vectors in R, access elements by index, and locate values using match, including handling duplicates and multiple occurrences across vectors X and Y.
Create three vectors in R named laptops, ratings, and price, then print each vector's type and its element types. Finally convert the price vector to integer and check the solution.
Learn to create vectors in R with c, build a character vector of laptops, a double rating vector, and an integer price vector by appending an L suffix.
Explore how lists in R differ from vectors by holding multiple data types and even nested lists, using the list function to build complex data structures.
Explore the difference between vectors and lists in R. Build a character vector using c and a labeled list, then inspect class and structure.
Learn to create and nest lists in R by building an Avengers list, adding a cast names sublist with names and genders, and inspecting the list structure.
Learn to build a complex list in R by composing an Avengers example with name, score, studio, and a nested cast list including actor names and genders.
Explore how functions in R take inputs, perform operations, and return results, including built-in functions like print, mean, and length, and how to create user defined ones.
learn how to create and use functions in R, define a two-number add function with parameters x and y, return the result, and call it to obtain 11.
Learn to write R functions with two exercises: add three numbers using addition, and multiply two numbers using mul. Compare your answers with mine in the next video.
define and test simple R functions: an addition function with three arguments that returns the sum, and a mul function that multiplies two arguments, returning results.
Explore how matrices in R store data as a two-dimensional four by three grid, with one-based indexing, and how to create them with matrix, c, nrow, ncol, and by row.
Create a 3x3 matrix in R with values 1 to 9 arranged row-wise by setting byrow to true, and compare it to the default column-wise ordering.
Create a 2x3 matrix with values 1 to 6 and store in mat one, then build a 4x4 matrix with 1 to 16 arranged by row in mat two.
Learn to create matrices in R using matrix with a vector, nrow, and ncol; compare c(...) with direct values, and order by row with byrow, then print.
Explore arrays in R, see how they differ from vectors and matrices as homogeneous, multi-dimensional storage, and learn to create them with the array function.
Create and print multi-dimensional arrays in R, building a 2x3x3 array from 1 to 18 across three matrices, and reinforce concepts with a 2x3x2 array from 1 to 12.
Demonstrate matrix creation in R through two exercises: build three 2x2 matrices with values 1–12 stored as R1, then four 3x3 matrices with values 1–36 stored as R2.
Demonstrate creating arrays and matrices in R using the assignment operator, combining values with c, and specifying dimensions for multi-dimensional arrays (2x2 with 3 matrices; 3x3 with 4 matrices).
Learn what a data frame is in R, a two-dimensional heterogeneous data structure for tabular data, and how to create it with data.frame using vectors for id, name, and age.
Create and print a data frame in R by combining vectors into student_id, student_name, and age columns, and learn to import Excel or CSV data.
Build a data frame in R by creating movie_id from 1 to 5, movie_name, and movie_rating, then save it as the dataset movie_dataset.
Create vectors for movie_id, movie_name, and movie_rating, then assemble them into a data frame in R and print the dataset to view the results.
Explore factors in R, a data structure for storing categorical data, and learn nominal vs ordinal data, creating factors with predefined levels and the factor function.
Learn to create factors in R for nominal data, explore automatic alphabetical levels, and enforce a custom order with ordered = TRUE and explicit levels.
Create a factor from the data bachelors, masters, doctorate, store it in a degree variable, and ensure it is ordered as written.
Create a factor for degree, use a combine function to define levels, and set the factor as ordered with a specified levels vector.
Explore how a Jupyter notebook functions as an open-source, browser-based tool that combines live code, equations, text, and visualizations for beginner-friendly scientific computing.
Install the Anaconda distribution, including Python 3.9 and data science packages like pandas, numpy, matplotlib, and scikit-learn, with IDEs such as Jupyter Notebook and Jupyter Lab.
Learn to open a Jupyter notebook via Anaconda prompt or PowerShell, set the working directory, and launch notebooks in a browser, then check Python version and libraries.
Switch between edit mode and command mode in a Jupyter notebook by using the green pencil for editing and the blue mode for commands, including moving, deleting, and running cells.
Master variable autocomplete and the order of operations in a Jupyter notebook, learning how to run cells, print variables, and track execution with cell numbers.
Learn to navigate Jupyter Notebook menus, rename and save notebooks, run cells, and export or print notebooks in HTML, LaTeX, Markdown, ipynb, or PDF.
Learn what markdown is—a markup language used by developers and data scientists and data analysts, similar to HTML, and essential for organizing and commenting within Jupyter notebooks.
Learn to create markdown headings with hash symbols and a space, using six levels. See how headings organize content in Jupyter notebooks and support thesis or research notes.
Learn to write markdown blockquotes in Jupyter Notebook using the greater-than sign and indent quotes. Render with shift-enter to capture insights and quotes within cells.
Learn to write math symbols in Markdown inside Jupyter Notebook using dollar signs and backslashes, with quick copy-paste examples for symbols like sum, star, and moo.
Discover how to insert line breaks in markdown between sentences, using markdown syntax and the br tag, and see how shift enter impacts line separation in Jupyter Notebook.
Learn to bold text in markdown using double asterisks or double underscores. Write immediately without spaces and render in a markdown cell with shift+enter.
Learn to write italic text in markdown using a single star or underscore, with no space after the underscore, and insert line breaks with br to separate sentences.
Learn to insert a horizontal line in a Jupyter Notebook to divide sections, using the dash dash dash syntax and Shift+Enter, creating clear breaks between exploration and modeling.
Learn how to create an ordered list in markdown, using numbered items to present programming languages like Python, R, and Julia.
Learn to create unordered lists in Markdown using dash or star bullets, and compare them with ordered lists to organize content in a Jupyter notebook.
Learn how to create internal links in a Jupyter Notebook using markdown, anchors, and ids to jump between cells and build a simple table of contents.
Learn to add an external link in a Jupyter notebook using markdown, including the anchor, href, and clickable url, and verify it opens the site.
Learn two ways to insert images in a Jupyter Notebook: use the insert image option for original size, or use markdown with img src to set width and height.
Learn to embed a video in a Jupyter notebook with markdown, using a video tag, source, width, height, and controls, for the Test Video.mp4 file.
Are you:
1- Planning to do your Master’s or Ph.D.’s and want to learn R
2- Planning to get into the field of Data Science or Data Analytics
3- Trying to learn R and Facing difficulties in understanding it
4- A Researcher and wants to learn R
5- A Complete Beginner in the field of Programming and want to learn R
Then this course is for you
There are plenty of R Courses on this platform, but how this course is different?!
Let me tell you how the course is structured:
After every concept you learn, you will see me applying it practically on RStudio, and then there will be an exercise for you so you can apply what you learned, and then there will be a small quiz to test your knowledge and then after each section, there will be a small project (with the solution provided) so you can check your code with mine
So, the structure is like this:
1- A theory video (where I will explain the concept in detail)
2- A practical video (where I re-explain what I taught in the previous video again but this time in RStudio)
3- A small quiz to test your knowledge after every concept
4- An Assignment for you to do to test your knowledge
5- At the end of each section there might be a small project that will make sure that you have enough skills to move to the next section in the course
6- All the solutions will be provided so you can check your code with mine
As you can see that his course is a very practical course, hope you enjoy the course, just like I enjoyed creating it!!
Wish you all the best
Fahad Masood Reda