dlab-berkeley / R-Fundamentals

D-Lab's 4 part, 8 hour introduction to R Fundamentals. Learn how to create variables and functions, manipulate data frames, make visualizations, use control flow structures, and more, using R in RStudio.
31 stars 9 forks source link

Add to input warning in Lesson 2 #29

Closed ldliao closed 9 months ago

ldliao commented 10 months ago

line 84

⚠️ Warning: Not all functions have inputs or arguments - for example, the ls() function doesn't require an input but still gives us an output.

should also include a warning for not all function has an output (with example)

heroashman commented 9 months ago

@ldliao Good idea! What is an example of this? I can't think of a function that would come up in R fundamentals that doesn't have an output

ldliao commented 9 months ago

@pssachdeva did you have a specific example you wanted to mention or just the warning to be included?

pssachdeva commented 9 months ago

You can do rm() which is covered in that same section