pb <- function(name){
descriptor <- deparse(substitute(name));
if(!exists(descriptor, "RProtoBuf:DescriptorPool")){
stop("No ProtoBuf Descriptor for: ", descriptor);
};
get(descriptor, "RProtoBuf:DescriptorPool");
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.