Package: dipsaus 0.3.0

dipsaus: A Dipping Sauce for Data Analysis and Visualizations

Works as an "add-on" to packages like 'shiny', 'future', as well as 'rlang', and provides utility functions. Just like dipping sauce adding flavors to potato chips or pita bread, 'dipsaus' for data analysis and visualizations adds handy functions and enhancements to popular packages. The goal is to provide simple solutions that are frequently asked for online, such as how to synchronize 'shiny' inputs without freezing the app, or how to get memory size on 'Linux' or 'MacOS' system. The enhancements roughly fall into these four categories: 1. 'shiny' input widgets; 2. high-performance computing using the 'future' package; 3. modify R calls and convert among numbers, strings, and other objects. 4. utility functions to get system information such like CPU chip-set, memory limit, etc.

Authors:Zhengjia Wang [aut, cre], John Magnotti [ctb], Xiang Zhang [ctb]

dipsaus_0.3.0.tar.gz
dipsaus_0.3.0.zip(r-4.5)dipsaus_0.3.0.zip(r-4.4)dipsaus_0.3.0.zip(r-4.3)
dipsaus_0.3.0.tgz(r-4.4-x86_64)dipsaus_0.3.0.tgz(r-4.4-arm64)dipsaus_0.3.0.tgz(r-4.3-x86_64)dipsaus_0.3.0.tgz(r-4.3-arm64)
dipsaus_0.3.0.tar.gz(r-4.5-noble)dipsaus_0.3.0.tar.gz(r-4.4-noble)
dipsaus_0.3.0.tgz(r-4.4-emscripten)dipsaus_0.3.0.tgz(r-4.3-emscripten)
dipsaus.pdf |dipsaus.html
dipsaus/json (API)
NEWS

# Install 'dipsaus' in R:
install.packages('dipsaus', repos = c('https://dipterix.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/dipterix/dipsaus/issues

Pkgdown:https://dipterix.org

Uses libs:
  • c++– GNU Standard C++ Library v3

On CRAN:

cpp

7.96 score 13 stars 3 packages 87 scripts 636 downloads 130 exports 41 dependencies

Last updated 5 days agofrom:e04a6c0b4c. Checks:OK: 9. Indexed: yes.

TargetResultDate
Doc / VignettesOKDec 17 2024
R-4.5-win-x86_64OKDec 17 2024
R-4.5-linux-x86_64OKDec 17 2024
R-4.4-win-x86_64OKDec 17 2024
R-4.4-mac-x86_64OKDec 17 2024
R-4.4-mac-aarch64OKDec 17 2024
R-4.3-win-x86_64OKDec 17 2024
R-4.3-mac-x86_64OKDec 17 2024
R-4.3-mac-aarch64OKDec 17 2024

Exports:%?<-%%+-%%<-?%%=>%%D%%OF%abortAbstractQueueactionButtonStyledadd_to_sessionansi_stripas_pipeask_or_defaultask_yesnoasyncasync_exprasync_flapplyasync_worksbase64_to_imagebase64_to_stringbase64_urldecodebase64_urlencodebaseline_arraycapture_exprcat2check_installed_packagesclear_envclose_alert2cnd_entracecol2hexStrcollapsecombine_html_classcompoundInput2decorate_functiondeparse_svecdetectCoresdev_createdigestdigest2dipsaus_lockdipsaus_resetlocksdipsaus_unlockdo_aggregatedo_nothingdrop_nullsentraceerror_cndeval_dirtyfancyFileInputfastcov2fastmap2fastquantilefastqueue2flex_divforelsefromJSONget_cpuget_credentialget_dev_attrget_dotsget_ipget_osget_ramgetInputBindinghandler_dipsaus_progresshtml_asisiapplyis_from_namespacelapply_async2lapply_callrlist_to_fastmap2list_to_fastqueue2make_forked_clustersmask_function2match_callsmean_semem_limit2missing_dotsnew_function2no_oppackage_installedparse_svecPersistContainerprint_directory_treeprogress2rds_mapread_jsonregisterInputBindingremove_html_classrestart_sessionrs_active_projectrs_add_insertion_shortcutrs_add_shortcutrs_availrs_edit_filers_execrs_focus_consolers_quick_debugrs_remove_shortcutrs_save_allrs_select_pathrs_set_reposrs_show_shortcutrs_viewerscreenshotserializeJSONsession_mapsession_uuidset_shiny_inputsexp_type2shared_finalizershift_arrayshiny_alert2shiny_is_runningste_meansumsquaredsync_shiny_inputstest_fargtext_maptime_deltato_dataurito_ram_sizetoJSONtrace_backtreeunserializeJSONupdateActionButtonStyledupdateCompoundInput2use_shiny_dipsauswrite_json

Dependencies:base64encbslibcachemclicodetoolscommonmarkcrayondigestfastmapfontawesomefsfuturefuture.applyglobalsgluehtmltoolshttpuvjquerylibjsonlitelaterlifecyclelistenvmagrittrmemoisemimeparallellyprogressrpromisesR6rappdirsRcpprlangrstudioapisassshinysourcetoolsstringistringrvctrswithrxtable

R Expression Add-on

Rendered fromr_expr_addons.Rmdusingknitr::rmarkdownon Dec 17 2024.

Last update: 2024-12-17
Started: 2019-11-14

Shiny Customized Widgets

Rendered fromshiny_customized_widgets.Rmdusingknitr::rmarkdownon Dec 17 2024.

Last update: 2024-12-17
Started: 2019-11-14

Utility Functions

Rendered fromutility_functions.Rmdusingknitr::rmarkdownon Dec 17 2024.

Last update: 2021-02-18
Started: 2019-11-14

Readme and manuals

Help Manual

Help pageTopics
Left-hand side checked assignment Provides a way to assign default values to variables. If the statement `'lhs'` is invalid or 'NULL', this function will try to assign 'value', otherwise nothing happens.%?<-%
Plus-minus operator%+-%
Right-hand side checked assignment Provides a way to avoid assignment to the left-hand side. If the statement `'value'` is invalid or 'NULL', this function will not assign values and nothing happens.%<-?%
A JavaScript style of creating functions%=>%
Get an element with condition that it must be from a list or vector%OF%
Abstract Map to store key-value pairsAbstractMap
Defines abstract queue classAbstractQueue
Action Button but with customized stylesactionButtonStyled
Store/Get key-value pairs in 'shiny' sessionadd_to_session
Convert functions to pipe-friendly functionsas_pipe
Read a Line from the Terminal, but with Default Valuesask_or_default
Ask and Return True or False from the Terminalask_yesno
Evaluate expression in 'async_expr'async
Apply R expressions in a parallel wayasync_expr
Wrapper for 'future.apply::future_lapply'async_flapply
Run jobs in other R sessions without waitingasync_works
Get attached package names in current session (Internally used)attached_packages
Save "Base64" Data to Imagesbase64_to_image
Convert "Base64" Data to Stringbase64_to_string
Encode or decode 'base64'base64-url base64_urldecode base64_urlencode
Calculate Contrasts of Arrays in Different Methodsbaseline_array
Captures Evaluation Output of Expressions as One Single Stringcapture_expr
Color Outputcat2
Check If Packages Are Installed, Returns Missing Packagescheck_installed_packages
Function to clear all elements within environmentclear_env
Convert color to Hex stringcol2hexStr
Collapse Sensors And Calculate Summations/Meancollapse
Compound input that combines and extends shiny inputscompoundInput2
Python-style decorator%D% decorate_function
Convert Integer Vectors To Stringdeparse_svec
Digest R object with source reference removeddigest2
Register customized R code to 'RStudio' shortcutsdipsaus-rstudio-shortcuts rs_add_insertion_shortcut rs_add_shortcut rs_quick_debug rs_remove_shortcut rs_show_shortcut
Make aggregate pipe-friendlydo_aggregate
A dummy function that literally does nothingdo_nothing
Drop 'NULL' values from list or vectorsdrop_nulls
Evaluate expressionseval_dirty
Shiny drag-and-drop file inputfancyFileInput
Calculate Covariance Matrix in Parallelfastcov2
A Wrapper for 'fastmap::fastmap'$.fastmap2 $<-.fastmap2 as.list.fastmap2 fastmap2 length.fastmap2 names.fastmap2 print.fastmap2 [.fastmap2 [<-.fastmap2 [[.fastmap2 [[<-.fastmap2
Calculate single quantile for numerical valuesfastquantile
A Wrapper for 'fastmap::fastqueue'as.list.fastqueue2 fastqueue2 length.fastqueue2 print.fastqueue2 [.fastqueue2 [[.fastqueue2
Generate Shiny element with arrangement automaticallyflex_div
Python-style '"for-else"' functionforelse
Defunct Functions in Package 'dipsaus' The functions or variables listed here are no longer part of the package.dipsaus-defunct get_cpu
Generate a random passwordget_credential
Get or check elements from dots ''...''get_dots missing_dots
Get 'IP' addressget_ip
Detect the type of operating systemget_os
Get Memory Sizeget_ram
Obtain registered input bindingsgetInputBinding
Create a group of named graphic devicesdev_create get_dev_attr graphic-devices
Progress-bar Handlerhandler_dipsaus_progress
Escape HTML stringshtml_asis
Combine, add, or remove 'HTML' classescombine_html_class html_class remove_html_class
Apply each elements with index as second inputiapply
Check whether a function, environment comes from a namespaceis_from_namespace
Apply, but in parallellapply_async2
Apply function with 'rs_exec'lapply_callr
Copy elements to 'fastmap2'list_to_fastmap2
Copy elements to 'fastqueue2'list_to_fastqueue2
Create or Unlock a Lockdipsaus_lock dipsaus_resetlocks dipsaus_unlock lock
Create forked clusters, but more than thatmake_forked_clusters
Create R object map.map rds_map session_map text_map
Mask a function with given variablesmask_function2
Recursively match calls and modify argumentsmatch_calls
Calculates mean and standard error of meanmean_se
Get max RAM size This is an experimental function that is designed for non-windows systemsmem_limit2
Create new function that supports 'quasi-quosure' syntaxnew_function2
Pipe-friendly no-operation functionno_op
Check if a package is installedpackage_installed
Parse Text Into Numeric Vectorsparse_svec
Wrapper to cache key-value pairs and persist across sessionsPersistContainer
Print Directory Treeprint_directory_tree
'Shiny' progress bar, but can run without reactive contextprogress2
Register customized input to enable support by compound inputregisterInputBinding
Restart R Sessionrestart_session
Get 'RStudio' active projectrs_active_project
Verify 'RStudio' versionrs_avail
Use 'RStudio' to open and edit filesrs_edit_file
Schedule a Background Jobrs_exec
Focus on 'RStudio' Consolers_focus_console
Save all documents in 'RStudio'rs_save_all
Use 'RStudio' to Select a Path on the Serverrs_select_path
Add secondary 'CRAN'-like repository to the 'RStudio' settingsrs_set_repos
Get 'RStudio' Viewer, or Return Defaultrs_viewer
Take a screenshot in shiny appsscreenshot
Provides Unique Session ID According to Current R Sessionsession_uuid
Set Shiny Inputset_shiny_input
Get Internal Storage Typeas.character.sexp_type2 print.sexp_type2 sexp_type2
Create Shared Finalization to Avoid Over Garbage Collectionshared_finalizer shared_finalizer.default shared_finalizer.fastmap shared_finalizer.fastmap2 shared_finalizer.R6
Shift Array by Indexshift_array
Simple shiny alert that uses 'JavaScript' promisesclose_alert2 shiny_alert2
Detect whether 'Shiny' is runningshiny_is_running
Standard error of meanste_mean ste_mean.default
Fast Calculation of Sum-squared for Large Matrices/Vectorssumsquared
Synchronize Shiny Inputssync_shiny_inputs
Test whether function has certain argumentstest_farg
Calculate time difference and return a numbertime_delta
Convert file to 'base64' formatto_datauri
Convert bytes to KB, MB, GB,...to_ram_size
Migrate a 'fastmap2' object to a new oneupdate_fastmap2
Update styled action buttonupdateActionButtonStyled
Update compound inputsupdateCompoundInput2
Set up shiny pluginsuse_shiny_dipsaus