关于layout_properties中'id'指代对象及rId相关报错的技术咨询
layout_properties中的'id'含义及相关报错处理
我想知道layout_properties中的id指代的是什么,不确定它指向占位符还是其他对象,以下是示例数据:
master_name name type id ph_label ph 1 Figures Master - 20210903 SP TOC title 2 Title 1 <p:ph type="title" idx="10" hasCustomPrompt="1"/> 3 Figures Master - 20210903 F&LR - Figures Cover, 2 Col body 4 Content Placeholder <NA> offx offy cx cy rotation fld_id fld_type 1 0.8400000 1.1878784 12.073192 0.4848491 NA <NA> <NA> 3 0.8399989 3.7499989 5.500000 3.1200000 NA <NA> <NA>
我提出这个疑问是因为需要找到用于src的rId以修复以下报错:
Error in external_img(material_shapes[stat_headers$directions$avg_lease_rate]) : src must be a string starting with 'rId' or an existing image filename
补充说明:
- 按照David的提示,我已通过指定完整文件路径修复了上述报错
- 此外,若通过
if语句调用多个文件时会出现以下报错:
Error in if .... the condition has length > 1
该报错有多种解决方案,基本可使用if_else函数解决。
内容的提问来源于stack exchange,提问作者wigglesthe3rd
相关产品推荐
相关产品推荐

