Learn R Programming

r2dictionary (version 0.3)

define: Define words in english

Description

Given a word, a mini-dictionary is searched and results are retrieved with the relevant definitions

Usage

define(term, limitResult = 5, printResult = TRUE)

Value

Definition of word if it exists

Arguments

term

The term for which the definition is requested

limitResult

The limit of how many results to show

printResult

Print the result to console. If set to FALSE, then results will be return in a vector

Examples

Run this code
if (FALSE) {
wordtodefine <- "smile"
define(wordtodefine)
}

Run the code above in your browser using DataLab