New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
R wrapper #668
Comments
Yes, this would be very simple in linux, slightly less so in windows. I've On Tue, May 12, 2015 at 11:31 PM, mihirparadkar notifications@github.com
|
Are you willing to do some testing? Let me know what version of R you use, what platform, etc. |
Yes, of course. I primarily use R 3.2.0 on 32-bit Ubuntu, but I also use R 3.1.3 on 64-bit Windows 7. |
Hmm, I am not sure how important the version of R is in terms of cross-version compatibility, but I'll put some stuff together, should be a week or so. |
Thanks. Once I have what you put together and some basic instructions on how to install/import the library, I'll make sure to give my feedback. |
Hello, I was searching for a CoolProp R wrapper and found this conversation. I think it will be great to have this wrapper. I use R on 64 bit windows 7. Thank you. |
Yes it will be great, though I'm not sure when Ill have a chance to finish On Wed, Jun 10, 2015 at 7:00 AM, AntonioCarrilloAndres <
|
I am sure that a lot of people will thank you if you manage to finish the R wrapper! |
Ok, working on windows, and should basically be working on linux soon. One or two little bugs to resolve. |
Weirdly, it seems to be working fine on windows, and I am running into a few bugs that I don't understand on linux and OSX. Usually it is the other way around. |
Ready for some testing I think. Files are up at http://www.coolprop.dreamhosters.com:8010/binaries/R/ . Docs are ready but not building properly now. Download Example.R, CoolProp.R,and the shared library for your appropriate platform, place them all in the same directory. Run the example. On windows, even though it says Windows_32bit, it is actually 64bit. |
Thank you Ian, I will be happy to test on Win64 and give some feedback |
I have made a first test on Win64 and seems to be working fine! Now I will try to use it in some research. Thank you again Ian! |
For curiosity, what version of R do you use? This R wrapper was compiled On Wed, Jul 1, 2015 at 9:40 AM, AntonioCarrilloAndres <
|
Thanks Ian! I'm really excited to try this out but there's a slight problem. |
If you right-click on the file and "Save As..." it should repair the line On Wed, Jul 1, 2015 at 10:03 AM, mihirparadkar notifications@github.com
|
Also, on linux you might need to rebuild it yourself. Linux is more On Wed, Jul 1, 2015 at 10:06 AM, Ian Bell ian.h.bell@gmail.com wrote:
|
Thank you very much. Surprisingly, it seems to work without building it myself. |
Ian, I use R 2.15 (I am a bit outdated..) |
wow... and it still works for you? That is great news. On Wed, Jul 1, 2015 at 10:28 AM, AntonioCarrilloAndres <
|
If you have any problems with the files, please try to download the files using the webserver instead of the buldbot frontend: http://www.coolprop.dreamhosters.com/binaries/R/ |
Ok, tests run and pass on windows, linux and OSX. Finally closing this issue. Thanks for your patience. Please let us know if you run into any other issues of any kind. |
Could an R wrapper be added? I don't know of any packages that even come close to the functionality of CoolProp and it'd be really useful to have in R, even if it's a simple set of ffi calls around the C++ shared library.
The text was updated successfully, but these errors were encountered: