R/get_swirl_name.R

#' Get the swirl name for the current user
#'
#' @keywords swirl
#' @export

get_swirl_name<-function(){
    rstudioname<-system("whoami", intern=TRUE)
    swirlname<-gsub(".", "", rstudioname, fixed=TRUE)
    swirlname
}
SOC345/lehmansociology documentation built on May 9, 2019, 11:41 a.m.