Это можно сделать, указав column
и установив align = "center"
.
library(shiny)
library(shinydashboard)
ui <- dashboardPage(
dashboardHeader(
title="Select Data to View or Download",
titleWidth = 335),
dashboardSidebar(
width = 335,
column(12,align = "center",offset = 0,actionButton("load","Apply Selections"))),
dashboardBody()
)
server <- function(input, output) { }
shinyApp(ui, server)