Home / Forum
Please or Register to create posts and topics.

Problem with import.meas, Error: Fehler in `$<`(`*tmp*`, "Time"....

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 `$<`(`*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)<, 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"))<-import.meas(file = "05.11.2020_100%_#29_raw_mmol_Dtest.txt",,
n.chamber =c(8),logger=c("AutoResp"),
plot.temperature = FALSE, plot.oxygen = FALSE,
date.format = "DMY", = "dd/mm/yyyy/hh:mm:ss",
start.measure = "16:34:00", stop.measure = "17:00:00", = 130)


I would be really greatful for help!

Thank you!


Cheers Caro

Hello Carolin,

Thank you for contacting us.

Could you attach your raw data file here or send it via email fishresp[at] ?
Then, I will solve this issue ASAP.

Best wishes,




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!



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,


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,


Were you experiencing issues with import? Meas and encountering errors? Don't let these lapses hinder your progress. Consider reaching out to professional assignment writing services. Their expertise can help you with academic assignments, troubleshooting, and problem-solving in various domains, allowing you to overcome challenges like the import. It was an error. With their support, you can navigate through technical issues while concentrating on your core objectives, whether they are academic or professional. Don't let obstacles hold you back – seek the assistance you need to move forward successfully.