createCsv | R Documentation |
This is a legacy alias for the 'to.csv' function to maintain compatibility with older code.
createCsv(df, df_name = NULL, path = ".", skip_prompt = FALSE)
df |
Data frame to be exported to CSV format. |
df_name |
Optional; a custom file name for the saved CSV file. If not provided, the name of the data frame variable is used. The function adds the ".csv" extension automatically. |
path |
Character string specifying the directory path where the "tmp" folder and CSV file should be created. Defaults to the current working directory. |
skip_prompt |
Logical. If TRUE, skips the confirmation prompt. If FALSE (default), will prompt for confirmation unless the user has previously chosen to remember their preference. |
Invisible TRUE if successful. The function writes a CSV file to the specified path and prints a message indicating the file's location.
## Not run:
createCsv(prl01)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.