ehsan jahanpour
ehsan jahanpour
  • 5
  • 206 321

Video

Improving R execution speed by profiling the script and finding the bottleneck
zhlédnutí 316Před 4 lety
This video is using profvis package in R to find the bottleneck in Rscripts and improve execution speed by changing for loop structures and parallel computing using foreach library. The technical details on this video are available in two medium blogs: The Good, The Bad, The Ugly in R: medium.com/@jahanpour.ehsan/the-good-the-bad-the-ugly-in-r-72e55b2219cc You need regular check-ups, so do your...
Rstudio Tutorial: Deploying the web application developed by Rstudio over shinyapp server
zhlédnutí 40KPřed 9 lety
In this video I show how to deploy a web application that is developed by shiny package in rstudio. I use the "shinyapps" package in rstudio to directly upload the application onto the shinyapps.io server. You can find the the steps to build this application at czcams.com/video/Gyrfsrd4zK0/video.html. The application itself is available at: Firstshinyapp.shinyapps.io/firstShinyApp/.
Rstudio Tutorial Part 1: How to write a web application using RStudio
zhlédnutí 2,8KPřed 9 lety
This Tutorial provides you with simple and step by step guide to develop a simple shiny application from scratch. I only assume that you have already installed Rstudio on your machine. My OS is Linux Ubuntu but the steps are similar for other OS such as windows, etc
Rstudio Tutorial: developing a web application with Shiny package
zhlédnutí 163KPřed 9 lety
This tutorial provides a simple, step by step guide to develop a web application from scratch using Rstudio. Rstudio Shiny enables you to conduct statistical analyses by R and share it as an interactive HTML page.

Komentáře

  • @user-cr6mc3ww1l
    @user-cr6mc3ww1l Před rokem

    Thank you! It was incredibly helpful and straightforward

  • @imouranasoumanou7954

    great tutorial, thank you

  • @chacmool2581
    @chacmool2581 Před rokem

    Does this skill land jobs?

  • @salmabanane5615
    @salmabanane5615 Před rokem

    Hello, thanks for this tutorial it's so helpful, and i want to know if possible how can i create a shiny app if i need to use a function to generate the table where i have all the informations i need to use for my histogram Cordially

  • @peymaneftekhari5248

    hi mr Ehsan. I am peyman . Is it possible to send me working directory that you copy and paste? kind regards

  • @sandipdixitmusic
    @sandipdixitmusic Před 2 lety

    JVM could not be found - I am getting this error

  • @cime_hime
    @cime_hime Před 3 lety

    it helps a lot, thank youu som much🥺

  • @omidghasemi1401
    @omidghasemi1401 Před 3 lety

    Thanks Ehsan. It was an amazing tutorial.

  • @aneeshkumar6570
    @aneeshkumar6570 Před 3 lety

    Very nice presentation.u r covering so much of shiny codes in a small presentation😀

  • @LegendRein
    @LegendRein Před 4 lety

    I actually wrote it like this ( if you only want to use 1 script) library(shiny) ui <- fluidPage( pageWithSidebar( headerPanel("My Shiny app!"), sidebarPanel( selectInput("Distribution", "Please Select Distribution Type", choices = c("Normal", "Exponential")), sliderInput("sampleSize", "Please Select Sample Size", min = 100, max = 5000, value = 1000, step = 100), conditionalPanel(condition = "input.Distribution == 'Normal'", textInput("Mean", "Please Select the mean", 10), textInput("SD", "Please Select Standard Deviation", 3)), conditionalPanel(condition = "input.Distribution == 'Exponential'", textInput("Lambda", "Please Select Lambda:",1)) ), mainPanel( plotOutput("myPlot") ) ) ) server <- function(input, output, session) { output$myPlot <- renderPlot({ distType <- input$Distribution size <- input$sampleSize if(distType == "Normal"){ randomVec <- rnorm(size, mean = as.numeric(input$Mean), sd = as.numeric(input$SD)) } else{ randomVec <- rexp(size, rate = 1/as.numeric(input$Lambda)) } hist(randomVec, col = "light blue") }) } shinyApp(ui, server)

  • @michaelmutekeri8770
    @michaelmutekeri8770 Před 4 lety

    thanx mate for the introduction, also provide the source codes for reference like in github or on a link. Thanks Daniel Noon, please refer to his source code to fix the confusion of the mix ups between server and UI

  • @sebastianfranciscotacoraam4322

    Great tutorial! I did really helped me to understand Shiny. Thanks!!!

  • @solibozorgmehr6524
    @solibozorgmehr6524 Před 4 lety

    Can someone help me with this error when I deploy my app: Error: Unhandled Exception: Child Task 704112906 failed: Error parsing manifest: Unable to determine package source for Bioconductor package: Repository must be specified -_-

  • @ricardocontreras
    @ricardocontreras Před 4 lety

    can i have my own domain for my shiny apps?

    • @Christunaa
      @Christunaa Před 4 lety

      Yes. Shiny.rstudio allows you to host a website on their server. Look into it on their site

  • @danielnoon8632
    @danielnoon8632 Před 4 lety

    Thanks for the tutorial. It worked for me but I reached some difficulties at some point. Here is the code which worked for me. After setting my working directory, I made two files; ui.R & Server.R. The User Interface file contained: library(shiny) shinyUI( pageWithSidebar( headerPanel("My First Shiny App"), sidebarPanel( selectInput("Distribution", "Please Select Distribution Type", choices = c("Normal", "Exponential")), sliderInput("sampleSize", "Please select sample size", min = 100, max = 5000, value = 1000, step = 100), conditionalPanel(condition = "input.Distribution == 'Normal'", textInput("mean", "Please select the mean", 10), textInput("sd", "Please select the Standard Deviation", 3)), conditionalPanel(condition = "input.Distribution == 'Exponential'", textInput("Lamda", "Please select Exponential Lamda", 1))), mainPanel( plotOutput("myPlot") ) ) ) The Server file contained: library(shiny) shinyServer( function(input, output, session) { output$myPlot <- renderPlot({ distType <- input$Distribution size <- input$sampleSize if(distType == "Normal"){ randomVec <- rnorm(size, mean = as.numeric(input$mean), sd = as.numeric(input$sd)) } else{ randomVec <- rexp(size, rate = 1/as.numeric(input$Lamda)) } hist(randomVec, col = "blue") } ) } )

  • @sauravjha9422
    @sauravjha9422 Před 4 lety

    Hey how to do sentiment analysis of any excel file using shiny.please help!

  • @joannan6855
    @joannan6855 Před 4 lety

    Nice tutorial, thank you!

  • @machineburning
    @machineburning Před 4 lety

    Good introduction to Shiny. Thanks for this!

  • @closedballfinance9679

    shiny apps changed to rsconnect

  • @sara66
    @sara66 Před 5 lety

    Ehsan! Well done!

  • @KMery
    @KMery Před 5 lety

    Muchas gracias! me ha resultado muy práctico, saludos.-

  • @a1primescreen174
    @a1primescreen174 Před 5 lety

    Actually I got error = could not find function "siderbarPanel"

    • @TimmmTim
      @TimmmTim Před 5 lety

      be sure you named it well and saved it after renaming it

  • @keshavgayakawad3986
    @keshavgayakawad3986 Před 5 lety

    Hi sir... I hosted a shiny application in Ubuntu Shiny server and it's working fine in that machine. But when I wanted to access it from different machine I'm getting error 'site can't be reached'. It will be great help if you help me in this. Thanks

  • @nikhilmuthukrishnan7222

    video cursor blocking important code

  • @user-bo1pf1sq3l
    @user-bo1pf1sq3l Před 5 lety

    Thank you for your video. It helps me a lot

  • @pavanthanuj90
    @pavanthanuj90 Před 5 lety

    Is it possible to only draw a histogram or can we make ggplots????

  • @JamesWattMusic
    @JamesWattMusic Před 5 lety

    what are the overcharge fees if you go over your allowed hours? for a paid service.

  • @sunilkumargupta7980
    @sunilkumargupta7980 Před 6 lety

    Can you please explain, How to uploaded data every time when we run the app??

  • @egresadounimag
    @egresadounimag Před 6 lety

    Thanks ehsan for you excellent tutorial.

  • @D3_Business_Analytics

    What a remarkable package it is.....I just got rid of 1000 lines of painful code in HTML/PHP/Bootstrap......just make a simple DONUT chart !!!!

  • @isaiasmorales501
    @isaiasmorales501 Před 6 lety

    Thanks, very useful tutorial.

  • @RaufKhan-bn6hl
    @RaufKhan-bn6hl Před 6 lety

    Please help or give me your contact or email I need to submit my project.please help

    • @ehsanjahanpour797
      @ehsanjahanpour797 Před 6 lety

      Hi Rauf, Please send me the error you are getting via email please: my email is jahanpour.ehsan@gmail.com. Also, have you tried deploying through Rstudio Connect? Connect has made the shiny app development much simpler now: www.rstudio.com/products/connect/

  • @RaufKhan-bn6hl
    @RaufKhan-bn6hl Před 6 lety

    I have downloaded devtools now when I download devtool::install_github('rstudio/shinyapps') I am getting installation failed.

  • @bartlettcantor374
    @bartlettcantor374 Před 6 lety

    ERROR: argument "ui" is missing, with no default, not sure what i did wrong

  • @ujjwalchaudhary4156
    @ujjwalchaudhary4156 Před 6 lety

    He din't interchange anything between shinyUI & server files, he just renamed the shinyUI to shinyServer and forgot to explain it or he smartly did it because the code will through the error and he will receive the comments :) , although very good video thanks :)

  • @dulcebick
    @dulcebick Před 6 lety

    I have this ERROR: argument "ui" is missing, with no default :(

    • @ehsanjahanpour797
      @ehsanjahanpour797 Před 6 lety

      dulce bick do you have your codes on a github?

    • @dulcebick
      @dulcebick Před 6 lety

      I solved, don´t problem..

    • @dulcebick
      @dulcebick Před 6 lety

      No, je is for a company this work, I solved the problem, but I have a doubt, If I have a code finished without shiny, and I would like to have an interface to help to choose the file and put a name to a new file created, how I can do it using shiny? if the read.xlsx and write.csv is into the same code?

    • @luclof
      @luclof Před 6 lety

      I need the solution to this problem! Please!

    • @dulcebick
      @dulcebick Před 6 lety

      in specific?

  • @varayush
    @varayush Před 6 lety

    Hi just wanted to check if we deploy the shiny app on our own server, is that a problem. any legal issue pertaining to that. can we still enjoy the shiny package in r when hosting it on our server without shiny server.

    • @ehsanjahanpour797
      @ehsanjahanpour797 Před 6 lety

      Ayush, I think you can deploy shiny app on your own server, but your server should always be running the shiny application and listen to the request on that server all the time.

  • @lastnamefirstname8843

    Creating web apps with RShiny clicked in my head when I saw this video, and I'm going to say it was because of the quality teaching. Great vid!

  • @ansh47
    @ansh47 Před 7 lety

    ERROR:object 'size' not found, how to resolve this error?

  • @andd1994
    @andd1994 Před 7 lety

    Thanks a lot, man!

  • @scoobydoo462
    @scoobydoo462 Před 7 lety

    please how to correct this error (the html page keep closing when i runApp()) Warning: Error in registerShinyDebugHook: attempt to set an attribute on NULL Stack trace (innermost first): 1: runApp Error in registerShinyDebugHook(params) : attempt to set an attribute on NULL

    • @babccn
      @babccn Před 6 lety

      hey.. facing the same issue. did you figure it out?

    • @TimmmTim
      @TimmmTim Před 5 lety

      @@babccn same

  • @shaz4107
    @shaz4107 Před 7 lety

    Hi please explain how you mixed the ui and server?

  • @MrCHEMAI44
    @MrCHEMAI44 Před 7 lety

    He interchanged the Codes, that is why I have been receiving an error from y side.

  • @dheerajkura5914
    @dheerajkura5914 Před 7 lety

    Very Nice Explanation..

  • @UddhavArote
    @UddhavArote Před 7 lety

    Good tutorial to start with Shiny directly!

  • @tahirahabib8826
    @tahirahabib8826 Před 7 lety

    Hi ehsan ! how can I connect php and rstudio ,, i actually want to display my rstudio graphs and data on my website that i have created using local server xampp

    • @ehsanjahanpour797
      @ehsanjahanpour797 Před 6 lety

      Tahira, I hope this was not too late :) I have not connected PHP to Rshiny application. However, if you are only looking for a way to visualize data in your own website, I Would recommend using APIs. Leaflet, plotly and other JS tools gives you the option

    • @4syrian
      @4syrian Před 5 lety

      Hi ehsan, can provide us some example

  • @elaafshaikh7065
    @elaafshaikh7065 Před 7 lety

    how can i connect rstudio with php i actually want to display my rstudio graphs and data onto my website,, i am using local server xampp

  • @elaafshaikh7065
    @elaafshaikh7065 Před 7 lety

    can i ask you how to connect php in rstudio?

    • @ehsanjahanpour797
      @ehsanjahanpour797 Před 7 lety

      Elaaf, I have never included Rstudio elements into PHP codes. Have you tried using Rmarkdown? Rmarkdown is used to create HTML pages and transfer that your host.

  • @olaoyeanthonysomide9528

    I suggest you update this video. The use of shinyapps package has been depricated. shiny.rstudio.com/articles/shinyapps.html

  • @singlebinary
    @singlebinary Před 8 lety

    Be aware that he switched the code in UI and Server. If you follow his steps, the code will not work. Read comments below before attempting to follow his tutorial.

    • @angelsface200
      @angelsface200 Před 8 lety

      Thanks for the heads up!

    • @ehsanjahanpour797
      @ehsanjahanpour797 Před 7 lety

      Thanks Rohit. I will go ahead and review the tutorial

    • @singlebinary
      @singlebinary Před 7 lety

      I must add, Ehsan thank you for putting this tutorial together. It takes a lot of effort and time so **really** appreciate it.

    • @the_feature_selector859
      @the_feature_selector859 Před 7 lety

      Im still confused on how to fix it

    • @shaz4107
      @shaz4107 Před 7 lety

      Can you explain how he mixed it?