Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


How to call c function from r?



How to call c function from r?..

Answer / Suvendu Bikash Bhakta

In R, you can call C functions using the .C interface. First, you need to write the C code and compile it into a shared library (.so or .dll depending on your operating system).nnOnce compiled, you can call the C function from R using the `.C()` function with the following format:n```rnresult <- .C("function_name", argument1, argument2, ...)n```nReplace "function_name" with the name of your C function and arguments with the corresponding arguments passed to the C function.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More R Programming Interview Questions

What are the data types in r on which binary operators can be applied?

1 Answers  


What is a random walk model and how can you simulate it using r?

1 Answers  


What do you understand by R cluster analysis?

1 Answers  


Explain an extended example of connections?

1 Answers  


Name some functions which can be used for debugging in r?

1 Answers  


Explain the type of clustering in R?

1 Answers  


What is debugging in R?

1 Answers  


Explain the programming features of R?

1 Answers  


What are the features of r programming?

1 Answers  


How many types of functions are there in R string manipulation?

1 Answers  


What are packages in r?

1 Answers  


What is recursive function in r?

1 Answers  


Categories