The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]dogado.de.
Resizable HTML content holders such as the ones created by the r2resize R package offer a highly versatile and user-friendly way to organize and display information on a web page. By allowing users to dynamically resize specific sections of the content, these dynamic layouts empower visitors to customize the view to suit their preferences and needs. This flexibility is particularly valuable when presenting complex data, comparing multiple information sources, or accommodating users with varying screen sizes or browsing habits. The resizable bars or handles enable users to quickly expand a section they want to focus on, while the other sections automatically adjust in size to maintain a cohesive layout. This enables an optimal viewing experience without requiring the user to navigate away or reload the page. Such content holders unlock new levels of interactivity and user control, enhancing engagement and making it easier for users to find and digest the most relevant information. The ability to resize sections on the fly also promotes a more efficient use of screen real estate, particularly on smaller mobile devices. Overall, resizable HTML content holders represent a powerful tool for web designers and developers to create dynamic, responsive, and user-centric experiences.
The r2resize package is available on CRAN and can be installed as shown below
install.packages(r2resize)
Attach library
library(r2resize)
There are two functions to support creating resizable content holder known as split screen containers. These are -
r2resize::splitCard()
or
r2resize::splitCard2()
Both can be used in any R based documents or shiny applications. Check documentaion for the arguments of each function.
Here is how to use it to create the sectional split screen contents
#basic attributes
::splitCard(
r2resize"Sample text",
"Sample text 2"
)
#specify background color for each side
::splitCard(
r2resize"Sample r2symbols 1",
"Sample nextGen 1",
bg.right.color = "white",
bg.left.color = "lightgray",
position = "vertical"
)
#add the split card attribute on vertical
::splitCard(
r2resize"Sample shinyStorePlus",
"Sample nextGen 1",
bg.right.color = "white",
bg.left.color = "lightgray",
border.color = "black",
text.left.color = "black",
text.right.color = "black",
position = "vertical"
)
# specify split card on the horizontal position
::splitCard(
r2resize"Sample sciRmdTheme 1",
"Sample nextGen 1",
bg.right.color = "white",
bg.left.color = "lightgray",
border.color = "gray",
text.left.color = "black",
text.right.color = "black",
position = "horizontal"
)
These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.