I tried to import simple proto3 file via RProtoBuf library, unfortunately this operation fails with error regarding unrecognized syntax identifier:
> install.packages("RProtoBuf") > library(RProtoBuf) > proto.dir <- "D:/dev/tmp/proto" > readProtoFiles( dir = proto.dir ) D:/dev/tmp/proto/search.proto:1:10:Unrecognized syntax identifier "proto3". This parser only recognizes "proto2". Error in readProtoFiles(dir = proto.dir) : Could not load proto file 'D:/dev/tmp/proto/search.proto'
search.proto
is defined as:
syntax = "proto3"; message SearchRequest { string query = 1; int32 page_number = 2; int32 result_per_page = 3; }
My environment:
R version 3.3.2 (2016-10-31) -- "Sincere Pumpkin Patch"
Copyright (C) 2016 The R Foundation for Statistical Computing
Platform: x86_64-w64-mingw32/x64 (64-bit)
RProtoBuf: https://cloud.r-project.org/bin/windows/contrib/3.3/RProtoBuf_0.4.7.zip
C:\>protoc --version
libprotoc 3.1.0
Thanks in advance.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4