R_Code-13.r (397B)
1 # Create a list named student_record containing a string, 2 # an integer, and a numeric vector of two grades. Then, add the 3 # logical value TRUE to the end of the list, ensuring the original 4 # student_record variable is updated. Print the final list. 5 6 student_record <- list("Amit Dutta", 95, c(95, 96)) 7 print(student_record) 8 student_record <- append(student_record, TRUE) 9 print(student_record)