I wonder if there's further documentation and examples of usage for GRETLDATA [ , ] In the documentation the example is gretldata [ , "lg"] and it's not clear to me how to pass arguments. For instance, why is the argument before the comma blank and what does it mean... Howany arguments can we pass , order, etc
On Thu, 18 Jan 2024, 16:31 Sven Schreiber, <sven.schrei...@fu-berlin.de> wrote: > Am 18.01.2024 um 20:22 schrieb Meridiana GeoTopo: > > > Hi there. > I encountered an issue that puzzled me while trying to save an R dataset > data to re-open in Gretl from inside foreign {} end foreign > gretl.export(x) saves in .csv but loses information (column and rows, > keeps only the central data). I tried many set. > As an example, the native AirPassengers dataset: > > /* ------------ script ----------------*/ > set R_functions on > foreign language=R > > library(ggplot2) > library(ggfortify) > library(remotes) > > > autoplot(AirPassengers) > p<-autoplot(AirPassengers, ts.colour = 'blue') > p + ggtitle('AirPassengers') + xlab('Year') + ylab('Passengers') > > data <- as.matrix(AirPassengers) #fails > > Your comment here suggests that it's the first line that somehow fails. > This is purely in the R world, gretl doesn't have anything to do with it. > > It would be helpful if you could trim down your example some more, to get > to the core and expose the data export problem that (perhaps) you are > seeing. For example, maybe try with some trivial and/or artificial data. > > cheers > > sven > > _______________________________________________ > Gretl-users mailing list -- gretl-users@gretlml.univpm.it > To unsubscribe send an email to gretl-users-le...@gretlml.univpm.it > Website: > https://gretlml.univpm.it/postorius/lists/gretl-users.gretlml.univpm.it/ >
_______________________________________________ Gretl-users mailing list -- gretl-users@gretlml.univpm.it To unsubscribe send an email to gretl-users-le...@gretlml.univpm.it Website: https://gretlml.univpm.it/postorius/lists/gretl-users.gretlml.univpm.it/