w3resource
R programming Exercises

R programming Exercises, Practice, Solution

R programming

R is a language and environment for statistical computing and graphics. It is a GNU project which is similar to the S language and environment which was developed at Bell Laboratories by John Chambers and colleagues. R can be considered as a different implementation of S. R provides a wide variety of statistical and graphical techniques, and is highly extensible.

The best way we learn anything is by practice and exercise questions. Here you have the opportunity to practice the R programming language concepts by solving the exercises starting from basic to more complex exercises. A sample solution is provided for each exercise. It is recommended to do these exercises by yourself first before checking the solution.

Hope, these exercises help you to improve your R programming coding skills. Currently, following sections are available, we are working hard to add more exercises .... Happy Coding!

List of R programming Exercises :

List of Exercises with Solutions :

Popularity of Programming Language
Worldwide, Feb 2019 compared to a year ago:

Rank Change Language Share Trend
1 up arrow Python 26.42 % +5.2%
2 down arrow Java 21.2 % -1.3 %
3 up arrow Javascript 8.21% -0.3 %
4 up arrow C# 7.57 % -0.5 %
5 down arrow PHP 7.34 % -1.2 %
6 C/C++ 6.23 % -0.3 %
7 R 4.13 % -0.1 %
8 Objective-C 3.04% -0.8 %
9 Swift 2.56 % -0.6%
10 Matlab 1.98 % -0.4 %
11 up arrow TypeScript 1.61 % +0.2 %
12 down arrow Ruby 1.54 % -0.2 %
13 down arrow VBA 1.44% -0.0 %
14 up arrow Scala 1.17% -0.1 %
15 up arrow Kotlin 1.15 % +0.3 %
16 down arrow Visual Basic 1.15 % -0.1 %
17 up arrow Go 1.05 % +0.3 %
18 down arrow Perl 0.58 % -0.2 %
19 Rust 0.43 % +0.1 %
20 Lua 0.35 % +0.0 %
21 up arrow Julia 0.3% +0.1 %
22 up arrow Haskell 0.3% +0.0 %
23 down arrow Delphi 0.25% -0.1 %

Source : http://pypl.github.io/PYPL.html

TIOBE Index for February 2019

Feb 2019 Feb 2018 Change Programming Language Ratings Change
1 1 Java 15.876% +0.89%
2 2 C 12.424% +0.57%
3 4 up arrow Python 7.574% +2.41%
4 3 down arrow C++ 7.444% +1.72%
5 6 up arrow Visual Basic .NET 7.095% +3.02%
6 8 up arrow JavaScript 2.848% -0.32%
7 5 down arrow C# 2.846% -1.61%
8 7 down arrow PHP 2.271% -1.15
9 11 up arrow SQL 1.900% -0.46%
10 20 up arrow Objective-C 1.447% +0.32%
11 15 up arrow Assembly language 1.377% -0.46%
12 19 up arrow MATLAB 1.196% -0.03%
13 17 up arrow Perl 1.102% -0.66%
14 9 down arrow Delphi/Object Pascal 1.066% -1.52%
15 13 down arrow R 1.043% -1.04%
16 10 down arrow Ruby 1.037% -1.50%
17 12 down arrow Visual Basic 0.991% -1.19%
18 18 Go 0.960% -0.46%
19 49 up arrow Groovy 0.936% +0.75%
20 16 down arrow Swift 0.918% -0.88%

Source : https://www.tiobe.com/tiobe-index/

[ Want to contribute to R exercises? Send your code (attached with a .zip file) to us at w3resource[at]yahoo[dot]com. Please avoid copyrighted materials.]



New Content: Composer: Dependency manager for PHP, R Programming