hugo_continue_investigation: Continue Hugo investigation

Description Usage Arguments Details Author(s) See Also Examples

Description

Loads all important variables and all packages from saved investigation. The investigation can be saved with hugo_save_investigation function.

Usage

1
hugo_continue_investigation(path = NULL, session_name = NULL, envir = .GlobalEnv)

Arguments

path

name of a directory in which the investigation is stored

session_name

name of a session to be restored

envir

an environment to load variables. Global Environment by default.

Details

Each investigation can consist of multiple sessions and thus if session_name is not provided, the function either loads the data if only one session exists or asks user to type the session name which is going to be restored. The data is loaded from 'resources/{session_name}' folder, which contains two files: variables and packages. The first one keeps all important variables, while the second one is used to load all packages which were attached during the saved investigation. The function tries to load compatible versions of packages, or, if it is not possible, installs latest versions of troublesome packages.

Author(s)

Mateusz Kobylka

See Also

hugo_save_investigation, hugo_start_investigation

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
## Not run: 

hugo_start_investigation("iris")

## New investigation started in  iris

my_boxplot <- boxplot(iris$Sepal.Length)

hugo_save_investigation("iris_session1")

## iris_session1  succesfully saved.

remove(my_boxplot)
hugo_continue_investigation("iris")

## Loading required packages to continue investigation ...
## Session iris_session1 from investigation iris sucessfully restored.
## End(Not run)

hugo4r/hugo documentation built on May 29, 2019, 11:05 p.m.