R 在使用管道函数时不在控制台返回任何值

问题描述 投票:0回答:0

我正在尝试完成此管道功能,但 R 未在控制台中返回任何值,它只是不断重复代码。不确定我做错了什么?我已经安装了 tidyverse 包和库以及 dplyr 包和库。

这是 R 脚本:

filtered_toothgrowth <- ToothGrowth %>% group_by(supp) %>% 安排(len)

控制台只是重复代码:

filtered_toothgrowth <- ToothGrowth %>%

  • group_by(supp) %>%
  • 安排(长度)

filtered_toothgrowth <- ToothGrowth %>%

  • group_by(supp) %>%
  • 安排(长度)

filtered_toothgrowth <- ToothGrowth %>%

  • group_by(supp) %>%
  • 安排(长度)

filtered_toothgrowth <- ToothGrowth %>%

  • group_by(supp) %>%
  • 安排(长度)
pipe
© www.soinside.com 2019 - 2024. All rights reserved.