Rdocumentation
powered by
Learn R Programming
toscutil (version 2.8.0)
Utility Functions
Description
Base R sometimes requires verbose statements for simple, often recurring tasks, such as printing text without trailing space, ending with newline. This package aims at providing shorthands for such tasks.
Copy Link
Link to current version
Version
Version
2.8.0
2.7.4
2.7.3
2.5.0
2.1.0
Install
install.packages('toscutil')
Monthly Downloads
421
Version
2.8.0
License
MIT + file LICENSE
Issues
3
Pull Requests
0
Stars
1
Forks
0
Repository
https://github.com/toscm/toscutil/
Homepage
https://toscm.github.io/toscutil/
Maintainer
Tobias Schmidt
Last Published
June 28th, 2024
Functions in toscutil (2.8.0)
Search all functions
config_dir
Get Normalized Configuration Directory Path of a Program
config_file
Get Normalized Configuration File Path of a Program
now
Get Current Date and Time as String
norm_path
Return Normalized Path
is.none
Truth checking as in Python
locals
Get specified Environment as List
op-null-default
Return Default if None
predict.numeric
Predict Method for Numeric Vectors
get_pkg_docs
Get Documented Functions in a Package
update_docstring
Update docstring for a Function
split_docstring
Split a docstring into a Head, Param and Tail Part
get_formals
Get formals of a Function
untrace_package
Untraces function calls from a package
rm_all
Remove all objects from global environment
get_docstring
Get docstring for a Function
stub
Stub Function Arguments
read_description_file
Read DESCRIPTION File into a List
getfd
Get File Directory
xdg_data_home
Get XDG_DATA_HOME
xdg_config_home
Get XDG_CONFIG_HOME
getpd
Get Project Directory
ifthen
Shortcut for multiple if else statements
sys.exit
Terminate a non-interactive R Session
function_locals
Get Function Environment as List
help2
Return help for topic
logf
logf function
named
Create automatically named List
trace_package
Traces function calls from a package
home
Get USERPROFILE or HOME
cat0n
Concatenate and Print
DOCSTRING_TEMPLATE
Docstring Template
find_description_file
Find DESCRIPTION File
cat2
Concatenate and Print
caller
Get Name of Calling Function
catfn
Format and Print
catf
Format and Print
capture.output2
Capture output from a command
dput2
Return ASCII representation of an R object
cat0
Concatenate and Print
fg
Foreground Color Codes
catn
Concatenate and Print
catnn
Concatenate and Print
data_dir
Get Normalized Data Directory Path of a Program
corn
Return Corners of Matrix like Objects
check_pkg_docs
Check Documented Functions in a Package
catsn
Concatenate and Print