Syllabus - Open Source Software Lab (Linux and R) (IT 407)


Information Technology

Open Source Software Lab (Linux and R) (IT 407)

IV-Semester

Unit I

Introduction to LINUX Operating System

Overview of popular Linux distributions, Hardware requirements for Linux, Installation of LINUX distributions Internal And External Commands, Command Structure, general-purpose utilities: cal, date, echo, printf, bc, script, passwd, PATH, who, uname, tty, stty, pwd, cd, mkdir, rmdir

Unit II

Handling files

The File System, cat, cp, rm, mv, more, file, ls, wc, pg, cmp, comm, diff, gzip, tar, zip, df, du, mount, umount, chmod, VI editor, security by file permissions commands: chmod, find, locate, Compiling C/C++ files, File processing: awk, sed, Commands: gcc, sh. Networking commands: ping, telnet, ftp, arp, rlogin, other commands: make, apt-get, Accessing remote servers and files, Editing and manipulating files, System Administration: Configuration of Linux, Connecting to remote machines-ftp, telnet, Adding and removing users.

Unit III

Programming in Linux

Bash shell scripting, Interactive scripts, shell variables, assigning values to variables, positional parameters, command line arguments, arithmetic in shell script, exit, status of a command, sleep and wait, script termination, Decision taking, -if else, nested if, file tests, string tests, case control structure, Loop control, break, continue, logical operators and executing Script, Debugging a script, executing multiple scripts, other shell script examples.

Unit IV

R Introduction

Installation of R, R reserved words, Variables and Constants, R Operators, R Control Structures, R Programming: for loop, R while loop, R break & next, R repeat loop R Functions: R Programming Function, Function Return Value, R Environment and Scope, R recursive function, R switch function

Unit V

R Data Structure

R Vectors, R Matrix, R List, R Data Frame R Object and Class: Object and Class, R S3 Class, R S4 Class, R Reference Class, R Inheritance R Graphs and Charts: Bar plot, Histogram, Pie Chart, Box plot, Strip chart

Course Objective

To develop an understanding of Linux commands and shell programming and enable students to use the Linux distributions to create, debug and run applications. Learn basic R data types, R functions, objects and class, graphs and charts.

Course Outcome

["Understand the basic commands used in Linux operating system", "Learn the important Linux/UNIX library functions and system calls", "Write, compile and debug shell script in Linux environment", "Learn how to program in R and write R functions", "Read data into R, access R packages"]

Practicals

Reference Books

  • Forouzan, “Unix & Shell Programming”, Cengage Learning.

  • Sumitab Das,”Unix Concept & Application”,TMH.

  • Richard Peterson,”Linux Complete Reference”,TMH.

  • Michael J. Crawley, “The R Book”, Wiley

  • Roger D. Peng, “R Programming for Data Science” Lean Publishing

  • Tilman M. Davies, “The Book of R”, No Starch Press