hugo_show_history: Dispays history of hugo investigation.

Description Usage Arguments Note Author(s) Examples

Description

Each usage of any hugo function adds an entry about it to a hidden variable in hugo environment which contains the whole history of your investigation. hugo_show_history(), displays all the entries with additions of paths to files created by functions hugo_memorize*.

Usage

1
2
hugo_show_history(last = NULL, first = NULL, specyfic = NULL,
  restart = F)

Arguments

last

the number of entries from the beginning of the history to display.

first

the number of entries from the end of the history to display.

specyfic

is a natural vector ponting out which particular enrties should be shown.

restart

If true, the history of investigation will reset.

Note

maximum one argument may not be NULL.

Providing variables which would result in showing more entries than the current history contains or showing entries with indexes not belonging to history index set, cuts displaying. See "examples".

Author(s)

Maciej Kurek

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
## Not run: 
# Displaying lat 10 entries of the investigation history:
hugo_show_history(10)

# Displaying first 10 entries:
hugo_show_history(first=10)

# Displaying some specyfic entries:
hugo_show_history(specyfic=c(1,4,7))

# Let's assume there are 10 entries in the history. 
# Following usage will display all of theese entries.

hugo_show_history(20), hugo_show_history(first=15)

# This usage will show only entries with indexes 1,3,7 :

hugo_show_history(specyfic=c(-2,1,3,7,12,15))

 # Reseting history :
hugo_show_history(reset = T)

## End(Not run)

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