0
我不确定这是否是sf中的错误,但我无法获得sf初始消息以便在Rmarkdown中不显示。我用我每次知道命令来尝试和沉默回应:避免Rmarkdown中的简单功能消息
```{r echo=FALSE, cache=FALSE, results=FALSE, warning=FALSE, comment=FALSE, warning=FALSE}
不会阻止此消息Rmarkdown
Simple feature collection with 10 features and 9 fields
geometry type: POLYGON
dimension: XY
bbox: xmin: -80.13852 ymin: 39.65424 xmax: -75.20251 ymax: 42.18098
epsg (SRID): 4326
proj4string: +proj=longlat +datum=WGS84 +no_defs
并添加注释= FALSE行实际上将单词“FALSE”到每一行
FALSE Simple feature collection with 10 features and 8 fields
FALSE geometry type: POLYGON
FALSE dimension: XY
FALSE bbox: xmin: -8920979 ymin: 4815823 xmax: -8371505 ymax: 5188128
FALSE epsg (SRID): 3857
FALSE proj4string: +proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m [email protected] +wktext +no_defs
加入'message = FALSE',你应该很好走。 – lmo
当我添加它时,它仍然显示。 – sbell423
然后可能的是,无论哪个软件包产生输出,都使用'print'或'cat'来完成。 – lmo