# Cannot get smoothing option to work in ors\_isochrone in R

**URL:** https://ask.openrouteservice.org/t/cannot-get-smoothing-option-to-work-in-ors-isochrone-in-r/7301
**Category:** R
**Created:** [May 10, 2025, 6:48pm UTC](https://ask.openrouteservice.org/t/cannot-get-smoothing-option-to-work-in-ors-isochrone-in-r/7301 "2025-05-10T18:48:35Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![ajo1993](https://ask.openrouteservice.org/user_avatar/ask.openrouteservice.org/ajo1993/32/3734_2.png) [@ajo1993](https://ask.openrouteservice.org/u/ajo1993)
#### Post date: [May 10, 2025, 6:48pm UTC](https://ask.openrouteservice.org/t/cannot-get-smoothing-option-to-work-in-ors-isochrone-in-r/7301/1 "2025-05-10T18:48:35Z")

</div>

Hello,

I am having difficulty using the “smoothing” option in ors\_isochrones using the ORS API in R. I didn’t want to open an issue in Github as I read that this is the right space for questions. Hopefully that I understood that correctly. Example code I am using is below, everything works until I try to add the “smoothing” option.

I would really appreciate if you could help me as ORS is really helpful for some work I am doing and the smoothing option would be quite important. Thank you

```r
coordinates <- list(c(8.330469, 48.261570))
options1 <- list(smoothing=50)

res <- ors_isochrones(coordinates, range = 1200, output = "sf", profile = "foot-walking", options=options1)

```

---

<div class="post-metadata">

### Author: ![andrzej](https://ask.openrouteservice.org/user_avatar/ask.openrouteservice.org/andrzej/32/10_2.png) [@andrzej](https://ask.openrouteservice.org/u/andrzej)
#### Post date: [May 12, 2025, 8:53am UTC](https://ask.openrouteservice.org/t/cannot-get-smoothing-option-to-work-in-ors-isochrone-in-r/7301/2 "2025-05-12T08:53:54Z")

</div>

Thanks for reaching out! ❤

The `smoothing` parameter is defined at top level rather than being nested under `options`. Therefore, the correct call should look like in the example below. You can find an overview of all available isochrone parameters in the [interactive API documentation](https://openrouteservice.org/dev/#/api-docs/isochrones_service).

```r
library("openrouteservice")

coordinates <- list(c(8.330469, 48.261570))

res <- ors_isochrones(coordinates, range = 1200, output = "sf", profile = "foot-walking", smoothing = 50)

```
