Skip to content

How to edit a dataframe/tibble in R console

2 messages · Yousri Fanous

#
I recently installed R 3.6.3 on my windows laptop.

R version 3.6.3 (2020-02-29)

I am trying to import a stata .dta file to R
All works as expected.
[1] "tbl_df"     "tbl"        "data.frame"


Now I cannot use the edit command with a tibble or a data frame
Error in edit.data.frame(rootstock) :
  can only handle vector and factor elements


I noticed that their is an add-on package editData for Rstudio, but I
cannot use it from the console:
Error: RStudio not running


How can I edit a tibble/dataframe from the console?


Yousri Fanous

Software Developer

IBM Canada
#
Thank you Jim.
It works like a charm

Yousri

On Sat, Apr 25, 2020 at 11:25 PM Yousri Fanous <yousri.fanous at gmail.com>
wrote: