0 votes
18 views

What arguments are required in the R6Class?

in Technology by (187k points)

1 Answer

0 votes

In order to create an R6 class in R, the following arguments are required –

  • The first argument in the R6 class is the classname itself. It improves the error messages and allows us to make use of R6 objects with the given S3 generics.
  • The second argument of the R6 argument is ‘public’. This argument provides several methods and fields which make use of snake_case.
by (187k points)

Related questions

0 votes
1 answer 33 views
0 votes
1 answer 20 views
+1 vote
1 answer 10 views
0 votes
1 answer 14 views
0 votes
1 answer 25 views
0 votes
1 answer 12 views
+1 vote
1 answer 14 views
0 votes
1 answer 15 views
0 votes
1 answer 12 views
0 votes
1 answer 18 views
0 votes
1 answer 17 views
0 votes
1 answer 15 views
...