I am using the worksheet functions of RExcel. I am trying to pass a datatable to a function in the following call:

=RApply(O14:O18,D6)


Cells O14:O18 contain the definition of the function. This is a function that takes one argument which is a data.table. Cell D6 has the name of the data.table object. When I call the function this way, D6 is passed to the function as a string, not as a data.table. So I get an error. How can I fix this? I know that there is a data.table in R workspace with this name... I just can't seem to pass it to the function...
	[[alternative HTML version deleted]]

