This is a test version of Biostars. For the public version, visit https://www.biostars.org.
script R in ubuntu

how can i run a R script in ubuntu line by line similar windows that f5 do this

r

In what environment? From the R command line, or in R Studio? Or?

thanks i have saved a R script by windows before and now i install R in ubuntu. now i open R command and i can type my command but i want to open my script and run it line by line

It sounds like you're using Rstudio on Windows, so just use that on Linux too.

no i type in ubuntu terminal "R" and then i start it i can run all script by "which Script" and then type the name of file but it run over the file i want to do this line by line and see the answer every time thanks

Then just copy and paste the lines in. That functionality is from RStudio when debugging a script.

it means that i can not open a Rscript beside terminal and run lines by script no by terminal

Hello m.teimurian!

We believe that this post is does not fit the main topic of this site.

An R usage question; poorly-defined without reference to a bioinformatics problem

For this reason we have closed your question. This allows us to keep the site focused on the topics that the community can help with.

If you disagree please tell us why in a reply below, we'll be happy to talk about it.

Cheers!

0 answers

No answers yet.

Log in to answer this question.