You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Then I pass and open the RDS object from another device, it seems that absolute path dependencies of the library DT of the first device are saved in datatable_obj (datatable_obj$dependencies), which not correspond to the absolute path of the DT library of the second device.
We suggest to using parametric and relative path to solve this, in this manner users do not have to update the path every time such objects are opened from different devices.
The text was updated successfully, but these errors were encountered:
If I run the following simple code:
library(DT)
library(htmlwidgets)
data <- iris
datatable_obj = datatable(data, options = list(pageLength = 5)) %>%
formatStyle(
'Species',
target = 'row',
backgroundColor = styleEqual(
unique(data$Species),
c('lightblue', 'lightgreen', 'lightpink')
)
)
datatable_obj$dependencies
save(object = datatable_obj,file = "datatable.RData")
Then I pass and open the RDS object from another device, it seems that absolute path dependencies of the library DT of the first device are saved in datatable_obj (datatable_obj$dependencies), which not correspond to the absolute path of the DT library of the second device.
We suggest to using parametric and relative path to solve this, in this manner users do not have to update the path every time such objects are opened from different devices.
The text was updated successfully, but these errors were encountered: