Skip to content

Allow replacing portions of filearray by a single value #9

@talegari

Description

@talegari

Right now,

library("filearray")
file = tempfile()
fa_obj = filearray_create(file, dimension = c(100, 1), type = "double")
fa_obj[1:10, 1] = 1

throws this error (not surprising):

Error in fa_subsetAssign1(x, i, ..., value = value) : 
  SubsetAssign FileArray `value` length mismatch.

Request: I have an usecase where large portions of filearray need to be replaced by a single value. It would be great to allow this exception. Else, I will have create large arrays in memory and then replace it.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions