Hi Cristina,
You can try this:
> Community <- R6Class("Community",
public = list(
e = NULL,
initialize = function() { self$e <- list() },
add = function( person ) { self$e[[ length(self$e)
+ 1]] <<- p
See below.
On Wed, 15 Nov 2017, Cristina Pascual wrote:
Dear community,
I am having a class, let's say Person,
Person <- R6Class("Person",
public = list(
idPerson = NULL,
name = NULL,
age = NULL,
Dear community,
I am having a class, let's say Person,
Person <- R6Class("Person",
public = list(
idPerson = NULL,
name = NULL,
age = NULL,
initialize = function(idPerson = NA, name =
Dear community,
I am having a class, let's say Person,
Person <- R6Class("Person",
public = list(
idPerson = NULL,
name = NULL,
age = NULL,
initialize = function(idPerson = NA, name
4 matches
Mail list logo