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 , i have
loaded and access them globally from the C code within the R extension
which is executed from any wehre in the code.

How can i achieve this.

Thanks
          Vineeth

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to