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
Hi I just found eemR today and it's a great package!
I wanted to reading in a subset of files from a directory while testing it out. I ran into a problem after reading in multiple files with lapply I wanted to combine them into a single eemlist object. It looks like eem_bind is meant for the job, but it throws an error when a list of eems is passed in. I traced it back and when a list is passed to eem_bind it wraps it in another list, so the class check fails. Changing eem <- list(...) to eem <- c(...) in the first line of eem_bind takes care of it. The reprex below shows the error and the successful bind with eem <- c(...).
I also wrote an import function for a Horiba, and hope to submit it as a pull request in the future. I have to generalize it a little more because I think the file layout can change depending on the CSV export options selected.
Hi I just found eemR today and it's a great package!
I wanted to reading in a subset of files from a directory while testing it out. I ran into a problem after reading in multiple files with
lapply
I wanted to combine them into a single eemlist object. It looks likeeem_bind
is meant for the job, but it throws an error when a list of eems is passed in. I traced it back and when a list is passed toeem_bind
it wraps it in another list, so the class check fails. Changingeem <- list(...)
toeem <- c(...)
in the first line ofeem_bind
takes care of it. The reprex below shows the error and the successful bind witheem <- c(...)
.I also wrote an import function for a Horiba, and hope to submit it as a pull request in the future. I have to generalize it a little more because I think the file layout can change depending on the CSV export options selected.
Created on 2020-01-14 by the reprex package (v0.3.0)
The text was updated successfully, but these errors were encountered: