Description Usage Arguments Details Value TODO Examples
Making data.table and call-lists, their names, and their outputs work hand in hand. This function is for testing only and not for use in real work (yet)
1 2 3 | p_call(..., envir = .GlobalEnv)
fn(...)
|
... |
Accepts any R object. |
envir |
The environment you want to see the final output land inside. Default is global environment. |
This may or may not be a wild goose chase.
A data.table object. Not for use, more for demonstration purposes.
Needs review, documentation, and rewrite.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | ## Not run:
DT <- data.table(1:10, letters[1:10])
letter_l <- as.list(LETTERS[1:10])
# i cant seem to save this print statement, but w/e not really needing to either
p_call("Hey", "Look!", DT, "dont try this at home", letter_l, "but", "have fun")
dt_call[call_char=="p_call", call_in]
dt_call[call_char=="DT", output]
vec_string <- c("this", "is", "a", "string")
vec_numeric <- c(1, 1, 2, 3, 5, 8, 13)
vec_bool <- c(TRUE, FALSE, FALSE, TRUE)
p_call(DT, vec, "phrase")
p_call("long string with \n characters to for the return line")
p_call("a mixture of every conceivable usage case")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.