| new | R Documentation |
Flexible project creation interface. Alias for new_project() that accepts
type as a parameter.
new(
name = NULL,
location = NULL,
type = "project",
browse = interactive(),
...
)
name |
Project name. If NULL (default), prompts interactively. |
location |
Directory path where project will be created. If NULL (default), prompts interactively. |
type |
Project type. One of "project" (default), "project_sensitive", "course", or "presentation". |
browse |
Whether to open the project folder after creation (default: TRUE in interactive sessions) |
... |
Additional arguments passed to 'project_ |
Invisibly returns the result from project_create()
new_project(), new_project_sensitive(), new_presentation(), new_course()
if (FALSE) {
# Create different project types
new("analysis", "~/projects/analysis")
new("study", "~/projects/study", type = "project_sensitive")
new("slides", "~/projects/slides", type = "presentation")
new("course-materials", "~/projects/course", type = "course")
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.