Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Editing or Viewing data frame in R Console

Tags:

r

I can see the entire data frame in the console. Is there any possible way or any function to view data frame in the R-Console (Editing similar to that of Excel) so that I should be able to edit the data manually?

like image 420
Harish Avatar asked Jan 18 '26 22:01

Harish


1 Answers

S3 method for class 'data.frame'

You can use:

edit(name, factor.mode = c("character", "numeric"),
 edit.row.names = any(row.names(name) != 1:nrow(name)), ...)

Example:

edit(your_dataframe)

You can go through in detail with the help of this link - Here

like image 90
Kartheek Palepu Avatar answered Jan 20 '26 16:01

Kartheek Palepu



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!