Читать книгу The Big R-Book - Philippe J. S. De Brouwer - Страница 41

Editing variables interactively

Оглавление

To create a variable x, type:

scan()

x <- scan()

will start an interface that invites you to type all values of the vector one by one.

In order to get back to the command prompt: type enter without typing a number (ie. leave one empty to end).

The Big R-Book

Подняться наверх