For windows operating system please type in the following code, line by line in R interpreter. This will install the eikonapir package and I have also included a simple test get_symbology call to see if it is working for you. You need to generate an App Key for Eikon Data API using the APPKEY Generator app in Eikon (type APPKEY into Eikon searchbar). If you are using the Mac OS Eikon Standalone proxy - use port 36036 (include the L suffix). I hope this can help you.
install.packages("devtools") library(devtools) install_github("ahmedmohamedali/eikonapir") library(eikonapir) eikonapir::set_proxy_port(9000L) eikonapir::set_app_id('Your App Key Here') result <- get_symbology(list("MSFT.O", "GOOG.O", "IBM.N"),"RIC",list("ISIN"),raw_ouput = FALSE,debug=FALSE) print(result)
@mohd.tariq.azim take a look at this
This code is not supporting and the link which is taking me to API has guidance on Python not R.
Please help!
Thanks!
@mohd.tariq.azim I am not too sure I understand what you mean. EikonApiR is a community developed package for the Eikon Data API, and the above link has installation instructions and usage examples.
install_github("ahmedmohamedali/eikonapir")
The above code is not working.
Please help!
Hi
After running the install.packages code (snap is copied below). I am getting an error - 'lib' is unspecified.
Please help.
Thanks!
R> install.packages("Z:/Tariq/Text analytics/eikonapir-master.zip", repos = NULL, type = "win.binary") Installing package into ‘C:/SWDTOOLS/Rtools/win-library/3.5’ (as ‘lib’ is unspecified)
@mohd.tariq.azim The type of file will be "source" not "win.binary". You might also try to specify the destination location library (using lib parameter) and ensure you have write permissions etc. Please see the R install.packages documentation here. I hope this can help.
I have tried to change the type = "source">>> Still the error is coming.
Please see the error
install.packages("Z:/Tariq/Text analytics/eikonapir-master.zip", repos = NULL, type = "source") Installing package into ‘C:/SWDTOOLS/Rtools/win-library/3.5’ (as ‘lib’ is unspecified) In R CMD INSTALL
@mohd.tariq.azim Are you sure it is not installing - sometimes a warning is thrown but it might still go through. As I said before you could try specifying a location using the lib= option (providing a location you can write to) It sounds like you might not have write permissions - you could try running as administrator or please see some potential solutions / discussions here . I hope this can help you.