write_clipboard: help with path slashes and data.frame name vectors

View source: R/helper_functions.R

write_clipboardR Documentation

help with path slashes and data.frame name vectors

Description

helper functions - path slashes and data.frame name vectors

Usage

write_clipboard(x)

Arguments

x

(optional) path string

Details

helper functions - path slashes and data.frame name vectors


Revision History

1.0 2021 Oct 28 Created
1.0 2024 Oct 01 add nms_vec example, move to underscores from camel calse

Value

either an R compatible path

or, in the case of nms_vec, a vector of R compatible data.frame column names

Author(s)

Jacob Strunk <someone@somewhere.com>

See Also

readClipboard
writeClipboard
shQuote

Examples


#these take a path on the clipboard (ctrl+C) and makes them R compatible
bs()
fs()
dftest=as.data.frame(t(1:30))
nms_vec(dftest)



jstrunk001/RForInvt documentation built on April 17, 2025, 5:02 p.m.