Hi Andrea, The R-studio shortcut for running the current line or selection is Ctrl + Enter. The shortcut for sourcing the whole script is Ctrl+Shift+Enter
If you press the 'source' button it will source the whole script - I believe there's a Run-button which will make you able to run the current line or selection, but I don't have R-studio here, so I can check. HTH Ulrik On Wed, 7 Dec 2016 at 17:36 Andrea Nygård Østvik <andrea.ost...@nmbu.no> wrote: > Hi! > > > I have a problem with R studio running the whole script whenever I run one > seperate line at the time. It keeps on running the whole script over and > over and does not read the seperate line. I have exam tomorrow, please > help!! > > > ?Best Regards! > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide > http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. > [[alternative HTML version deleted]] ______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.