Learn R Programming

thisutils

Introduction

thisutils is an R package for collecting some useful functions.

Installation

You can install the 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')

Version

0.0.7

License

MIT + file LICENSE

Maintainer

Meng Xu

Last Published

July 20th, 2025

Functions in thisutils (0.0.7)

sparse_cor

A sparse correlation function
try_get

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

Split indices.
normalization

Normalize numeric vector
str_wrap

Wrap text
unnest_fun

Unnest a list-column
thisutils-package

Collection of Utility Functions for Data Analysis and Computing
thisutils_logo

The logo of thisutils
r_square

coefficient of determination (\(R^2\))
print.thisutils_logo

Print logo
rescale

Rescale numeric vector
remove_space

Remove and normalize spaces
download

Download file from the Internet
figlet

figlet
%ss%

Value selection operator
figlet_font

Get a figlet font
add_pkg_file

Add package file
as_matrix

Convert sparse matrix into dense matrix
invoke_fun

Invoke a function with a list of arguments
check_sparsity

Check sparsity of matrix
capitalize

Capitalizes the characters Making the first letter uppercase
simulate_sparse_matrix

Generate a simulated sparse matrix
list_figlet_fonts

List available figlet fonts
pearson_correlation

Correlation and covariance calculation for sparse matrix
parallelize_fun

Parallelize a function
log_message

Print diagnostic message