Matrix algebra is the foundation of most mathematical and scientific developments in general. The matrix structures allow to create algorithms in a more orderly and efficient way. R perfectly orders matrix computation through its data structures.This book begins by introducing work with numbers, operators, and vector and matrix variables. Real vector and matrix functions, as well as advanced vector and matrix structures such as sequences, arrays, tables, lists, and data frames are discussed below. Subsequently, work with predefined and custom-created numerical, vector and matrix functions is approached. Another important part of the content of the book are the vector and matrix functions of complex variables that are perfectly implemented in R. Also, key topics such as matrix algebra, vector spaces, linear applications and quadratic forms are developed in depth. Finally, the decomposition of matrices, diagonalization and applications in solving equations and systems of linear equations are studied in depth.