Coder Social home page Coder Social logo

Comments (8)

jrowen avatar jrowen commented on June 29, 2024

I just pushed a bunch of updates, and your example appears to be working fine. Could you please pull down the latest version (0.0.2) and let me know if you are still running into errors?

from rhandsontable.

jpmarindiaz avatar jpmarindiaz commented on June 29, 2024

Unfortunately I am getting the same Error:

Error: attempt to set 'colnames' on an object with less than two dimensions

Here is my session info

 sessionInfo()
R version 3.1.3 (2015-03-09)
Platform: x86_64-apple-darwin13.4.0 (64-bit)
Running under: OS X 10.10.2 (Yosemite)

locale:
[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

other attached packages:
[1] rhandsontable_0.0.2 shiny_0.11.1.9004  

loaded via a namespace (and not attached):
 [1] digest_0.6.8      htmltools_0.2.6   htmlwidgets_0.3.3 httpuv_1.3.2     
 [5] jsonlite_0.9.16   magrittr_1.5      mime_0.3          R6_2.0.1         
 [9] Rcpp_0.11.5       rstudio_0.98.1091 rstudioapi_0.3.1  tools_3.1.3      
[13] xtable_1.7-4      yaml_2.1.13

from rhandsontable.

jrowen avatar jrowen commented on June 29, 2024

I'm running the same versions except it's on Linux and rstudio is v0.98.1103. Can you try using traceback to find the source of the error?

from rhandsontable.

jpmarindiaz avatar jpmarindiaz commented on June 29, 2024

I am not familiar with traceback, but I will try to take a look.
I also tried it in my linux machine and I get the same error.

from rhandsontable.

jpmarindiaz avatar jpmarindiaz commented on June 29, 2024

I was playing around and noticed that the error only shows up only when I use: useTypes = FALSE.
If I use rhandsontable(DF, selectCallback = TRUE) in the example above I don't see the colnames error anymore.

from rhandsontable.

jrowen avatar jrowen commented on June 29, 2024

The error might be coming from the function that creates an R data.frame
from the widget data. You could try to use debug(toR) to step through the
conversion and identify the problem. I'm still unable to reproduce the
error.

from rhandsontable.

jrowen avatar jrowen commented on June 29, 2024

I just pushed some updates related to column and row add/removes. Previously, when editing columns and rows, I saw a message similar to the one you mentioned. Could you retest with this latest update and let me know if you are still running into problems? Thanks.

from rhandsontable.

jrowen avatar jrowen commented on June 29, 2024

I'm going to close this issue, but please re-open if you are still seeing errors.

from rhandsontable.

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.