Thank you. Perhaps I should remark that if the data in Gretl are time
series and R is called from Gretl everything works as expected and R
opens with the timeseries loaded. For reference the command passed to
R is echoed in R as
"gretldata" <- ts (t (matrix (data = c(
+
0.000977608 , 1 , NA , -0.005033 , 0.0313776 , -0.0504712 ,
+ -0.00131798 , 1 , NA , -0.0317477 , -0.02995 .... [TRUNCATED]
In the non time series context I copied and pasted the R read.table
command and it did work as expected.
On 11/05/07, Allin Cottrell <cottrell(a)wfu.edu> wrote:
On Tue, 8 May 2007, John C Frain wrote:
> Below I have included an extract from my console after calling R
> from Gretl. After the call i get the message
>
> > gretldata <- read.table("C:/Documents and Settings/John C
Frain/Application
> > Data/gretl/Rdata.tmp", header=TRUE)
> Error in eval.with.vis(expr, envir, enclos) :
> could not find function "read.table"
>
> The function read.table is available. Entering the command
> passed by Gretl to R in the console works perfectly.
I'm not seeing this problem on Linux, but I do see it with
Rgui.exe on Windows. I may be wrong, but it looks like an R
bug, since if you copy the failed command and paste it into the
next line it works fine. I'll see if I can find anything by
Googling.
Allin.
_______________________________________________
Gretl-users mailing list
Gretl-users(a)lists.wfu.edu
http://lists.wfu.edu/mailman/listinfo/gretl-users
--
John C Frain
Trinity College Dublin
Dublin 2
Ireland
www.tcd.ie/Economics/staff/frainj/home.html
mailto:frainj@tcd.ie
mailto:frainj@gmail.com