- Write a R program to take input from the user (name and age) and display the values. Also print the version of R installation.
- Write a R program to get the details of the objects in memory.
- Write a R program to create a sequence of numbers from 20 to 50 and find the mean of numbers from 20 to 60 and sum of numbers from 51 to 91.
- Write a R program to create a vector which contains 10 random integer values between -50 and +50.
- Write a R program to get the first 10 Fibonacci numbers.
- Write a R program to get all prime numbers up to a given number (based on the sieve of Eratosthenes).
- Write a R program to print the numbers from 1 to 100 and print “Fizz” for multiples of 3, print “Buzz” for multiples of 5, and print “FizzBuzz” for multiples of both.
- Write a R program to extract first 10 english letter in lower case and last 10 letters in upper case and extract letters between 22nd to 24th letters in upper case.
- Write a R program to find the factors of a given number.
- Write a R program to find the maximum and the minimum value of a given vector.
- Write a R program to get the unique elements of a given string and unique numbers of vector.
- Write a R program to create three vectors a,b,c with 3 integers. Combine the three vectors to become a 3Ã—3 matrix where each column represents a vector. Print the content of the matrix.
- Write a R program to create a list of random numbers in normal distribution and count occurrences of each value.
- Write a R program to read the .csv file and display the content.
- Write a R program to create three vectors numeric data, character data and logical data. Display the content of the vectors and their type.
- Write a R program to create a 5 x 4 matrix , 3 x 3 matrix with labels and fill the matrix by rows and 2 Ã— 2 matrix with labels and fill the matrix by columns.
- Write a R program to create an array, passing in a vector of values and a vector of dimensions. Also provide names for each dimension.
- Write a R program to create an array with three columns, three rows, and two “tables”, taking two vectors as input to the array. Print the array.
- Write a R program to create a list of elements using vectors, matrices and a functions. Print the content of the list.
- Write a R program to draw an empty plot and an empty plot specify the axes limits of the graphic.
- Write a R program to create a simple bar plot of five subjects marks.
- Write a R program to create bell curve of a random normal distribution.
- Write a R program to compute sum, mean and product of a given vector elements.
- Write a R program to create a list of heterogeneous data, which include character, numeric and logical vectors. Print the lists.
- Write a R program to create a Dataframes which contain details of 5 employees and display the details.
- Write a R program to create a Data Frames which contain details of 5 employees and display summary of the data.
- Write a R program to create the system’s idea of the current date with and without time.