Luigi Marongiu
2019-Aug-08 14:08 UTC
[R] Error exporting dataframe from Julia to R with Feather
Hello, since I am encountering a lot of problems exporting dataframes from julia to R (there is always something wrong with the formatting, probably a missing quote) so I am trying to use Feather to do the job. I have installed Feather in Julia with `pkg.add("Feather")` and imported it with `using Feather`. I created a dataframe and saved it with `Feather.write("/dir/dataframe.feather", df)` and it worked. I can even open it back with `df Feather.read("/dir/dataframe.feather")` and get: `julia> nrow(df) 128544`. The problem is with R. I am using Rstudio to test each step. I installed the package, imported it with `library(feather)` and used it as: ``` df = read_feather("/dir/dataframe.feather") ``` and then Rstudio simply crashes. any idea why? Thank you
Bert Gunter
2019-Aug-08 14:34 UTC
[R] Error exporting dataframe from Julia to R with Feather
You may have to contact RStudio about this. RStudio is a separate IDE independent of R -- i.e. developed and maintained by a separate organization from the R project. Bert Gunter "The trouble with having an open mind is that people keep coming along and sticking things into it." -- Opus (aka Berkeley Breathed in his "Bloom County" comic strip ) On Thu, Aug 8, 2019 at 7:08 AM Luigi Marongiu <marongiu.luigi at gmail.com> wrote:> Hello, > > since I am encountering a lot of problems exporting dataframes from > julia to R (there is always something wrong with the formatting, > probably a missing quote) so I am trying to use Feather to do the job. > > I have installed Feather in Julia with `pkg.add("Feather")` and > imported it with `using Feather`. I created a dataframe and saved it > with `Feather.write("/dir/dataframe.feather", df)` and it worked. I > can even open it back with `df > Feather.read("/dir/dataframe.feather")` and get: `julia> nrow(df) > 128544`. > The problem is with R. I am using Rstudio to test each step. > I installed the package, imported it with `library(feather)` and used it > as: > ``` > df = read_feather("/dir/dataframe.feather") > ``` > and then Rstudio simply crashes. > any idea why? > Thank you > > ______________________________________________ > 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]]
peter dalgaard
2019-Aug-08 15:29 UTC
[R] Error exporting dataframe from Julia to R with Feather
Alternatively, try running your example from plain R (in a terminal, R.app, or Rgui, depending on your platform), and see if the problem occurs without RStudio in the equation. If it does, then the feather package probably owns the problem. -pd> On 8 Aug 2019, at 16:34 , Bert Gunter <bgunter.4567 at gmail.com> wrote: > > You may have to contact RStudio about this. RStudio is a separate IDE > independent of R -- i.e. developed and maintained by a separate > organization from the R project. > > Bert Gunter > > "The trouble with having an open mind is that people keep coming along and > sticking things into it." > -- Opus (aka Berkeley Breathed in his "Bloom County" comic strip ) > > > On Thu, Aug 8, 2019 at 7:08 AM Luigi Marongiu <marongiu.luigi at gmail.com> > wrote: > >> Hello, >> >> since I am encountering a lot of problems exporting dataframes from >> julia to R (there is always something wrong with the formatting, >> probably a missing quote) so I am trying to use Feather to do the job. >> >> I have installed Feather in Julia with `pkg.add("Feather")` and >> imported it with `using Feather`. I created a dataframe and saved it >> with `Feather.write("/dir/dataframe.feather", df)` and it worked. I >> can even open it back with `df >> Feather.read("/dir/dataframe.feather")` and get: `julia> nrow(df) >> 128544`. >> The problem is with R. I am using Rstudio to test each step. >> I installed the package, imported it with `library(feather)` and used it >> as: >> ``` >> df = read_feather("/dir/dataframe.feather") >> ``` >> and then Rstudio simply crashes. >> any idea why? >> Thank you >> >> ______________________________________________ >> 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]] > > ______________________________________________ > 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