# {ecmwfr} R package v2.0.0 - beta support

**URL:** <https://forum.ecmwf.int/t/ecmwfr-r-package-v2-0-0-beta-support/4664>\
**Category:** Software and Tools\
**Tags:** api, cams, cds\
**Created:** [30 August 2024 07:55 UTC](https://forum.ecmwf.int/t/ecmwfr-r-package-v2-0-0-beta-support/4664 "2024-08-30T07:55:19Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Koen\_Hufkens](https://forum.ecmwf.int/user_avatar/forum.ecmwf.int/koen_hufkens/32/526_2.png) [@Koen\_Hufkens](https://forum.ecmwf.int/u/Koen_Hufkens)\
**Post date:** [30 August 2024 07:55 UTC](https://forum.ecmwf.int/t/ecmwfr-r-package-v2-0-0-beta-support/4664/1 "2024-08-30T07:55:20Z")

</div>

I’m announcing version 2.0.0 of the **{ecmwfr} R package** providing native R access to the Data Store products. The package now uses the latest `beta` API, which is set to replace the current one mid September. You can update using:

```r
install.packages("ecmwfr")

```

Please update your _R_ code in time to guarantee continued functionality. Please read the release note (blog post) carefully as there are some breaking changes to the API and more importantly to the data formats.

> **[ecmwfr 2.0.0 CRAN release | BlueGreen Labs](https://bluegreenlabs.org/post/ecmwfr-2.0.0-release-and-changes/)**
>
> Updating API service hooks and some critical notes

Although this release addresses some issues, including collisions between login credentials, the package is limited by the current API issues highlighted elsewhere on the forum such as [data formatting](https://prod.ecmwf-forum-prod.compute.cci2.ecmwf.int/t/changes-to-grib-to-netcdf-converter-on-cds-beta-ads-beta/4322) and [no full index of API functionality](https://prod.ecmwf-forum-prod.compute.cci2.ecmwf.int/t/is-the-new-api-going-to-be-documented/4557).

For those on other frameworks (.NET etc), feel free to go through the package code. It might help you migrate to the new API.

> **[GitHub - bluegreen-labs/ecmwfr: Interface to the public ECMWF API Web Services](https://github.com/bluegreen-labs/ecmwfr)**
>
> Interface to the public ECMWF API Web Services

and see my comments in the following thread:

> **[Is the new API going to be documented?](https://prod.ecmwf-forum-prod.compute.cci2.ecmwf.int/t/is-the-new-api-going-to-be-documented/4557/9?u=koen_hufkens)**
>
> check your url / data encoding, which should be json. Also the forwarded data/body should be wrapped in an additional {“inputs”: {JSON\_REQUEST}}. The debugger output doesn’t show this.
