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

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
19 0 1 2

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-apiworkspaceworkspace-data-apirefinitiv-dataplatform-eikonpythoneikon-data-api-r
icon clock
10 |1500

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

Upvotes
Accepted
11.5k 16 7 10

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 5.0 MiB each and 10.0 MiB total.

Upvotes
38.1k 71 35 53

@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 5.0 MiB each and 10.0 MiB total.

Upvotes
19 0 1 2

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 5.0 MiB each and 10.0 MiB total.

Click below to post an Idea Post Idea