2017-08-11 80 views
2

目前我有R版本3.4.1,其中包含「purrr」包版本0.2.3。我遇到的問題是「purrr」軟件包沒有「contains」功能,每當我嘗試使用「contains」功能時,它只會給我「dplyr」軟件包中的「contains」功能。如何在「purrr」包中獲得「包含」功能?在「purrr」包中找不到「contains」函數R

+0

https://github.com/tidyverse/purrr/issues/217 – Masoud

+0

刪除我的答案。我的'purrr'版本老了。 –

回答

5

由於與dplyr衝突,在purr更名爲has_element(),所以您應該使用後者。

+0

它工作。非常感謝。 –

+1

沒問題!請將答案標記爲正確,以便其他人可以找到答案。 –