Various programming utilities


[Package List] [Top]

Documentation for package ‘R.utils’ version 1.1.1

Help Pages

A B C D E F G H I J L M N O P R S T U V W

-- --

R.utils-package Package R.utils

-- A --

addFinalizerToLast Modifies .Last() to call 'finalizeSession()
Arguments Static class to validate and process arguments
arrayIndex Converts vector indices to array indices
as.character.binmode Converts a binary/octal/hexadecimal number into a string
Assert The Assert class
attachLocally.data.frame Assigns an objects elements locally
attachLocally.environment Assigns an objects elements locally
attachLocally.list Assigns an objects elements locally

-- B --

bunzip2 Bunzip a file

-- C --

callHooks Call hook functions by hook name
callHooks.function Call hook functions
callHooks.list Call hook functions
capitalize Capitalizes/decapitalizes each character string in a vector
colClasses Creates a vector of column classes used for tabular reading
commandArgs Extract Command Line Arguments
copyDirectory Copies a directory
countLines Counts the number of lines in a text file

-- D --

dataFrame Allocates a data frame with given column classes
decapitalize Capitalizes/decapitalizes each character string in a vector
detachPackage Detaches a packages by name
devDone Closes an on-screen (interactive) device
devGetLabel Gets the label of a device
devIsOpen Checks if a device is open or not
devList Lists the indices of the open devices named by their labels
devNew Opens a new device
devOff Closes a device
devSet Activates a device
devSetLabel Sets the label of a device
displayCode Displays the contents of a text file with line numbers and more
doCall Executes a function call with option to ignore unused arguments

-- E --

eps EPS graphics device
extract.array Extract a subset of an array, matrix or a vector with unknown dimensions
extract.default Extract a subset of an array, matrix or a vector with unknown dimensions
extract.matrix Extract a subset of an array, matrix or a vector with unknown dimensions

-- F --

fileAccess Checks the permission of a file
filePath Construct the path to a file from components and expands Windows Shortcuts along the pathname from root to leaf
FileProgressBar A progress bar that sets the size of a file accordingly
finalizeSession Function to call for finalizing the R session

-- G --

getAbsolutePath Gets the absolute pathname string
getParent Gets the string of the parent specified by this pathname
getRelativePath Gets the relative pathname relative to a directory
GString Character string with advanced substitutions
gunzip Gzip/Gunzip a file
gzip Gzip/Gunzip a file

-- H --

hasUrlProtocol Checks if one or several pathnames has a URL protocol

-- I --

inAnyInterval.numeric Checks if a set of values are inside one or more intervals
insert Insert values to a vector at certain positions
intervalsToSeq.matrix Generates a vector of indices from a matrix of intervals
intToBin Converts an integer to a binary/octal/hexadecimal number
intToHex Converts an integer to a binary/octal/hexadecimal number
intToOct Converts an integer to a binary/octal/hexadecimal number
isAbsolutePath Checks if this pathname is absolute
isDirectory Checks if the file specification is a directory
isEof.connection Checks if the current file position for a connection is at the 'End of File'
isFile Checks if the file specification is a file
isOpen.character Checks if there is an open connection in R to a file
isPackageLoaded Checks if a package is loaded or not
isUrl Checks if one or several pathnames is URLs
isZero Checks if a value is (close to) zero or not

-- J --

Java Static class for Java related methods
jpeg2 A JPEG device for Bitmap Files via GhostScript

-- L --

lastModified Gets the time when the file was last modified
LComments The LComments class
listDirectory Gets the file names in the directory
loadObject Method to load object from a file or a connection

-- M --

mapToIntervals.numeric Maps values to intervals
mergeIntervals.numeric Merges intervals
mkdirs Creates a directory including any necessary but nonexistent parent directories

-- N --

NullVerbose A Verbose class ignoring everything

-- O --

onSessionExit Registers a function to be called when the R session finishes
Options The Options class

-- P --

patchCode Patches installed and loaded packages and more
png2 A PNG device for Bitmap Files via GhostScript
ProgressBar Provides text based counting progress bar

-- R --

R.utils Package R.utils
readBinFragments Reads binary data from disjoint sections of a connection or a file
readTable Reads a file in table format
readTableIndex Reads a single column from file in table format
readWindowsShortcut Reads a Microsoft Windows Shortcut (.lnk file)
relibrary Reloads a package
resetWarnings Resets recorded warnings

-- S --

saveObject Saves an object to a file or a connection
seqToHumanReadable Gets a short human readable string representation of an vector of indices
seqToIntervals Gets all contigous intervals of a vector of indices
Settings Class for applicational settings
SmartComments Abstract class SmartComments
sourceDirectory Sources files recursively to either local or global environment
sourceTo Parses and evaluates code from a file or a connection
splitByPattern Splits a single character string by pattern
System Static class to query information about the system

-- T --

TextStatusBar A status bar at the R prompt that can be updated
touchFile Updates the timestamp of a file
toUrl Converts a pathname into a URL

-- U --

unwrap.array Unwrap an array, matrix or a vector to an array of more dimensions
unwrap.data.frame Unwrap an array, matrix or a vector to an array of more dimensions
unwrap.default Unwrap an array, matrix or a vector to an array of more dimensions
unwrap.matrix Unwrap an array, matrix or a vector to an array of more dimensions

-- V --

VComments The VComments class
Verbose Class to writing verbose messages to a connection or file

-- W --

whichVector.logical Identifies TRUE elements in a logical vector
whichVector.matrix Identifies TRUE elements in a logical vector
wrap.array Reshape an array or a matrix by permuting and/or joining dimensions
wrap.data.frame Reshape an array or a matrix by permuting and/or joining dimensions
wrap.matrix Reshape an array or a matrix by permuting and/or joining dimensions
writeBinFragments Writes binary data to disjoint sections of a connection or a file