view R/rdyncall/demo/sqrt.R @ 3:f5d4d5c2f750

- gemspec fix
author cslag
date Thu, 31 Dec 2015 20:24:53 +0100
parents 0cfcc391201f
children
line wrap: on
line source

# Package: rdyncall 
# File: demo/sqrt.R
# Description: C math library demo (dynbind demo) 

dynbind( c("msvcrt","m","m.so.6"), "sqrt(d)d;" )
print(sqrt)
sqrt(144)