Struggling sooo hard to get this right.. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 1

Struggling sooo hard to get this right..

Write a program in R to output the following: "Everything you can imagine is real. " -Picasso Use cat to generate the output My input: This was what I wrote; Cat("\Everything you can imagine is real.\" - picasso") Error: object 'Picasso' not found Execution halted

29th Sep 2022, 10:20 AM
sarah Akang
sarah Akang - avatar
2 Answers
+ 2
Please do not re-post the same question. You can post in the existing thread if you want to add something. https://www.sololearn.com/Discuss/3088624/?ref=app Please tag "R" next to "strings" so everyone quickly find your questions.
29th Sep 2022, 10:32 AM
Lisa
Lisa - avatar
+ 2
Please read the previous lessons again. DO NOT delete anything from the given string. Just add the \ at the appropriate places. The function is spelt "cat", not "Cat". "Picasso" with uppercase "P". Compare blank spaces to the given output example.
29th Sep 2022, 10:36 AM
Lisa
Lisa - avatar