首页 > 解决方案 > 尽管“skip = 4”是一个参数,但 Rshiny 中的 read_excel 不跳行

问题描述

我的 rshiny 脚本中有一行调用上传输入:

osha <- read_excel(input$file4$datapath, skip = 4, sheet = "Data") %>%
   do.stuff

当备忘录弹出时,这些行并没有跳过

New names:
* `` -> ...2
* `` -> ...3
* `` -> ...5
* `` -> ...6
Warning: Error in months: object 'for doing do.stuff' not found
  [No stack trace available]

这条确切的线路在我构建的其他闪亮应用程序中也有效。

当我在另一个脚本中调用文件时

osha <- read_excel("file.xlsx", skip = 4, sheet = "Data") %>%
   do.stuff

do.stuff 做的东西。

是什么赋予了?

标签: rshinyreadxl

解决方案


推荐阅读