Comments (6)
The issue seems to be in the rhandsontable
function in file rhandsontable.R line 75:
if (!useTypes) {
data = do.call(cbind, lapply(data, function(x) {
if (class(x) == "Date")
as.character(x, format = "%m/%d/%Y")
else as.character(x)
}))
data = as.matrix(data, rownames.force = TRUE)
cols = NULL
}
where one should change as.character(x, format = "%m/%d/%Y")
to format(x, "%m/%d/%Y")
.
from rhandsontable.
Seems like its an easy fix, I had same issue with code after update to 4.3. I just replaced
as.character(data[, x], format = "%m/%d/%Y"), with format(data[, x], format = "%m/%d/%Y")
Not sure if that will break older code, but using trace I quickly tried it and it worked.
from rhandsontable.
Where would one apply this fix to the example provided? It is not at all clear to me.
from rhandsontable.
Hi, I made the fix in the package by downloading it and creating my own package. However it did not fix the issue with the date, I spoke too soon. I fixed warning, but my dates are still getting messed up whenever I update a table. So seems the error is something else. I just went back to 4.2.1, that was the easiest fix.
from rhandsontable.
Seems like its an easy fix, I had same issue with code after update to 4.3. I just replaced as.character(data[, x], format = "%m/%d/%Y"), with format(data[, x], format = "%m/%d/%Y") Not sure if that will break older code, but using trace I quickly tried it and it worked.
Having same issue after switching from R 4.2.2 to 4.3 as well. Seems a compatibility issue?
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
- 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 4
- 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.