bottomleft | prints the bottomleft corner of a 2D array (matrix,... |
bottomright | prints the bottomright corner of a 2D array (matrix,... |
catn | utility function to cat undefined number of arguments and end... |
check_csv_region | identifies the local csv type used in the provided file |
clc | clear the R console in RSTUDIO |
clean_path | noramlize path (get rid of ..) but default to forward slash |
clear | 'clear' will clear the global environment or, when specified,... |
clearplots | closes any open plots in the RStudio viewer pane |
clip_path | replaces backslashes with forward slashes in a path on the... |
combine_path | utility function to combine pieces of a path into a nice... |
convert_csv_regional_style | convert a CSV from one regional style to another |
convert_datetime_to_timeid | provided a vector of string dates in the standard year 2018... |
csv_to_vector | splits a comma separated character string into a character... |
distribute_vector_over_matrix | distributes per row each element of m_distribute over the... |
docvar | cats a string representation of a variable's structure, and... |
excel_cell_to_RC | convert an excel cell reference to a list of row and number... |
file_backup | will create a backup of a file where the file is suffixed... |
fill_A_NA_with_B | fill NA in vector A with values from vector B |
fractionalise | returns a vector where every element is replaced by its... |
get_native_list_separator | return the list separator character as set up in your system... |
get_season_from_date | returns the season string for a given date |
get_session_type | Provides information about the type of sessions we are... |
init_project_folder | given that the workdir is project/src this will create... |
insert_at_element | insert a vector of elements in a vector before or after a... |
letters_to_numbers | convert excel letter column reference to numeric |
lines_of_code_per_file | count lines of code in R & python files in your project |
list_code_files | returns a character vector of absolute code file paths |
list_of_vectors_to_dt | creates a new data.table where every list element which is a... |
load_packages_robustly | Test whether the provided vector of package is installed on... |
loc | shortcut for list_code_file and count_lines_of_code that... |
merge_lists_by_key | merge 2 lists of lists together by common key |
merge_overwrite | merge a data.table x and y (left join) and overwrite the... |
move_data_columns_right | rearrange the data.table columns in place so index columns... |
named_list | create a list where for each element the name of the variable... |
nearest_pos | looks for the value closest to the provided values, in a... |
nearest_val | looks for the value closest to the provided values, in a... |
numeric_date_to_iso8601 | converts a numeric date (e.g. when reading an excel file) to... |
print_globalenv_size | returns the size of the global workspace in a human readable... |
print_var_size | returns the size of a single variable in a human readable... |
pt | create a progress string like "(5/10)" |
remove_all_spec_char | removes all non alphanumerical characters except - and _ from... |
remove_tail_na | removes tail rows that contain NA values, up until the last... |
remove_win_reserved_char | removes characters from a string that are removed in the... |
rescale | rescale a numerical vector using a new total sum value |
robust_fread | fread should be able to auto detect CSV seperator, this... |
string_gently_to_boolean | converts a string to a boolean if it holds true or false, but... |
string_gently_to_numeric | converts a string to a numeric if it holds a number, but... |
str_left | show leftmost x characters from string s |
str_right | show rightmost x characters from string sTitle |
tik | utility function to cat undefined number of arguments and end... |
tok | alias for toc() to be more in line with overloaded function... |
topleft | prints the topleft corner of a 2D array (matrix, data.frame,... |
topright | prints the topright corner of a 2D array (matrix, data.frame,... |
tstamp | return a string timestamp in ISO8601 using the provided... |
tstampnum | version of tstamp without any special characters (only... |
two_column_csv_to_list | parses a 2 column csv file into a list, usefull for options... |
two_column_xlsx_to_list | parses a 2 column xlsx file into a list, usefull for options... |
update_jrutils_package | run this to update the sma_r_utils package from a source... |
vector_to_csv | returns a character vector as a comma seperated string |
wopen | utility function to open path in windows explorer |
write_table_to_clipboard | shortcut to put your matrix, data.frame or data.table on your... |
wtf | open a data.frame in excel |
wtx | open data.frame in temporary excel file |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.