Code Monkey home page Code Monkey logo

shinydeveloperconference's Introduction

ShinyDeveloperConference

Materials collected from the First Shiny Developer Conference Palo Alto, CA January 30-31 2016

shinydeveloperconference's People

Contributors

garrettgman avatar jcheng5 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

shinydeveloperconference's Issues

Help for R -- Error in FUN(X[[i]], ...) : object 'descr' not found

Hello,

I am working on my project in RStudio using Rmarkdown and I got the following error:
Error in FUN(X[[i]], ...) : object 'descr' not found
A due date will be today. Please help!
Here is the code:

# First save the results
dataset_stats_by_Grade <- by(data = dataset, INDICES = dataset$Grade, 
                    FUN = descr, stats = c("mean", "sd", "min", "med", "max"),transpose = TRUE)

# Then use view(), like so:
View(dataset_stats_by_Grade, method = "pander", style = "rmarkdown")
When I run, I found the following error:
Error in FUN(X[[i]], ...) : object 'descr' not found 

Thanks!!

Unable to clone repository on Windows due to invalid folder name - "/solutions*"

When trying to clone on Windows I receive the following error:

$ git clone https://github.com/rstudio/ShinyDeveloperConference.git
Cloning into 'ShinyDeveloperConference'...
remote: Counting objects: 411, done.
remote: Total 411 (delta 0), reused 0 (delta 0), pack-reused 411
Receiving objects: 100% (411/411), 16.25 MiB | 973.00 KiB/s, done.
Resolving deltas: 100% (43/43), done.
Checking connectivity... done.
fatal: cannot create directory at 'Modules/Exercise-1/solution': Invalid argument*
warning: Clone succeeded, but checkout failed.
You can inspect what was checked out with 'git status'
and retry the checkout with 'git checkout -f HEAD'

We can't have folder names with * on it.

Reactivity/solution_05b uses rbind more than necessary

Is there a reason that the following doesn't demonstrate a more efficient solution?

  rv <- reactiveValues(points = cars)
  
  # Same as Solution_05a.R, but instead of keeping
  # track of the single most recent point, we accumulate
  # all previous points using rbind().
  observeEvent(input$click, {
    if (!is.null(input$click)) {
      thisPoint <- data.frame(
        speed = input$click$x,
        dist = input$click$y
      )
      rv$points <- rbind(rv$points, thisPoint)
    }
  })
  
  output$plot <- renderPlot({
    df <- rv$points
    plot(df, pch = 19)
    
    model <- lm(dist ~ speed, df)
    abline(model)
  })
}

As Joe Cheng does, I'd like to recognize that while rbind works fairly quickly usually, it seems like this demonstrates how things could be done slightly more efficiently in general

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.