unk: Starts GUI interface for unknownR

Description Usage Arguments Details Value References See Also Examples

View source: R/unk.R

Description

Starts GUI interface for unknownR.

Usage

1
unk(pkgs=c("base","utils"),fnam=path.expand("~/.knowns.Rdata"),top=30,size=20,delay=3,redDelay=2)

Arguments

pkgs

Names of packages from which to build function list.

fnam

Full path to data file containing your knowns. By default this is .knowns.Rdata in your home folder.

top

Number of packages from Crantastic to include.

size

Font size. The main label displays the function name at 2*size.

delay

How long each function is displayed before being turned red, by default 3 seconds.

redDelay

How long a function is red before 'Don't know' is assumed, by default 2 seconds.

Details

Fast and fun way to discover useful functions in R that you didn't know you didn't know. Cheat sheets, reference cards, tip of the days, ticking off the index of reference manuals and books (manually) are other good ways to discover unknown unknowns, but how do you know you haven't missed something, and how do you keep up to date?

Using unk() for the first time takes about 40 mins. Your known knowns are saved leaving a list of known unknowns to work through at your leisure (using learn()). Once you 'know' all functions you have confidence you haven't missed anything. Chances are you will learn at least one new function that you wished you knew before.

When R is upgraded, simply run unk() again. Any new functions added by R-core will automatically be presented to you (in case you missed them from NEWS).

Tip: If you can tell from a function name alone that you aren't interested in it (and you are sure) then press SPACE to ignore it. Knowing that you don't need to know something is considered the same as knowing you know it by this package. That way it won't pop up in your known unknowns. Really, you are panning for gold.

Value

Nothing is returned. Responses are saved to fnam.

References

Homepage: http://unknownr.r-forge.r-project.org/

Many thanks to Greg Snow for his answer on R-help, 28 May 2010. A search returned his answer several months later. unk() makes extensive use of the after function in Tcl/Tk.

http://r.789695.n4.nabble.com/Wait-for-keystroke-or-timeout-tp2233895p2234858.html

See Also

learn

website statistics

Examples

1
2
3
4
   ## Not run: 
   unk()
   learn()
## End(Not run)

unknownR documentation built on May 2, 2019, 5:10 p.m.

Related to unk in unknownR...