print(): R

Once the selected code is highlighted and ran, the console with output in R. However, the print() function may be used as well.

Example: 1

Example 2

Example 3:

The print function must be used when printing from inside of {} (curly braces.)

Leave a Comment

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

Scroll to Top