Problem with import.meas, Error: Fehler in `$<-.data.frame`(`*tmp*`, "Time"....
Quote from Carolin on January 6, 2021, 2:41 pmHello together,
I currently try to import my converted (in mmol/l) raw data but I do not succed. I'mgetting the following error message:
Error in `$<-.data.frame`(`*tmp*`, "Time", value = c(1L, 2L, 3L, 4L, 5L, : replacement has 1084 rows, data has 931 I did intermittend flow respirometry using a swim tunnel (Loligo systems) and Autoresp. That means, I only used one chamber and in the raw data the values of the not used chambers (7) a replaced with NA. This is the code I used:
convert.respirometry(import.file = "05.11.2020_100%_#29_raw_Punkt.txt",
export.file = "05.11.2020_100%_#29_raw_mmol.txt", n.chamber = 8,
logger = "AutoResp", from="percent_a.s.",to= "mmol_per_l",
sal=31.5,atm_pres = 1028.0)info.data<-input.info(ID=c(29, 0, 0, 0, 0, 0, 0, 0),Mass=c(49.2, 0, 0, 0, 0, 0, 0, 0),
Volume = c(5480, 5480, 5480, 5480, 5480, 5480, 5480, 5480),
DO.unit = c("mmol/L"))meas.data<-import.meas(file = "05.11.2020_100%_#29_raw_mmol_Dtest.txt", info.data,
n.chamber =c(8),logger=c("AutoResp"),
plot.temperature = FALSE, plot.oxygen = FALSE,
date.format = "DMY",
set.date.time = "dd/mm/yyyy/hh:mm:ss",
start.measure = "16:34:00", stop.measure = "17:00:00",
meas.to.wait = 130)
I would be really greatful for help!
Thank you!
Cheers Caro
Hello together,
I currently try to import my converted (in mmol/l) raw data but I do not succed. I'mgetting the following error message:
Error in `$<-.data.frame`(`*tmp*`, "Time", value = c(1L, 2L, 3L, 4L, 5L, :
replacement has 1084 rows, data has 931
I did intermittend flow respirometry using a swim tunnel (Loligo systems) and Autoresp.
That means, I only used one chamber and in the raw data the values of the not used chambers (7) a replaced with NA.
This is the code I used:
convert.respirometry(import.file = "05.11.2020_100%_#29_raw_Punkt.txt",
export.file = "05.11.2020_100%_#29_raw_mmol.txt", n.chamber = 8,
logger = "AutoResp", from="percent_a.s.",to= "mmol_per_l",
sal=31.5,atm_pres = 1028.0)
info.data<-input.info(ID=c(29, 0, 0, 0, 0, 0, 0, 0),Mass=c(49.2, 0, 0, 0, 0, 0, 0, 0),
Volume = c(5480, 5480, 5480, 5480, 5480, 5480, 5480, 5480),
DO.unit = c("mmol/L"))
meas.data<-import.meas(file = "05.11.2020_100%_#29_raw_mmol_Dtest.txt", info.data,
n.chamber =c(8),logger=c("AutoResp"),
plot.temperature = FALSE, plot.oxygen = FALSE,
date.format = "DMY",
set.date.time = "dd/mm/yyyy/hh:mm:ss",
start.measure = "16:34:00", stop.measure = "17:00:00",
meas.to.wait = 130)
I would be really greatful for help!
Thank you!
Cheers Caro
Quote from Sergey Morozov on January 6, 2021, 8:46 pmHello Carolin,
Thank you for contacting us.
Could you attach your raw data file here or send it via email fishresp[at]gmail.com ?
Then, I will solve this issue ASAP.Best wishes,
Sergey
Hello Carolin,
Thank you for contacting us.
Could you attach your raw data file here or send it via email fishresp[at]gmail.com ?
Then, I will solve this issue ASAP.
Best wishes,
Sergey
Quote from Carolin on January 10, 2021, 3:10 pmHello Sergey,
thank you very much for your answer!
I uploaded the problematic files.
I uploaded two versions of each file. One is the raw-data file produced by AutoResp (07.10.20_SMR_100%_2_raw , 05.11.20_100%_#29_raw) and the other is the converted version (mmol/l) in which I additionally transformed commas in the values to points and the points of the dates to "/" in order to resolve some other problems considering compatibility of the raw-data files with FishResp.
In the file "07.10.20_SMR_100%_2_raw" I measured the SMR using 7 respiration chambers and in the file "05.11.20_100%_#29_raw" I measured the MMR using a swimming tunnel and thus only one chamber.
I hope this information is helpful!
Thank you very much and have a nice day!
Cheers
Carolin
Hello Sergey,
thank you very much for your answer!
I uploaded the problematic files.
I uploaded two versions of each file. One is the raw-data file produced by AutoResp (07.10.20_SMR_100%_2_raw , 05.11.20_100%_#29_raw) and the other is the converted version (mmol/l) in which I additionally transformed commas in the values to points and the points of the dates to "/" in order to resolve some other problems considering compatibility of the raw-data files with FishResp.
In the file "07.10.20_SMR_100%_2_raw" I measured the SMR using 7 respiration chambers and in the file "05.11.20_100%_#29_raw" I measured the MMR using a swimming tunnel and thus only one chamber.
I hope this information is helpful!
Thank you very much and have a nice day!
Cheers
Carolin
Quote from Sergey Morozov on January 10, 2021, 3:58 pmHello Carolin,
Thank you for the well-commented issue.
I am sorry, but I cannot see your attached files here. Please, note that the maximum size of a file was 10 Mb, maybe that was a reason. Do you see your attached files?
Anyway, I increased it to 50 Mb, so, it should work now (at least it worked a few minutes ago with my 20Mb file).
Best wishes,
Sergey
Hello Carolin,
Thank you for the well-commented issue.
I am sorry, but I cannot see your attached files here. Please, note that the maximum size of a file was 10 Mb, maybe that was a reason. Do you see your attached files?
Anyway, I increased it to 50 Mb, so, it should work now (at least it worked a few minutes ago with my 20Mb file).
Best wishes,
Sergey
Quote from Carolin on January 14, 2021, 6:01 pmHi Sergey,
thank you very very much for your effort!!!
Finally I could resolve my problem. During the measurements I skipped phases, ended the last measurement phase at the end of the experiments manually so it was shorter as normally and also the fact that my measurements would not start with F1 because there was the acclimation period recorded ahead in the same data file was not liked or accepted by RStudio / FishResp. But by manually changing my files now, the code works.
Thank you a lot again for your answer!
Best wishes,
Carolin
Hi Sergey,
thank you very very much for your effort!!!
Finally I could resolve my problem. During the measurements I skipped phases, ended the last measurement phase at the end of the experiments manually so it was shorter as normally and also the fact that my measurements would not start with F1 because there was the acclimation period recorded ahead in the same data file was not liked or accepted by RStudio / FishResp. But by manually changing my files now, the code works.
Thank you a lot again for your answer!
Best wishes,
Carolin