r - 警告:$<- 中的错误:R 脚本中的无效下标类型“语言”
问题描述
我正在尝试调用renderPlot()
函数。
UI.r 页面:
shinyUI(fluidPage(
# Application title
titlePanel("test"),
sidebarLayout(
),
# Show a plot of the generated distribution
mainPanel(
plotOutput("distPlot")
)
)
))
Server.r 页面:
output$distPlot <- renderPlot({
plot(cars)
})
如果我放断点,它会显示以下错误
Warning: Error in $<-: invalid subscript type 'language'
可能是什么问题。谁能帮忙!!
提前致谢
解决方案
推荐阅读
- python-3.x - 从其他文件夹导入 python 模型
- git - 在 Visual Studio 中添加到 .gitignore
- python - Python Kubernetes 获得新事件
- text - 如何在fasttext上获得分类层之前的最后一层?
- node.js - 如何使用nodejs将结果返回给邮递员。我无法发送结果
- amazon-web-services - 我正在使用数字海洋云存储,我想迁移到 AWS S3
- reactjs - 基于上下文动态加载组件的侧面板
- python - PyInstaller 和 OpenGL 错误。ImportError:无法从“PyInstaller.utils.hooks”导入名称“opengl_arrays_modules”
- elasticsearch - Elasticsearch Lucene 查询语法在时间字段中加减 N 分钟?
- python-3.x - Python Tornado 从另一个线程发送 WebSocket 消息