Добавил:
Upload Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
Eviews5 / EViews5 / Docs / EViews 5 Users Guide.pdf
Скачиваний:
188
Добавлен:
23.03.2015
Размер:
11.51 Mб
Скачать

Copying Tables to the Clipboard—437

We see that the B1 and C1 cells are merged, as indicated by the large selection rectangle surrounding the merged cells. Editing the value of the merged cells will replace the value in the cell B1, but has no effect on hidden cells, in this case C1.

Bear in mind that the C1 cell has not been cleared; its contents have merely been hidden behind B1 in the merged cell.

If the merged cell is selected, toggling Merge Cell +/- will unmerge the cell so that cells are returned to their original form. The contents of C1 will once again be visible and may be modified using any of the table display formatting tools.

Copying Tables to the Clipboard

You may copy-and-paste a table to the Windows clipboard, from which you may paste the table contents into your favorite spreadsheet or word processing software.

Simply select the cells that you wish to copy and then choose Edit/Copy from the EViews main menu, or Copy from the right mouse button menu. The Copy Precision dialog box will open, providing you with the option of copying the numbers as they appear in the table, or at their highest internal precision.

After you make a choice, EViews will place the table on the clipboard in Rich Text Format (RTF), allowing you to preserve the formatting information built into the table. Thus, if you copy-and-paste a table from EViews into Microsoft Word or another program which supports RTF, you will create a nicely formatted table containing your results.

To paste the clipboard contents into another application, switch to the destination application and select Edit/Paste. Note that some word processors provide the option of pasting the contents of the clipboard as unformatted files. If you wish to paste the table as unformatted text, you should select Edit/Paste Special.

438—Chapter 14. Graphs, Tables, and Text Objects

Saving Tables to a File

EViews allows you to save your table objects in several file formats: Comma Separated Value (CSV), tab-delimited text (ASCII), Rich Text Format (RTF), or a Web page (HTML) file.

To save the table to disk, with the table window active or with table cells selected, right mouse click or select Proc, then select Save table to disk... to bring up the Table File Save dialog. The dialog displays default values from the global settings.

In the top portion of the dialog, you should provide the name of the file you wish to create. EViews will automatically append an extension of the proper type to the name (here, “.HTM” since we are saving a Web HTML file), and will prepend the default path if an explicit path is not provided.

Next, select the File type. You may select

Comma Separated Value, Tab Delimited Text-ASCII, Rich Text Format, or Web page. The options section of the dialog

allows you to save the entire table or only those cells that are currently selected, and, for HTML file output, to scale the table size.

You may also specify options for how numbers are to be treated when written. You may specify a Number format so that numbers are written As displayed in the table, or using Full precision. In addition, you may change the text used to write missing values.

Table Commands

EViews provides tools for performing extensive table customization from the command line or using programs. See “Table” (p. 187) in the Command and Programming Reference for additional details.

Text Objects

Some output views have no formatting and are simple displays of text information. Examples are representations of an equation and results from X-11 seasonal adjustment. If you freeze one of these views, you will create a text object.

You can also create a blank text object by selecting Object/New Object.../Text in the main EViews menu or by simply typing “text” in the command window. Text objects may be

Text Objects—439

used whenever you wish to capture textual data that does not contain any formatting information.

440—Chapter 14. Graphs, Tables, and Text Objects

Соседние файлы в папке Docs