Displaying 1 result from an estimated 1 matches for "createrpackagewithc".
2012 Dec 05
0
Global variable in the C code used to create R extension
Hi ,
I am writing a function in C and i wish to call it from R.
Thanks to this tutorial , this is easily possible -
http://www.nceas.ucsb.edu/scicomp/usecases/CreateRPackageWithC
Now , i have a server written in R which listens on a port for requests and
process the requests.
Now what i need is to load a large amount of data in startup of the server.
And later this data should be available to any part of the R.
So basically i want to maintain a global pointer to the data...