Does the collect function in dplyr have a default?

dplyr

#1

I can't verify this but somehow I got the idea that the collect function in dplyr defaulted to 1,000 rows in an interactive session. and that to get all the records in a table I needed to write something like:

table_object %>% 
  select(var1, var2) %>% 
  collect(n = Inf)

Am I confusing the behavior of dplyr with the way rstudio connect's View function defaults to 1,000?


#2

I'm fairly certain dplyr::collect doesn't have default of 1000. I think, you are correct that the preview by default downloads 1000 records.