Skip to content

Problems with run_osmose outputs in R #23

@Jose-Rubilar

Description

@Jose-Rubilar

Hello everyone, I have a query about the demo version example of Osmose. I tried the demo version example of version 4.3.2, where I managed to run the 'osmose.config_class' code, but I had difficulties trying to obtain results with the 'osmose_class' code. When using it, the following error is generated:

Error in read_osmose(path = demoPaths$output_dir, input = demoPaths$config_file) :
The output directory does not exist.

I was able to solve this problem by creating the folder 'output-PAPIER-trophic' within 'eec_4.3.0'. After this adjustment, the program runs but then the following new error occurs:

print method
print(outputs)
OSMOSE v.4
Model ‘NA’
Error in seq.default(0, x$model$nsp - 1) : 'to' must be of length 1

This error seems to indicate that the model does not generate or read the output data, which prevents its correct functioning. I must say that my programming level in R is not very advanced, so I would appreciate your help on how to solve this problem.

I did not use version 4.3.3 because it generated other errors.

Regards.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions