Skip to content

Error loading "units" package #19

@TFCMendes

Description

@TFCMendes

I'm running NetLogo 6.1.1 on Linux. When I try to load the package "units" (or other dependents on it) I get the following error:

library(units)
Error: package or namespace load failed for ‘units’:
.onLoad failed in loadNamespace() for 'units', details:
call: udunits_init(file.path(.get_ud_xml_dir(), "udunits2.xml"))
error: Error in function udunits_init: Error parsing unit specification

The packages runs smoothly on Rstudio. It seems that, when loaded into R-extension, cannot locate the file "udunits2.xml", which is in a shared folder.
I have tried on more than 1 Linux computer, with the same results. In Windows i had no problems.

Thanks in advance!

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