Upgrade from Eikon -> Workspace. Learn about programming differences.

For a deeper look into our Eikon Data API, look into:

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
39 3 3 7

eikonapir package error

Hi,

can you fix the following error when installing eikonapir package:

devtools::install_github("philaris/eikonapir")

Error in read.dcf(path) :

Found continuation line starting ' Panagiotis Cheilar ...' at begin of record.


eikoneikon-data-apipythonrefinitiv-dataplatform-eikonworkspaceworkspace-data-apieikon-data-api-r
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Upvotes
Accepted
24.4k 53 17 14

Hello @tta

It seems to be the R/RTools issue. Did you try the solution that found in other R community? (such as this post or this post)

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Upvotes
78.1k 246 52 72

@tta

I can install it properly.

> devtools::install_github("philaris/eikonapir")
WARNING: Rtools is required to build R packages, but is not currently installed.

Please download and install Rtools 3.5 from https://cran.r-project.org/bin/windows/Rtools/.
Downloading GitHub repo philaris/eikonapir@HEAD
These packages have more recent versions available.
It is recommended to update all of them.
Which would you like to update?

1: All                            
2: CRAN packages only             
3: None                           
4: openssl (1.4.2 -> 1.4.3) [CRAN]

Enter one or more numbers, or an empty line to skip updates:1
openssl (1.4.2 -> 1.4.3) [CRAN]
Installing 1 packages: openssl
trying URL 'https://cloud.r-project.org/bin/windows/contrib/3.6/openssl_1.4.3.zip'
Content type 'application/zip' length 3994547 bytes (3.8 MB)
downloaded 3.8 MB

package ‘openssl’ successfully unpacked and MD5 sums checked

...
  
  
-  preparing 'eikonapir':
   checking DESCRIPTION meta-information ...
  
   checking DESCRIPTION meta-information ... 
  
√  checking DESCRIPTION meta-information 
  
  
-  checking for LF line-endings in source and make files and shell scripts
  
  
-  checking for empty or unneeded directories 
  
  
-  building 'eikonapir_0.1.0.5.tar.gz' 
   

* installing *source* package 'eikonapir' ...
** using staged installation
** R
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
  converting help for package 'eikonapir'
    finding HTML links ... done
    TR_Field                                html  
    get_app_id                              html  
    get_app_key                             html  
    get_data                                html  
    get_news_headlines                      html  
    get_news_story                          html  
    get_proxy_port                          html  
    get_symbology                           html  
    get_timeseries                          html  
    set_app_id                              html  
    set_app_key                             html  
    set_proxy_port                          html  
** building package indices
** testing if installed package can be loaded from temporary location
*** arch - i386
*** arch - x64
** testing if installed package can be loaded from final location
*** arch - i386
*** arch - x64
** testing if installed package keeps a record of temporary installation path
* DONE (eikonapir)

I am using R version 3.6.3 (64bit) and devtools 2.3.2.

What are the versions of R and devtools that you are using?


icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Upvotes
39 3 3 7

Hi,

Thanks for responding. My version for R and devtools is 3.5 and 2.0.1, respectively.

I tried installing RTools, but it said that it was not available for R 3.5.

Thanks,

THT

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.