[R] Correcting and Adding to Data Frame [RESOLVED]

Rich Shepard rshepard at appl-ecosys.com
Mon Feb 4 17:46:19 CET 2013


On Fri, 1 Feb 2013, Rich Shepard wrote:

>  Running on Slackware here with R-2.15.2. There is a data frame I need to
> edit to correct mis-spellings and to add a row. I used the edit() command
> with emacs but could not find the mis-spelled strings nor figure out how to
> add another row.

   The solution is to apply write.table(), edit the file in emacs, then apply
read.table() to put it back into R format.

Rich



More information about the R-help mailing list