Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug - Excel range setting not working when importing multiple sheets #9370

Open
jkmusyoka opened this issue Jan 17, 2025 · 1 comment
Open

Comments

@jkmusyoka
Copy link
Contributor

jkmusyoka commented Jan 17, 2025

@N-thony I would like to report a bug in R-Instat 0.8.1.

I am using the "Import from file" dialog to import a range of cells in multiple sheets as shown below.

Image

The corresponding R code, as shown below, is actually missing the range argument.

petaukemissingdatamoffat1 <- rio::import_list(file="C:/Users/jkmus/Downloads/petauke missing data moffat (1).xlsx", guess_max=Inf, na=c("",""), which=c(4,5,6)

However when I edited the R command to include the range argument, the importing process works OK.

petaukemissingdatamoffat1 <- rio::import_list(file="C:/Users/jkmus/Downloads/petauke missing data moffat (1).xlsx", guess_max=Inf, range="A4:G35", which=c(4,5,6), na=c("",""))

Since the R code works, I believe this is a small bug to fix to get the dialog working for multiple sheets?

Over to you to allocate.

@rdstern rdstern added this to the 0.8.2 milestone Jan 17, 2025
@rdstern
Copy link
Collaborator

rdstern commented Jan 17, 2025

@jkmusyoka my understanding is that the range addition does work when a single Excel sheet is imported. It goes wrong when the import is for multiple sheets.

Did I understand that correctly?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants