Introduction
Let's ensure we understand the foundational concepts before delving further into the subjects. Here is a brief introduction if you are unfamiliar with R-studio.

An integrated development environment (IDE) for R is called R-Studio. The IDE is a graphical user interface where you can write quotes, view the results, and see the variables created during programming.
✔️ R Studio is software that is both open source and paid for.
✔️ Additionally, there are desktop and server versions of R-Studio.
✔️ R Studio is also accessible on various operating systems, including Windows, Linux, and macOS.
This article explains the details of PlumberTableau Extensions in R-studio in which we will talk about RStudio, PlumberTableau Extensions in R-studio, and how it is used in testing.
Without further ado, let's get started.
PlumberTableau Extensions in R-studio
Through Tableau Analytics Extensions, plumbertableau allows you to execute external R code directly from Tableau workbooks. To do this, you create a plumbertableau extension, a Plumber API with additional annotations—comments beginning with the symbol #*.
library(plumber)
library(plumbertableau)
#* @apiTitle String utilities
#* @apiDescription Simple functions for mutating strings
#* @post /capitalize
function(str_value) {
toupper(str_value)
}
#* @plumber
tableau_extension
The computed fields in Tableau use plumbertableau extensions. We have added the custom URL stringutils to RStudio Connect and published our extension there. We could write the following into a Tableau calculated field or simply copy and paste it from the automatically generated code samples to use our capitalization extension. (In actual usage, you'll probably substitute allusions to Tableau data for "Hello ninjas").
SCRIPT_STR("/stringutils/capitalize", "Hello ninjas")
Tableau must have access to the extension before you can use it. With the help of plumbertableau, R developers may quickly publish a range of R content formats using the commercial publishing platform RStudio Connect. By ensuring that requests from Tableau are routed to the appropriate extension, Connect enables you to host numerous extensions. You can host plumbertableau extensions on your servers as well.
Installation
💁 Plumbertableau can be downloaded from CRAN, or the most recent development version can be downloaded from GitHub.
# From CRAN
install.packages("plumbertableau")
# From GitHub
remotes::install_github("rstudio/plumbertableau")
library(plumbertableau)