Comments (8)
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.
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.
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.
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.
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.
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.
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.
I'm going to close this issue, but please re-open if you are still seeing errors.
from rhandsontable.
Related Issues (20)
- Put in red cells modified
- NULL input for rhandsontable
- using colWidths argument produces duplicate columns HOT 2
- Option to replace the checkbox with fancier shinyWidget item ?
- How to deselect row? HOT 1
- Character column transformed to numeric in hot_to_r
- rhandsontable works locally, but flickering on cloud HOT 2
- Prevent auto arranging rows while editing with column sorting enabled
- Issue when more than 1 character in dropdown
- I did not find any document on Collapsing and expanding rows using rhandsontable in Rshiny. Or Do we even have this functionality? HOT 2
- Borders not updated
- hot_to_r fails to copy date data HOT 6
- Show different colHeaders than are used internally/in the code HOT 1
- Specifying a column type as numericInput with up/down arrows
- Custom dropdown menus
- How to enable paid features - formula support
- Potential conflict with dygraphs, moment.js
- `Download to CSV` function does not work if empty table values HOT 2
- Rhandsontable bouncing when processing a slow calculation
- Added rows repeat row name if initial data has only one row
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rhandsontable.