Page 1 of 1

Multiple rows in R code

Posted: Thu Jul 30, 2015 7:42 am
by cantagallo
I would like to know if there is a way to run several lines of R code using the Statconn interface, without adding for each line the "xrun". But ideally just once.
Thank you in advance.

Re: Multiple rows in R code

Posted: Thu Jul 30, 2015 7:45 am
by EViews Gareth
Nope.

Re: Multiple rows in R code

Posted: Thu Jul 30, 2015 8:21 am
by startz
Although you can put multiple R commands in one line separated by semicolons.

Re: Multiple rows in R code

Posted: Thu Jul 30, 2015 9:14 am
by cantagallo
Thanks, it's better than nothing.
What about R libraries? Should I call them in the Eviews code or is it sufficient having them installed?

Re: Multiple rows in R code

Posted: Thu Jul 30, 2015 9:27 am
by EViews Gareth
You generally need to load a library in R:

Code: Select all

xrun library(libname)

Re: Multiple rows in R code

Posted: Tue Aug 04, 2015 10:30 am
by cantagallo
Thanks

Re: Multiple rows in R code

Posted: Sun Nov 12, 2017 4:18 pm
by jacarandas
Hi!

Just wondering if the latest EViews 10 support multiple rows in R code to be run without having to put xrun in each line?

For example, would it be possible to run an entire R script in EViews using a single line command to call for it?

Cheers

Re: Multiple rows in R code

Posted: Sun Nov 12, 2017 5:13 pm
by EViews Gareth