Giter Club home page Giter Club logo

Comments (3)

Swechhya avatar Swechhya commented on September 1, 2024

Thank you @marciz for reposting the issue. You can download the development version of the package that resolves this issue. I'll close this issue now, if the problem persists in the development version you can reopen the issue again

from excelr.

marciz avatar marciz commented on September 1, 2024

Thanks @Swechhya , it works now
Ultimately I am trying to create table with calculated variable

library(shiny)
library(excelR)
dt <- iris
dt$mysum <- dt$Sepal.Length + dt$Sepal.Width
shinyApp(
  ui = fluidPage(
    excelOutput("table")
  ),
    server = function(input, output, session) {
    rv <- reactiveValues(
      dt = dt
    )
    output$table <- renderExcel(excelTable(data = rv$dt))
    observeEvent(input$table,{
      dt <- excel_to_R(input$table)
      dt$mysum <- dt$Sepal.Length + dt$Sepal.Width
      rv$dt <- dt
    })
  }
)

It works as expected, just small inconvenience from user perspective is that cells selection is lost when table updates (due to new jexcel)

from excelr.

Swechhya avatar Swechhya commented on September 1, 2024

Yes, @marciz I can see that could be the inconvenience from user perspective. You can raise a new issue for that and I'll try to find a better solution(which could take some time) for table updation than currently implemented, until then this could be a workaround solution.

from excelr.

Related Issues (20)

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.