type-methods | R Documentation |
Gets the type or the C++ type of a field
object |
A FieldDescriptor object. |
as.string |
If true, print a string representation of the type. |
The method is implemented for the FieldDescriptor class
## Not run: proto.file <- system.file( "proto", "addressbook.proto", package = "RProtoBuf" ) Person <- P( "tutorial.Person", file = proto.file ) ## End(Not run) type(Person$id) type(Person$id, as.string=TRUE) cpp_type(Person$email) cpp_type(Person$email, TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.