Skip to content

static function is not found in RLangPApplet instance in renjin #97

Open
@gaocegege

Description

@gaocegege

Update summary:

renjin does not currently offer core support for accessing static methods/fields via an instance (bedatadriven/renjin#320). The workaround (e.g. in #134) was to map static functions from RLangApplet in core.R (https://github.com/gaocegege/Processing.R/blob/master/src/rprocessing/r/core.R#L187) -- however if renjin adds core support for static access in the future this could be dropped.


radians is a function in PApplet, I am not sure why it raises an error with #95

Instance of class rprocessing.RLangPApplet has no member named 'radians'

It fails examples/Basics/Trigonometry

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions