Questions tagged [shiny]

0

votes
0

answer
5

Views

The plot is not displayed on my R shiny app

I am trying to make a Shiny app that generates plot of (sample size) vs. (power). My app correctly displays all the options for user input, but it fails to display the plot that I want the system to generate. Could you help me with this? Below are my code: ui
HDC
1

votes
0

answer
7

Views
1

votes
2

answer
839

Views

Shiny dashboard and DT table not showing

I have a dashboard where I would like to show a table, but I cant figure out why my table is not showing. If I replace the table for example with some text, h2(....) it does show. I would like to click on "Species" and have the table show on the right when clicking it. library(shiny) library(shinyd...
MLEN
1

votes
0

answer
14

Views

problem with the display about the dashboard

I want to create a dashboard in R. But I don't understand where I can see this. On the net I see a lot of code to create "beautiful" dashboards but when I try it, I can't see the dashboard and I don't know how to do it.
Raph
1

votes
1

answer
299

Views

R shiny summary_table out does not render in html

I have simple application to calculate summary , the summary part works fine. how ever i want output the results back to the UI as html. I cant get it to work with renderUI and htmloutput. if i use rendertable and tableoutput i get a partial output with headers missing and html tables are not resolv...
Ashr
1

votes
1

answer
192

Views

Accessing row clicks in data table in Shiny modal

This is cross-posted from here (https://community.rstudio.com/t/accessing-row-clicks-in-data-table-in-modal/8961), no replies yet. I'm drawing a data table using the DT package in Shiny inside a modal. This is great for my UI, but I want users to be able to click it and access which row they clicke...
Chris Beeley
1

votes
1

answer
370

Views

How to update data in shiny app periodically?

I have deployed shiny server with several shiny apps. Each app is used as online dashboard which should be refreshed periodically (e.g. every 2 hours or at 10pm every day) according to my plan. Now the server code for each application looks like ## server.R data
NRJ
1

votes
2

answer
107

Views

Shiny customize selectInput/selectizeInput

I want my Shiny select input to: Has no label Has customized background colour: #2f2d57 Has placeholder Enable users to type-in and select However, I can't make the app follow the above 4 rules together. My codes are below: Data: table
Mr369
1

votes
1

answer
30

Views

R Shiny - How to display feedback message if two inputs have the same value (using shinyFeedback)

I have two selectizeInputs (state1 and state2) in my app that have the same set of choices. When the user clicks the actionButton, I would like to compare the values of state1 and state2 and display a feedback message to the user if they are the same. Both selectizeInputs are initialised with the p...
user51462
0

votes
0

answer
8

Views

r2d3 not loading my graph on Shiny implementation, but it's working fine on my regular html

I have a shiny app, and I'm trying to include d3 graphs using r2d3. When I test my app on a regular html/js environment, the app works properly. But when I use r2d3 on Rstudio, and load the js that has my d3 code, no graph shows up. ¿Has anyone experienced this before?
0

votes
0

answer
19

Views

Deleting row from data.frame ( R shiny)

I'm trying to program a shiny app which reads your *.csv file and generates a plot out of this file. The file has a header and bottom containing several lines, which the user should be able to delete within the shiny app. So basically this edited file is the source for the plot. I'm not sure how to...
Dennis
0

votes
0

answer
5

Views

Customise title in renderTable and make it reactive R Shiny

When I use paste0() to add a reactive value, it tells me that I'm trying to do something that can only be done in a reactive environment. Can someone show me how to make the title reactive? this code gives a tiny title in renderTable. How can I customise with colour, size, font, centre? Thanks! shin...
victorem404
0

votes
1

answer
18

Views

R Shiny - Removing UI using jQuery and onclick event handler

The app below contains an actionButton Add box that creates a box when clicked. Each box has a AdminLTE data-widget = "remove" attribute, so each box has a remove button that is placed in the box-tools div in the box-header. At the moment, clicking the remove button for a box only hides the box rat...
user51462
1

votes
1

answer
1.8k

Views

R Shiny Dashboard Infobox over two lines

I want to have an infobox show text over two lines. For example, if I were to combine html and and shiny (like one does for the popups in leaflet): output$myInfoBox
user1357015
1

votes
1

answer
656

Views

Plain Dygraphs JavaScript options in R/Shiny

Is there a way to use plain Dygraphs JavaScript options in R (and Shiny more in specific)? http://dygraphs.com/options.html I think the JS() function from the htmlwidgets package can be of use, but am not sure. For example, I want to use highlightSeriesOpts (cf. first link) to highlight individual s...
i.p.freely
1

votes
1

answer
1.9k

Views

Shiny: overlapping of renderPlot with fluidrow

In the Shiny example http://shiny.rstudio.com/gallery/plot-plus-three-columns.html if we replace the code part in server.R print(p) }) by print(p) }, height = 600) we get an overlapping of the graphic window and the inputs below integrated with fluidrow. How can we avoid such an overlapping when he...
JPL
1

votes
1

answer
114

Views

Shiny selectizeInput only working on tabPanel 1

My shiny app has multiple tabPanels and I want to have a selectizeInput on each of these. However, the input only appears to update on the first panel - ie selectizeInput appears to work only on the first tab. The code below has two identical selectizeInputs which are the updated. Apologies if th...
Rtist
1

votes
1

answer
949

Views

R Shiny error: could not find function “shell”

My Shiny app works fine locally, but when I deploy it on shinyapps.io, I face the following error: Error: could not find function "shell" However, shell is an R built-in function (base package). So I don't really see what causes the error here and how to fix it? Please see follow-up question here
Antoine
1

votes
2

answer
1.7k

Views

Center custom data table container column headers in Shiny

I'm following example 2.5 here: https://rstudio.github.io/DT/ to create a custom data table container in shiny. The example seems to work fine on its own. But when I try to run it in a shiny app, the Sepal and Petal headers are not centered. Please help. Thanks. library(shiny) runApp(list( ui =...
Ben Hansen
1

votes
2

answer
840

Views

How to add bigger textInput box in R Shiny?

I am creating a Shiny App, where in one part I need the user to input a text summary, but the default size of text input box appearing in the App is very small. difficult for users to enter a summary of 3-4 lines. Could you help me with the script that can make the text input box bigger. really appr...
Sirshendu Maiti
1

votes
1

answer
230

Views

Determine user credentials in shinyapps.io (not Pro)

I have built a simple app in shinyapps.io and I am bringing in data from a MySQL hosted table successfully. I would like to only show data that is relevant to the user that is viewing the app and hide data that does not relate to them. If the user has not logged into shinyapps.io then NULL will be...
GivenX
1

votes
1

answer
2.4k

Views

Getting error while executing R code “Cannot coerce type 'environment' to vector of type 'character'”

require(shiny) setwd("C://Users//Harshad//Desktop//Equiskill - BA") cars
Harshad Patil
1

votes
1

answer
343

Views

R Shiny Input Reactivity Error on Drag-and-Drop

Im currently creating a R Shiny app with some custom js to provide drag and drop functionality. While the drag and drop works perfectly for a single file, when I reset it using shinyJS, uploading the same file again does not work properly. I understand that this is because the onchange function is n...
Syed Jafri
1

votes
1

answer
645

Views

checking if word exist in english dictionary r

I'm performing some text analysis on mutliple resume to generate a wordcloud using wordcloud package along with tm package for preprocessing the corpus of document in R. The problems i'm facing are : Checking whether the word in corpus have some meaning ie. it belongs to english dictionary. How to...
test user
1

votes
1

answer
1.1k

Views

Making a dynamic CheckboxGroupInput with shiny

I am trying to make a checkbox to be able to filter the dataset by years. However not every variable has all the data for every year so I wanted only the years where the variable has data for shown in the ui. Sadly, after splitting my code into conditional panels the buttons do not filter any longer...
Vasilios Vasileiou
1

votes
1

answer
1k

Views

Display popup modal dialogue /popup onclicking the row in shiny dashboard

I have a data table which is being rendered using DT:: rendertableOutput in my shiny dashboard. The Columns are A, B,C,D. Now I would like to display only column A and B on opening the Shiny app and later If I click on the particular row on the displayed datatable I need to bring out a pop up which...
Tareva
1

votes
1

answer
102

Views

Can I run an R Shiny app that is on a Github Enterprise repo?

My company recently signed up for Github enterprise. I'm in the process of moving my Shiny apps there and can't quite figure out how to launch the app. The function runGitHub calls: https://github.com/repoName, but I somehow need it to point to: https://github.companyName.org/repoName Is this possib...
Mark
1

votes
1

answer
768

Views

What is the Shiny default font?

What is the Shiny default font? Where to look it up? library(shiny) ui
Joe
1

votes
1

answer
121

Views

Remove label from input field

I have a shiny app like this: library(shiny) UI
Henk Straten
1

votes
1

answer
587

Views

Icons not loading (empty image) in R Leaflet with Shiny

[R-3.4.3 64-bit, RStudio, shinydashboard_0.6.1, shiny_1.0.5, leaflet.extras_0.2, Chrome] I'm making icons to use in R/Leaflet with Shiny and all im getting is the below, but i've no idea why: This is using the toy example from here: oceanIcons % addTiles() %>% # Select from oceanIcons based on df$t...
Sam
1

votes
1

answer
133

Views

How to sync ShinyApps with MySQL From Localhost to Public

I am currently developing an app using R Shiny and finishing my ShinyApps, now I am trying to deploy the apps to Shinyapps.io so multiple user can reach and use it, but I have an issue for the deployment. my Apps is about a Pharmacy management, it controls a CRUD operation, so clearly it is binded w...
1

votes
2

answer
641

Views

R shiny selectinput with database values

I am trying to fetch the values in the dropdown from database:- Server.R sqlOutput
ChinB
1

votes
1

answer
260

Views

Force shiny app to display desktop view on mobile devices

I'm deploying a shiny app to shinyapps.io. It's designed to be used with desktop browsers but when accessing the app on a mobile device it changes to mobile view (which is cool but not useful in this case). Any idea how to force desktop view for shiny apps? I tried this answer: How to force desktop...
ceefel
1

votes
2

answer
331

Views

local image in shiny app without img(src())?

I would like to include a local image file in my shiny app, following these instructions: Embedding Image in Shiny App However, my IT networks security, for some reason, prevents R from reading that image. I can confirm it is an IT security blockage, because the same exact code and file/directory st...
Lee88
1

votes
1

answer
133

Views

Access Javascript Variable in R Shiny Application

I want to know if it is possible to use variables created in runjs() in my R code. For example will I be able to access the variable today_var outside the runjs() function for further analysis. if (interactive()) { library(shiny) shinyApp( ui = fluidPage( useShinyjs(), actionButton("btn", "Click m...
kay_arr
1

votes
1

answer
372

Views

pickerInput default select all choices

I have about a dozen pickerInputs, and each time I run my shiny app, everything is set to nothing selected. I have to manually select everything before the output works which is a little annoying. Is there a way for pickerInput to default to "select all" each time the app runs?
mistersunnyd
1

votes
1

answer
25

Views

run shiny app for specified amount of time

I want to run a shinyApp only for like a hour and then I want my app to stop automatically running instead of hand-clicking on the red STOP button in Rstudio. Is that possible ?
FFL75
1

votes
3

answer
57

Views

make animated slider go backwards (right to left) to simulate a countdown?

I want to animate a shiny slider so that it goes backwards automatically when the play button is hit, from right to left. I can't find a way to do this. The slider would mimic a time countdown of 10 seconds, this is my current code, it goes the wrong way. I tried unsuccessfully to mess with the step...
agenis
0

votes
0

answer
4

Views

How to include an action link into a button's label?

My goal is to include an action link (that displays a help text) into the label of a selectInput button. library(shiny) ui
Joe
0

votes
0

answer
13

Views

R Shiny - Error: Error in [.tbl_df: object 'input' not found

I'm building a simple shiny app, based on a table. (Sample Data at the end). Here's my initial Server setup: Update: Moved the reactive() inside the function(input, output) { - but still getting a blank plot, with Warning: Length of logical index must be 1 or 56, not 0 errors. ## Server ---- functi...
papelr

View additional questions

Смотреть фильмы онлайн бабушка легкого поведения 2 фильм бесплатно