Displaying 6 results from an estimated 6 matches for "featurelayer".
Did you mean:
  featurelabel
  
2025 Jun 02
1
Specifying a long string literal across several lines
...be a matter of taste. To me the current form
#' furl <- paste0(
#' "https://services3.arcgis.com/ZvidGQkLaDJxRSJ2/arcgis/rest/services/",
#'?? "PLACES_LocalData_for_BetterHealth/FeatureServer/0"
#' )
#'
would be actually clearer than say this:
#' # FeatureLayer
#' furl <- 
"https://services3.arcgis.com/ZvidGQkLaDJxRSJ2/arcgis/rest/services/\
PLACES_LocalData_for_BetterHealth/FeatureServer/0"
#'
Inside a per-line comment (#), a backslash followed by a newline would 
probably be disallowed, anyway - e.g. in C it is considered dangerous...
2025 Jun 02
1
Specifying a long string literal across several lines
...gt;
> #' furl <- paste0(
> #' "https://services3.arcgis.com/ZvidGQkLaDJxRSJ2/arcgis/rest/services/",
> #'   "PLACES_LocalData_for_BetterHealth/FeatureServer/0"
> #' )
> #'
>
> would be actually clearer than say this:
>
> #' # FeatureLayer
> #' furl <-
> "https://services3.arcgis.com/ZvidGQkLaDJxRSJ2/arcgis/rest/services/\
> PLACES_LocalData_for_BetterHealth/FeatureServer/0
> <https://services3.arcgis.com/ZvidGQkLaDJxRSJ2/arcgis/rest/services/%5CPLACES_LocalData_for_BetterHealth/FeatureServer/0>
> &qu...
2025 Jun 02
2
Specifying a long string literal across several lines
...rvices3.arcgis.com/ZvidGQkLaDJxRSJ2/arcgis/rest/services/",
> >> #'   "PLACES_LocalData_for_BetterHealth/FeatureServer/0"
> >> #' )
> >> #'
> >>
> >> would be actually clearer than say this:
> >>
> >> #' # FeatureLayer
> >> #' furl <-
> >> "https://services3.arcgis.com/ZvidGQkLaDJxRSJ2/arcgis/rest/services/\
> >> PLACES_LocalData_for_BetterHealth/FeatureServer/0
> >> <https://services3.arcgis.com/ZvidGQkLaDJxRSJ2/arcgis/rest/services/%5CPLACES_LocalData_for_Bette...
2025 Jun 02
2
Specifying a long string literal across several lines
...0(
>> #' "https://services3.arcgis.com/ZvidGQkLaDJxRSJ2/arcgis/rest/services/",
>> #'   "PLACES_LocalData_for_BetterHealth/FeatureServer/0"
>> #' )
>> #'
>>
>> would be actually clearer than say this:
>>
>> #' # FeatureLayer
>> #' furl <-
>> "https://services3.arcgis.com/ZvidGQkLaDJxRSJ2/arcgis/rest/services/\
>> PLACES_LocalData_for_BetterHealth/FeatureServer/0
>> <https://services3.arcgis.com/ZvidGQkLaDJxRSJ2/arcgis/rest/services/%5CPLACES_LocalData_for_BetterHealth/FeatureServe...
2025 Jun 02
2
Specifying a long string literal across several lines
...GQkLaDJxRSJ2/arcgis/rest/services/",
>>>> #'   "PLACES_LocalData_for_BetterHealth/FeatureServer/0"
>>>> #' )
>>>> #'
>>>> 
>>>> would be actually clearer than say this:
>>>> 
>>>> #' # FeatureLayer
>>>> #' furl <-
>>>> "https://services3.arcgis.com/ZvidGQkLaDJxRSJ2/arcgis/rest/services/\
>>>> PLACES_LocalData_for_BetterHealth/FeatureServer/0
>>>> <https://services3.arcgis.com/ZvidGQkLaDJxRSJ2/arcgis/rest/services/%5CPLACES_LocalDa...
2025 Jun 02
1
Specifying a long string literal across several lines
Tomas,
Here is a good example of where this functionality would be useful:
https://github.com/R-ArcGIS/arcgislayers/blob/2b29f4c254e7e5a1dadce8d4b0015a70dfae39d4/R/arc-open.R#L19-L56
In order to prevent R CMD check notes I have to use `paste0()` to
concatenate long URLs. If we were able to use `\` to
separate the string across multiple lines, it would make the solution much
nicer!
On Mon, Jun