P
function to resolve
message type names.readProtoFiles(files, dir, package = "RProtoBuf")
files
is not specified, files
with the "proto" extension in the dir
directory
are importedfiles
and dir
are
missing, "proto" files in the "proto" directory of the
package tree are imported.NULL
, invisibly.P
# from a package
readProtoFiles( package = "RProtoBuf" )
# from a directory
proto.dir <- system.file( "proto", package = "RProtoBuf" )
readProtoFiles( dir = proto.dir )
# set of files
proto.files <- list.files( proto.dir, full.names = TRUE )
readProtoFiles( proto.files )
Run the code above in your browser using DataLab