Write a table or data.frame in defined output file
Examples
df <- data.frame(
col1 = c("treat1", "treat2", "treat3"),
col2 = c(1, 2, 3)
)
out <- writeResults(data = df, toolName = "test", pathOutput = tempdir())
file.exists(out)
#> [1] TRUE
Write a table or data.frame in defined output file
df <- data.frame(
col1 = c("treat1", "treat2", "treat3"),
col2 = c(1, 2, 3)
)
out <- writeResults(data = df, toolName = "test", pathOutput = tempdir())
file.exists(out)
#> [1] TRUE