[Rprotobuf-yada] Also play with lists but I get the same problem

David Ibarra Gómez dibarra at aqualogy.net
Tue Feb 5 18:23:21 CET 2013


Hi,

                I also tried to do something more like the examples but I get the same error:


i=1
sectorini <-list(new(sector,
                               nombre=as.character(gerencias[i,]$NOM.SECTOR),
                               nombre_abreviado=as.character(gerencias[i,]$ABREVIAT),
                               gerencia = as.character(gerencias[i,]$GERENCIA),
                               activo = as.numeric(gerencias[i,]$codi),
                               literal = as.character(gerencias[i,]$LITERAL.FUNCI)
                                               ))

sectores$caudales<-sectorini


sectores$caudales<-sectorini
Error in `$<-`(`*tmp*`, "caudales", value = list(<S4 object of class "Message">)) :
  could not get FieldDescriptor for field

Is it my error or should I change the definition of the proto to carry the "caudal" message inside?

Regards

David Ibarra

________________________________
Disclaimer: http://disclaimer.aqualogy.net/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/rprotobuf-yada/attachments/20130205/26e8311e/attachment.html>


More information about the Rprotobuf-yada mailing list