search for: person_desc

Displaying 1 result from an estimated 1 matches for "person_desc".

2025 May 11
0
Why does format.default skip dispatch for list items?
..., the result is a character vector obtained by applying format.default(x, ...) to each element of the list One consequence is that we can't add "nice" printing methods for list-of-object columns in data.frames: https://github.com/eddelbuettel/rprotobuf/issues/109 library(RProtoBuf) person_desc <- P("tutorial.Person") DF <- data.frame(id = 1:2) DF$person = list(person_desc$new(name = "Me"), person_desc$new(name = "You", email = "y at u.com")) DF # id person # 1 1 <S4 class ?Message? [pack...