Solution Review: Strings
In this review, we give a detailed analysis of the solution to this problem.
Solution #1: Using rep()
Press + to interact
R
testVariable <- "learning is fun and easy"cat(rep(testVariable, 3))
Explanation
Simply use the keyword rep()
...