Is there a way to print text and variable contents on the same line? For example,

wd <- getwd()
print("Current working dir: ", wd)

I couldn’t find anything about the syntax that would allow me to do this.

8 Answers
8

Tags:

Leave a Reply

Your email address will not be published. Required fields are marked *