如何在[r]中创建简单的c向量

如何在[r]中创建简单的c向量,r,vector,shiny,R,Vector,Shiny,当我需要使用以下方法创建向量时,最好的方法是什么: textInputin library(shiny) u <- shinyUI(sidebarPanel( textInput('A', label = 'Add Dimensions', value = 'first value'), textInput('names.A', label = 'Add Hierarchi',

当我需要使用以下方法创建向量时,最好的方法是什么:
textInput
in

library(shiny)

u <- shinyUI(sidebarPanel(
  
  textInput('A', 
            label = 'Add Dimensions', 
            value = 'first value'),
  
  textInput('names.A', 
            label = 'Add Hierarchi', 
            value = 'obor'),
  
  textInput('date', 
            label = 'Add date', 
            value = '2019-11-21')
))
库(闪亮)
U