Spaces:
Runtime error
Runtime error
Hot fix Server.R
Browse filesFix Projection Points selection
744 unmodified lines745746747748749750751752753754755756757758759760761744 unmodified lines# Create a reduced window listreduced_window_list <- vector(mode = "list", length = length(idx_window_limits)-1)# Populate the first element of the list with the idx of the first window.reduced_window_list[[1]] <- c(unlist_window_indices[idx_window_limits[1]],unlist_window_indices[idx_window_limits[1+1]])# Populate the rest of the listfor (i in 2:(length(idx_window_limits)-1)){reduced_window_list[[i]]<- c(#unlist_window_indices[idx_window_limits[i]+1],#unlist_window_indices[idx_window_limits[i+1]]as.Date(isolate(tsdf())$timeindex[unlist_window_indices[idx_window_limits[i]+1]]),as.Date(isolate(tsdf())$timeindex[unlist_window_indices[idx_window_limits[i+1]]]))}reduced_window_list})744 unmodified lines745746747748749750751752753754755756757758759760761762763744 unmodified lines# Create a reduced window listreduced_window_list <- vector(mode = "list", length = length(idx_window_limits)-1)# Populate the first element of the list with the idx of the first window.reduced_window_list[[1]] = c(isolate(tsdf())$timeindex[unlist_window_indices[idx_window_limits[1]+1]],isolate(tsdf())$timeindex[unlist_window_indices[idx_window_limits[2]]])# Populate the rest of the listfor (i in 2:(length(idx_window_limits)-1)){reduced_window_list[[i]]<- c(#unlist_window_indices[idx_window_limits[i]+1],#unlist_window_indices[idx_window_limits[i+1]]isolate(tsdf())$timeindex[unlist_window_indices[idx_window_limits[i]+1]],isolate(tsdf())$timeindex[unlist_window_indices[idx_window_limits[i+1]]])}reduced_window_list})
r_shiny_app/server.R+7-5