You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
R does not have float type, but Processing heavily uses float as the built-in functions' parameters. To solve the problem, Processing.R defines a abstract layer called BuiltinApplet, which cast float to double explicitly by function overloading.
Function overloading requires a lot of manual work, so it is better to find a way to finish the job in language level, via renjin.
Maybe we could ask renjin community for help.
The text was updated successfully, but these errors were encountered:
gaocegege
changed the title
[Feasibility Research] Adapt float type in language level by renjin
Adapt float type in language level by renjin
May 20, 2017
It seems that it is hard to hack DoubleVector. And I think maintaining a special fork for Processing.R. is not the right, so I will file a post in renjin-dev email group and try to get some suggestions from the community.
ref #16
R does not have
float
type, but Processing heavily uses float as the built-in functions' parameters. To solve the problem, Processing.R defines a abstract layer calledBuiltinApplet
, which cast float to double explicitly by function overloading.Function overloading requires a lot of manual work, so it is better to find a way to finish the job in language level, via renjin.
Maybe we could ask renjin community for help.
The text was updated successfully, but these errors were encountered: