RDocumentation
Moon
Learn R
Search all packages and functions
⚠️
There's a newer version (0.2.1) of this package.
Take me there.
Xmisc (version 0.0.10)
Xiaobei's miscellaneous classes and functions
Description
This is Xiaobei's miscellaneous classes and functions useful when developing R packages, particularly for OOP using R Reference Class.
Copy Link
Copy
Link to current version
Version
Version
0.2.1
0.1.0
0.0.10
0.0.9
Down Chevron
Install
install.packages('Xmisc')
Monthly Downloads
45
Version
0.0.10
License
GPL (>= 2)
Maintainer
Xiaobei Zhao
Last Published
June 16th, 2014
Functions in Xmisc (0.0.10)
Search functions
removeone-methods
removeone-methods
character_to_logical
Convert a character string to logical.
Argument-class
Argument
vchunk
Chunk a vector into parts
is.loglevel
General test of an object being interpretable as loglevel
logme
Log the name and the content of an R object
R5.value.default
R5.value.default
dfchunk
Chunk data.frame into parts
dfconcat
Concatenate data.frame into a string
is.dir
Is it a directory
Sys.Epoch
Get system epoch
popmany-methods
popmany-methods
popmany,list-method
Remove and return many elements from a list
is.uninitializedField
General test of a class being uninitializedField
endswith
Determine if a character string "ends with" specified characters
R5.value.parse
R5.value.parse
make.dir
Make a directory recursively
is.linux
Is the OS Linux
ValueParser-class
Parser for values
startswith
Determine if a character string "starts with" specified characters
popone,list-method
Remove and return an element from a list
getone-methods
getone-methods
popone-methods
popone-methods
rstrip
Strip a string with given chars at the (right) end
is.file
Is it a file
printme
Print the name and the content of an R object
get.loglevel
Define log levels
schunk
Chunk a string into parts
ArgumentParser-class
Parser for command-line options and arguments
lprintf
String formatting given an environment
removeone,list-method
Remove an element from an R object
valid.mode
Return a valid mode given digits
stampme
Print a message with a time stamp
List-class
A class inherited directly from envRefClass
is.windows
Is the OS Windows
valid.arg.index
Check validity of an index
atos
Convert an R object to a string
dir.exists
Does the directory exist
is.activeBindingFunction
General test of a class name being activeBindingFunction
write.data.table
A wrapper of write.table
strip
Strip a string with given chars at both ends
is.package.loaded
Check if a package is loaded
as.loglevel
Coerces an object to loglevel
Xmisc-package
Xiaobei's miscellaneous classes and functions
check.packages
Check if a package can be loaded
logsave
Log a `save`
getone,list-method
Get an element by index or name from a list
raw_input
Input from the terminal (in interactive use)
strsplit.first
Split a string at the first `split'
lstrip
Strip a string with given characters at the beginning (left end)
xRefClass-class
Extended Reference Class