bsModal works with fluidPage but not without it The 2019 Stack Overflow Developer Survey Results Are In Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern) The Ask Question Wizard is Live! Data science time! April 2019 and salary with experienceR shiny mainPanel display style and fontR Shiny: How to change background color of a tableHow do you publish an app that runs on an external dataset to shinyapps.io?Dataset output in Shinyapp in R using DT package does not show the full dataadding overlay of centiles to ggplot in Shiny apphow to calculate the intersection area of two circles in shiny or R codeUploading data to Shiny for analysesrshiny mainpanel pdf outputHow to display a different color on each side of range slider in Shiny app? As you slide on either side, color should also be filled automaticallynaming a working space data dataframe using Shiny textinput
Short and long uuids under /dev/disk/by-uuid
Finding degree of a finite field extension
Still taught to reverse oxidation half cells in electrochemistry?
Python - Fishing Simulator
Was credit for the black hole image misattributed?
Semisimplicity of the category of coherent sheaves?
How to pronounce 1ターン?
how can a perfect fourth interval be considered either consonant or dissonant?
Why don't hard Brexiteers insist on a hard border to prevent illegal immigration after Brexit?
ELI5: Why do they say that Israel would have been the fourth country to land a spacecraft on the Moon and why do they call it low cost?
Can withdrawing asylum be illegal?
When did F become S? Why?
How to grep and cut numbes from a file and sum them
Match Roman Numerals
Is a pteranodon too powerful as a beast companion for a beast master?
In horse breeding, what is the female equivalent of putting a horse out "to stud"?
What can I do if neighbor is blocking my solar panels intentionally?
How did passengers keep warm on sail ships?
University's motivation for having tenure-track positions
Typeface like Times New Roman but with "tied" percent sign
Are spiders unable to hurt humans, especially very small spiders?
Windows 10: How to Lock (not sleep) laptop on lid close?
Scientific Reports - Significant Figures
Simulating Exploding Dice
bsModal works with fluidPage but not without it
The 2019 Stack Overflow Developer Survey Results Are In
Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)
The Ask Question Wizard is Live!
Data science time! April 2019 and salary with experienceR shiny mainPanel display style and fontR Shiny: How to change background color of a tableHow do you publish an app that runs on an external dataset to shinyapps.io?Dataset output in Shinyapp in R using DT package does not show the full dataadding overlay of centiles to ggplot in Shiny apphow to calculate the intersection area of two circles in shiny or R codeUploading data to Shiny for analysesrshiny mainpanel pdf outputHow to display a different color on each side of range slider in Shiny app? As you slide on either side, color should also be filled automaticallynaming a working space data dataframe using Shiny textinput
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;
I found the bsModal works as expected with fluidPage but not without it. Just click "View Table" button to see the difference.
The version with fluidPage:
library(shiny)
library(shinyBS)
shinyApp(
ui =
fluidPage(
sidebarLayout(
sidebarPanel(
actionButton("tabBut", "View Table")
),
mainPanel(
bsModal("modalExample", "Data Table", "tabBut", size = "large",
"distTable")
)
)
),
server =
function(input, output, session)
)
The version without fluidPage, the only change is that the fluidPage is replaced by tagList:
library(shiny)
library(shinyBS)
shinyApp(
ui =
tagList(
sidebarLayout(
sidebarPanel(
actionButton("tabBut", "View Table")
),
mainPanel(
bsModal("modalExample", "Data Table", "tabBut", size = "large",
"distTable")
)
)
),
server =
function(input, output, session)
)
Can anyboday help me explain what happened between bsModal and fluidPage?
r shiny shinybs
add a comment |
I found the bsModal works as expected with fluidPage but not without it. Just click "View Table" button to see the difference.
The version with fluidPage:
library(shiny)
library(shinyBS)
shinyApp(
ui =
fluidPage(
sidebarLayout(
sidebarPanel(
actionButton("tabBut", "View Table")
),
mainPanel(
bsModal("modalExample", "Data Table", "tabBut", size = "large",
"distTable")
)
)
),
server =
function(input, output, session)
)
The version without fluidPage, the only change is that the fluidPage is replaced by tagList:
library(shiny)
library(shinyBS)
shinyApp(
ui =
tagList(
sidebarLayout(
sidebarPanel(
actionButton("tabBut", "View Table")
),
mainPanel(
bsModal("modalExample", "Data Table", "tabBut", size = "large",
"distTable")
)
)
),
server =
function(input, output, session)
)
Can anyboday help me explain what happened between bsModal and fluidPage?
r shiny shinybs
add a comment |
I found the bsModal works as expected with fluidPage but not without it. Just click "View Table" button to see the difference.
The version with fluidPage:
library(shiny)
library(shinyBS)
shinyApp(
ui =
fluidPage(
sidebarLayout(
sidebarPanel(
actionButton("tabBut", "View Table")
),
mainPanel(
bsModal("modalExample", "Data Table", "tabBut", size = "large",
"distTable")
)
)
),
server =
function(input, output, session)
)
The version without fluidPage, the only change is that the fluidPage is replaced by tagList:
library(shiny)
library(shinyBS)
shinyApp(
ui =
tagList(
sidebarLayout(
sidebarPanel(
actionButton("tabBut", "View Table")
),
mainPanel(
bsModal("modalExample", "Data Table", "tabBut", size = "large",
"distTable")
)
)
),
server =
function(input, output, session)
)
Can anyboday help me explain what happened between bsModal and fluidPage?
r shiny shinybs
I found the bsModal works as expected with fluidPage but not without it. Just click "View Table" button to see the difference.
The version with fluidPage:
library(shiny)
library(shinyBS)
shinyApp(
ui =
fluidPage(
sidebarLayout(
sidebarPanel(
actionButton("tabBut", "View Table")
),
mainPanel(
bsModal("modalExample", "Data Table", "tabBut", size = "large",
"distTable")
)
)
),
server =
function(input, output, session)
)
The version without fluidPage, the only change is that the fluidPage is replaced by tagList:
library(shiny)
library(shinyBS)
shinyApp(
ui =
tagList(
sidebarLayout(
sidebarPanel(
actionButton("tabBut", "View Table")
),
mainPanel(
bsModal("modalExample", "Data Table", "tabBut", size = "large",
"distTable")
)
)
),
server =
function(input, output, session)
)
Can anyboday help me explain what happened between bsModal and fluidPage?
r shiny shinybs
r shiny shinybs
edited Mar 22 at 6:36
Uwe Keim
27.7k32135216
27.7k32135216
asked Mar 22 at 6:33
LiangLiang
10111
10111
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
Because fluidPage is much, much more than a simple tagList.
tagList simply takes it arguments and concatenates them (expecting each argument to be some sort of HTML tag). fluidPage literally generates an entire HTML document with bootstrap dependencies.
Your first example is figuratively "build a house with basement, floor plan and attic" with sidebarLayout explaining the layout of floors and fluidPage being the house. Remove the fluidPage and you're trying to build a house with basement, floor plan and attic, but without the foundation, walls or roof.
Does it mean fluidPage will load all bsModal's dependencies? Would like to know what's the specific dependency?
– Liang
Mar 22 at 7:01
fluidPagedoes not know of its childrens' dependencies, so it does not loadbsModals.bsModalloads its own dependencies. Try typing in the R consolefluidPage,tagListandbsModal, without parenthesis, to view their definitions and look forattachDependencies. For some of the functions you might have to look up the function they are calling to elude their inner workings.
– MrGumble
Mar 22 at 7:10
add a comment |
Your Answer
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55294089%2fbsmodal-works-with-fluidpage-but-not-without-it%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
Because fluidPage is much, much more than a simple tagList.
tagList simply takes it arguments and concatenates them (expecting each argument to be some sort of HTML tag). fluidPage literally generates an entire HTML document with bootstrap dependencies.
Your first example is figuratively "build a house with basement, floor plan and attic" with sidebarLayout explaining the layout of floors and fluidPage being the house. Remove the fluidPage and you're trying to build a house with basement, floor plan and attic, but without the foundation, walls or roof.
Does it mean fluidPage will load all bsModal's dependencies? Would like to know what's the specific dependency?
– Liang
Mar 22 at 7:01
fluidPagedoes not know of its childrens' dependencies, so it does not loadbsModals.bsModalloads its own dependencies. Try typing in the R consolefluidPage,tagListandbsModal, without parenthesis, to view their definitions and look forattachDependencies. For some of the functions you might have to look up the function they are calling to elude their inner workings.
– MrGumble
Mar 22 at 7:10
add a comment |
Because fluidPage is much, much more than a simple tagList.
tagList simply takes it arguments and concatenates them (expecting each argument to be some sort of HTML tag). fluidPage literally generates an entire HTML document with bootstrap dependencies.
Your first example is figuratively "build a house with basement, floor plan and attic" with sidebarLayout explaining the layout of floors and fluidPage being the house. Remove the fluidPage and you're trying to build a house with basement, floor plan and attic, but without the foundation, walls or roof.
Does it mean fluidPage will load all bsModal's dependencies? Would like to know what's the specific dependency?
– Liang
Mar 22 at 7:01
fluidPagedoes not know of its childrens' dependencies, so it does not loadbsModals.bsModalloads its own dependencies. Try typing in the R consolefluidPage,tagListandbsModal, without parenthesis, to view their definitions and look forattachDependencies. For some of the functions you might have to look up the function they are calling to elude their inner workings.
– MrGumble
Mar 22 at 7:10
add a comment |
Because fluidPage is much, much more than a simple tagList.
tagList simply takes it arguments and concatenates them (expecting each argument to be some sort of HTML tag). fluidPage literally generates an entire HTML document with bootstrap dependencies.
Your first example is figuratively "build a house with basement, floor plan and attic" with sidebarLayout explaining the layout of floors and fluidPage being the house. Remove the fluidPage and you're trying to build a house with basement, floor plan and attic, but without the foundation, walls or roof.
Because fluidPage is much, much more than a simple tagList.
tagList simply takes it arguments and concatenates them (expecting each argument to be some sort of HTML tag). fluidPage literally generates an entire HTML document with bootstrap dependencies.
Your first example is figuratively "build a house with basement, floor plan and attic" with sidebarLayout explaining the layout of floors and fluidPage being the house. Remove the fluidPage and you're trying to build a house with basement, floor plan and attic, but without the foundation, walls or roof.
answered Mar 22 at 6:49
MrGumbleMrGumble
2,19811124
2,19811124
Does it mean fluidPage will load all bsModal's dependencies? Would like to know what's the specific dependency?
– Liang
Mar 22 at 7:01
fluidPagedoes not know of its childrens' dependencies, so it does not loadbsModals.bsModalloads its own dependencies. Try typing in the R consolefluidPage,tagListandbsModal, without parenthesis, to view their definitions and look forattachDependencies. For some of the functions you might have to look up the function they are calling to elude their inner workings.
– MrGumble
Mar 22 at 7:10
add a comment |
Does it mean fluidPage will load all bsModal's dependencies? Would like to know what's the specific dependency?
– Liang
Mar 22 at 7:01
fluidPagedoes not know of its childrens' dependencies, so it does not loadbsModals.bsModalloads its own dependencies. Try typing in the R consolefluidPage,tagListandbsModal, without parenthesis, to view their definitions and look forattachDependencies. For some of the functions you might have to look up the function they are calling to elude their inner workings.
– MrGumble
Mar 22 at 7:10
Does it mean fluidPage will load all bsModal's dependencies? Would like to know what's the specific dependency?
– Liang
Mar 22 at 7:01
Does it mean fluidPage will load all bsModal's dependencies? Would like to know what's the specific dependency?
– Liang
Mar 22 at 7:01
fluidPage does not know of its childrens' dependencies, so it does not load bsModals. bsModal loads its own dependencies. Try typing in the R console fluidPage, tagList and bsModal, without parenthesis, to view their definitions and look for attachDependencies. For some of the functions you might have to look up the function they are calling to elude their inner workings.– MrGumble
Mar 22 at 7:10
fluidPage does not know of its childrens' dependencies, so it does not load bsModals. bsModal loads its own dependencies. Try typing in the R console fluidPage, tagList and bsModal, without parenthesis, to view their definitions and look for attachDependencies. For some of the functions you might have to look up the function they are calling to elude their inner workings.– MrGumble
Mar 22 at 7:10
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55294089%2fbsmodal-works-with-fluidpage-but-not-without-it%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown