Intellipaat Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in Data Science by (18.4k points)

Most of the times I prefer to use the reap command ( and ) to get the output on the console.

 For example, 

(logical_sample <- c(0,1,0,1,0,1,0,1,0))

(sample_mean <- mean(logical_sample))

(sample_st_deviation <- sd(logical_sample)) 

(n <- length(logical_sample))

Is there a short cut for in Rstudi for un/parenthesizing. For example, you can use command + shift + c for uncommenting.

1 Answer

0 votes
by (36.8k points)

As per the official documentation of Rstudio. To jump to the matching parentheses you can use Ctrl+P. This helps speed up things.

I hope this will help you.

Improve your knowledge in data science from scratch using Data Science tutorial

Related questions

31k questions

32.8k answers

501 comments

693 users

Browse Categories

...