[R] Error exporting dataframe from Julia to R with Feather
Jeff Newmiller
jdnewm|| @end|ng |rom dcn@d@v|@@c@@u@
Thu Aug 8 19:28:07 CEST 2019
If R crashes, RStudio typically also crashes... so not necessarily news to them.
I will say that reproducible examples are nearly always necessary in cases like this to obtain meaningful answers from anyone, and the output of sessionInfo() is also usually needed.
On August 8, 2019 8:35:49 AM PDT, Bert Gunter <bgunter.4567 using gmail.com> wrote:
>That is a better path, I agree.
>
>However, I suspect that RStudio would still like to know about the
>issue,
>even *if* feather/R is what crashes. They probably do not want RStudio
>to
>crash even so.
>
>-- Bert
>
>On Thu, Aug 8, 2019 at 8:29 AM peter dalgaard <pdalgd using gmail.com> wrote:
>
>> 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 using 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 using 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 using 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 using 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 using cbs.dk Priv: PDalgd using gmail.com
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>
> [[alternative HTML version deleted]]
>
>______________________________________________
>R-help using 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.
--
Sent from my phone. Please excuse my brevity.
More information about the R-help
mailing list