R Assignment Final
R Assignment Final
Submitted to
Department of Library & Information Science
Master of Library & Information Science
Riya Talukder
M.LISc– Digital Library (Evening)
Roll No: 002400803007
Session: 2024-2026
JADAVPUR UNIVERSITY
KOLKATA – 700032
ACKNOWLEDGEMENT
2 R Software
Follow these steps to install R on a Windows computer:
Step 1: Download R
i. Open a web browser and go to the Comprehensive R
Archive Network (CRAN) website: https://cran.rproject.org.
ii. Click on "Download R for Windows".
iii. On the next page, click "base" to download the base version of R.
iv. Click the link to download the latest version of R for Windows (e.g., R-x.x.x-
win.exe).
Step 2: Install R
i. Locate the downloaded .exe file (usually in the Downloads folder) and double-
click it to run the installer.
ii. Follow the installation wizard:
Choose Language: Select your preferred language.
License Agreement: Accept the GNU General Public License (GPL).
Installation Path: Choose the default path or specify a custom location.
Customizations:
o You can select components like additional documentation or the 32-
bit version (if needed).
o Choose if you want shortcuts to R placed on the desktop or Start
menu.
iii. Once the installation is complete, click Finish.
Step 3: Verify Installation
i. Open the Start Menu or locate the R shortcut on your desktop.
ii. Click on R x64 x.x.x (64-bit version) or R i386 x.x.x (32-bit version) to launch
R.
iii. The R console will open, and you can start running R commands
Step 4: Optional –
i. Install R Studio (IDE for R)
Summary
SD & Correlation
Boxplot
Statistical Analysis Using PSPP Software
Bar Chart
Histogram
Scatterplot
Regression
Chi Square
3 CONCLUSION
R could seem too complex for a non-specialist. This may not be true actually. In
fact, a prominent feature of R is its flexibility. Whereas a classical software
displays immediately the results of an analysis, R stores these results in an
"object", sothat an analysis can be done with no result displayed. The user may
be surprised by this, but such a feature is very useful. Indeed, the user can extract
only the part of the results which is of interest. For example, if one runs a series
of 20 regressions and wants to compare the different regression coefficients, R
can display only the estimated coefficients: thus, the results may take a single
line, whereas a classical software could well open 20 results windows. R users
may benefit from a large number of programs written for S and available on the
internet, most of these programs can be used directly with R. R is an interpreted
language; users can access it through a command-line interpreter. If a user types
2+2 at the R command prompt and presses enter, the computer replies with 4.
R supports procedural programming with functions and, for some functions,
object-oriented programming with generic functions. Due to its S heritage, R has
stronger object-oriented programming facilities than most statistical computing
languages. Extending it is facilitated by its lexical scoping rules, which are
derived from Scheme. R uses S-expressions to represent both data and code. R’s
extensible object system includes objects for (among others): regressions models,
timeseries and geo-spatial coordinates. Advanced users can write C, C++, Java,
.NET or Python code to manipulate R objects directly. Functions are first-class
objects and can be manipulated in the same way as data objects, facilitating meta-
programming that allows multiple dispatch. Function arguments are passed by
value, and are lazy—that is to say, they are only evaluated when they are used,
not when the function is called. A generic function acts differently depending on
the classes of the arguments passed to it. In other words, the generic function
dispatches the method implementation specific to that object's class. R is highly
extensible through the use of packages for specific functions and specific
applications.