public interface RProject extends RProjectExecuteCalls, RProjectWorkspaceCalls, RProjectDirectoryCalls, RProjectPackageCalls
| Modifier and Type | Method and Description |
|---|---|
RProjectDetails |
about()
About project.
|
void |
close()
Close project.
|
void |
close(ProjectCloseOptions options)
Close project.
|
void |
delete()
Delete project.
|
java.io.InputStream |
export()
Export project.
|
RProjectDetails |
grant(java.lang.String username)
Grant project authorship to another user.
|
boolean |
ping()
Ping project.
|
RProjectDetails |
recycle()
Recycle R session on project.
|
RProjectDetails |
recycle(boolean preserveWorkspace,
boolean preserveDirectory)
Recycle R session on project.
|
RProjectDetails |
save()
Save project.
|
RProjectDetails |
save(RProjectDetails details)
Save project.
|
RProjectDetails |
save(RProjectDetails details,
ProjectDropOptions dropOptions)
Save project.
|
RProject |
saveAs(RProjectDetails details)
Save-as project.
|
RProject |
saveAs(RProjectDetails details,
ProjectDropOptions dropOptions)
Save-as project.
|
RProjectDetails |
update(RProjectDetails about)
Update project.
|
deleteResults, downloadResults, executeCode, executeCode, executeExternal, executeScript, executeScript, executeScript, executeScript, flushHistory, getConsole, getHistory, interruptExecution, listResultsdeleteObject, deleteObject, getObject, getObject, getObjects, getObjects, listObjects, listObjects, loadObject, pushObject, pushObject, saveObject, storeObject, transferObject, uploadObjectdownloadFiles, downloadFiles, listFiles, loadFile, transferFile, uploadFile, writeFileattachPackage, attachPackage, detachPackage, detachPackage, listPackagesRProjectDetails about()
RProjectDetailsboolean ping()
throws RClientException,
RSecurityException
RClientException - if RClient fails to complete call.RSecurityException - if DeployR server security conditions not met on call.RProjectDetails update(RProjectDetails about) throws RClientException, RSecurityException
RClientException - if RClient fails to complete call.RSecurityException - if DeployR server security conditions not met on call.RProjectDetailsRProjectDetails grant(java.lang.String username) throws RClientException, RSecurityException
RClientException - if RClient fails to complete call.RSecurityException - if DeployR server security conditions not met on call.RProjectDetailsRProjectDetails save() throws RClientException, RSecurityException
RClientException - if RClient fails to complete call.RSecurityException - if DeployR server security conditions not met on call.RProjectDetailsRProjectDetails save(RProjectDetails details) throws RClientException, RSecurityException
RClientException - if RClient fails to complete call.RSecurityException - if DeployR server security conditions not met on call.RProjectDetailsRProjectDetails save(RProjectDetails details, ProjectDropOptions dropOptions) throws RClientException, RSecurityException
RClientException - if RClient fails to complete call.RSecurityException - if DeployR server security conditions not met on call.RProjectDetailsRProject saveAs(RProjectDetails details) throws RClientException, RSecurityException
RClientException - if RClient fails to complete call.RSecurityException - if DeployR server security conditions not met on call.RProjectRProject saveAs(RProjectDetails details, ProjectDropOptions dropOptions) throws RClientException, RSecurityException
RClientException - if RClient fails to complete call.RSecurityException - if DeployR server security conditions not met on call.RProjectRProjectDetails recycle() throws RClientException, RSecurityException
Recycles the R session associated with the project by deleting all R objects from the workspace and all files from the working directory.
Recommended for temporary and blackbox projects. Recycle persistent projects with caution as this operation can not be reversed.
RClientException - if RClient fails to complete call.RSecurityException - if DeployR server security conditions not met on call.RProjectDetailsRProjectDetails recycle(boolean preserveWorkspace, boolean preserveDirectory) throws RClientException, RSecurityException
Recycles the R session associated with the project by deleting all R objects from the workspace and all files from the working directory.
Workspace objects and/or directory files can be preserved on a recycle by enabling the respective parameter.
Recycling a project is a convenient and efficient alternative to starting over by closing an existing project and then creating a new project.
Recommended for temporary and blackbox projects. Recycle persistent projects with caution as this operation can not be reversed.
RClientException - if RClient fails to complete call.RSecurityException - if DeployR server security conditions not met on call.RProjectDetailsvoid close()
throws RClientException,
RSecurityException
RClientException - if RClient fails to complete call.RSecurityException - if DeployR server security conditions not met on call.void close(ProjectCloseOptions options) throws RClientException, RSecurityException
RClientException - if RClient fails to complete call.RSecurityException - if DeployR server security conditions not met on call.ProjectCloseOptionsvoid delete()
throws RClientException,
RSecurityException
RClientException - if RClient fails to complete call.RSecurityException - if DeployR server security conditions not met on call.java.io.InputStream export()
throws RClientException,
RSecurityException
RClientException - if RClient fails to complete call.RSecurityException - if DeployR server security conditions not met on call.