On Mon, Oct 13, 2025 at 4:42 AM Roland Clarke <[email protected]> wrote:
>
> Dear Colleagues,
>
> I am having problems running a simple Gretl script to retrieve variables
> from the FRED database. The script works perfectly when I run it on a
> Mac, but when I run it on my Ubuntu 24.04 it fails on the line:
>
> foreign language=R --send-data
>
> under Ubuntu it generates the following output:
>
> gretl version 2023c
> Current session: 2025-10-13 10:15
>
> ? foreign language=R --send-data
> ?         print("before loading libraries)
> ?         library(fredr)
> ?         print("loaded fredr)
> ?         library(eFRED)
> ?         print("loaded Fred libraries")
> ?         source("functions/data_management.R")
> ?         print("loaded functions")
> ?         Fd <- Fred_data(gretldata$SLIST)
> ?         Fdata <- Fd[[1]]
> ?         write.csv(Fdata, "temp/FRED_full_from_R.csv", row.names = FALSE)
> ? end foreign
> /home/roland/.gretl/R.msg: No such file or directory

Roland, can you tell us, where is "functions/data_management.R" coming
from, and what's the content of gretldata$SLIST? As things stand we're
not in a position to replicate this issue. I'd also note, there are
some unclosed quotes above that would presumably halt execution in R,
but maybe that's just a matter of transcription.

Allin Cottrell
_______________________________________________
Gretl-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Website: 
https://gretlml.univpm.it/postorius/lists/gretl-users.gretlml.univpm.it/

Reply via email to