cdeterman / gpuR

R interface to use GPU's
241 stars 26 forks source link

Why does an R package based on gpuR not work? #171

Open ChenYW68 opened 4 years ago

ChenYW68 commented 4 years ago

First of all, thank you very much for developing such a nice package "gpuR" for everyone to use... But I am particularly confused about why the R package developed based on gpuR does not work properly. I hope to get an answer. Thank you!

cdeterman commented 4 years ago

What package are you referring? Did you develop one or are you referring to another I have in progress?

ChenYW68 commented 4 years ago

That's an R package (eg. CreateTemp) I developed that relies on gpuR, but once it's packaged, the following error occurs , which doesn't happen without packaging: https://chenyw68.github.io/Pollution/bug/bug.png, this is a simple illustrative example

cdeterman commented 4 years ago

Unfortunately I can't tell you exactly as I can't read the error message (I only speak English and some French). If you could translate I may be able to better help you.

ChenYW68 commented 4 years ago

OK,I'm sorry. That error message is " Error in diag(vclMatrix(A)) : there is no method to force this S4 class to be a vector ". The same thing happens when this diag() function is replaced by another function. Thank you!