Welcome to rlike

Python package rlike provides some basic functions which are available in R but recoded into Python

File operations

  • writeLines, readLines
  • savePickle, readPickle, writeZip
  • zip_archive, unzip

Path operations

  • dirname, basename
  • tempdir, tempfile
  • list_files, file_ext, file_remove, file_copy, unlink
  • file_path, file_path_sans_ext
  • getwd, setwd

General object operations

  • rm
  • setdiff, intersect, union, match
  • unique, append
  • match_arg

Text operations

  • letters, LETTERS
  • tolower, toupper
  • paste
  • nchar, substr, strsplit

Dates

  • Sys_Date
  • Sys_time

Environment

  • Sys_getenv
  • Sys_setenv
  • Sys_unsetenv