Learn R Programming

thisutils

Introduction

thisutils is an R package for providing utility functions for data analysis and scientific computing. Includes functions for logging, parallel processing, and other computational tasks to streamline workflows.

Installation

Install CRAN version:

install.packages("thisutils")
# or
if (!require("pak", quietly = TRUE)) {
  install.packages("pak")
}
pak::pak("thisutils")

Install development version from GitHub use pak:

if (!require("pak", quietly = TRUE)) {
  install.packages("pak")
}
pak::pak("mengxu98/thisutils")

Usage

Please reference here.

Copy Link

Version

Install

install.packages('thisutils')

Monthly Downloads

797

Version

0.4.2

License

MIT + file LICENSE

Maintainer

Meng Xu

Last Published

February 23rd, 2026

Functions in thisutils (0.4.2)

meanp

Mean P-value
sparse_cor

Sparse correlation function
split_indices

Split indices.
remove_space

Remove and normalize spaces
r_square

Coefficient of determination (\(R^2\))
remove_r

Check and remove R packages
simulate_sparse_matrix

Generate a simulated sparse matrix
wilkinsonp

Wilkinson's P-value
votep

Vote P-value
parse_inline_expressions

Parse inline expressions
print.thisutils_logo

Print logo
thisutils_logo

The logo of thisutils
thisutils-package

Collection of Utility Functions for Data Analysis and Computing
pearson_correlation

Correlation and covariance calculation for sparse matrix
parallelize_fun

Parallelize a function
sump

Sum P-value
table_to_matrix

Switch table to matrix
try_get

Try to evaluate an expression a set number of times before failing
unnest_fun

Unnest a list-column
capitalize

Capitalize the first letter of each word
check_r

Check and install R packages
add_pkg_file

Add a package file and print package information
download

Download file from the Internet
get_verbose

Get the verbose option
figlet_font

Get a figlet font
get_namespace_fun

Get a function from a namespace
as_matrix

Convert matrix into dense/sparse matrix
check_sparsity

Check sparsity of matrix
figlet

The figlet function
maximump

Maximum P-value
matrix_process

Process matrix
matrix_to_table

Switch matrix to table
%ss%

Value selection operator
invoke_fun

Invoke a function with a list of arguments
max_depth

Maximum depth of a list
normalization

Normalize numeric vector
minimump

Minimum P-value
log_message

Print formatted message