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]]
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.ostvik at 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 at 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]]
> On 07 Dec 2016, at 12:46 , Andrea Nyg?rd ?stvik <andrea.ostvik at 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!!- if you select everything, "Run" runs everything. So don't. - it's Run, not Source -pd> > > ?Best Regards! > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help at 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.-- Peter Dalgaard, Professor, Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark Phone: (+45)38153501 Office: A 4.23 Email: pd.mes at cbs.dk Priv: PDalgd at gmail.com