![](/img/trans.png)
[英]How to get total number of pages of pdf files using magick::image_read_pdf?
[英]Magick R: Remove non-image output (image_read_pdf) from display
我正在使用魔法R package 中的image_read_pdf
function 在 Z531704ZEFA26 應用程序中顯示圖像。
```{r include = FALSE}
...
qc1 <- image_read_pdf(paste0(figures_dir,'qc_1.pdf'))
```
然后我只是打印圖像......
#### Initial QC:
```{r echo = FALSE, warning=FALSE, message = FALSE, out.height='50%', out.width='80%'}
print(qc1)
```
圖像顯示沒有問題,但我在顯示圖像之前獲取有關文件的信息,我想刪除 output 以使其看起來更好。
我試過echo = FALSE, warning=FALSE, message = FALSE
沒有成功; 這個 output 怎么能去掉?
## # A tibble: 2 × 7
## format width height colorspace matte filesize density
## <chr> <int> <int> <chr> <lgl> <int> <chr>
## 1 PNG 3300 2550 sRGB TRUE 0 300x300
## 2 PNG 3300 2550 sRGB TRUE 0 300x300
我聯系了開發人員...
#### Initial QC:
```{r echo = FALSE, warning=FALSE, message = FALSE, out.height='50%', out.width='80%'}
print(qc1, info=F)
```
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.