[R] Unexpected YAML

Jeff Newmiller jdnewm|| @end|ng |rom dcn@d@v|@@c@@u@
Tue Jul 31 17:19:28 CEST 2018


... or deleting .RData and avoiding creating them in the future. Named save files (anything.RData) are useful but the autoload feature of .RData files is not and this particular behavior is one of the reasons why.

On July 31, 2018 3:39:39 AM PDT, PIKAL Petr <petr.pikal using precheza.cz> wrote:
>Hi
>
>However if in .RData is an object created by "yaml" and the package is
>not loaded it could cause this message. It was similar with ggplot
>objects if ggplot2 is not loaded.
>
>Removing this object and saving session to update .RData can help.
>
>Cheers
>Petr
>
>> -----Original Message-----
>> From: R-help <r-help-bounces using r-project.org> On Behalf Of Rainer Krug
>via R-
>> help
>> Sent: Tuesday, July 31, 2018 9:02 AM
>> To: Rui Barradas <ruipbarradas using sapo.pt>
>> Cc: r-help using r-project.org
>> Subject: Re: [R] Unexpected YAML
>>
>> .RData does not save any info abut previously loaded packages - so
>this would
>> not cause the problem.
>>
>> Rainer
>>
>>
>>
>> > On 30 Jul 2018, at 21:27, Rui Barradas <ruipbarradas using sapo.pt>
>wrote:
>> >
>> > Hello,
>> >
>> > Maybe R is loading a previously saved session.
>> > Check whether you have a file named .RData in your working
>directory.
>> > (This is not a file extension, it's the full filename.)
>> >
>> > Hope this helps,
>> >
>> > Rui Barradas
>> >
>> > Às 20:14 de 30-07-2018, JLucke using ria.buffalo.edu escreveu:
>> >> R Users:
>> >> Whenever I fire up R, I now get the following message (red) at the
>> >> end of the prologue.
>> >> R version 3.5.1 (2018-07-02) -- "Feather Spray"
>> >> Copyright (C) 2018 The R Foundation for Statistical Computing
>> >> Platform: x86_64-w64-mingw32/x64 (64-bit) R is free software and
>> >> comes with ABSOLUTELY NO WARRANTY.
>> >> You are welcome to redistribute it under certain conditions.
>> >> Type 'license()' or 'licence()' for distribution details.
>> >> R is a collaborative project with many contributors.
>> >> Type 'contributors()' for more information and 'citation()' on how
>to
>> >> cite R or R packages in publications.
>> >> Type 'demo()' for some demos, 'help()' for on-line help, or
>> >> 'help.start()' for an HTML browser interface to help.
>> >> Type 'q()' to quit R.
>> >> Error in loadNamespace(name) : there is no package called ‘yaml’
>> >> How do I get rid of it?
>> >> Joe
>> >> [[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.
>> >>
>> >
>> > ______________________________________________
>> > 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.
>>
>> --
>> Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation
>Biology,
>> UCT), Dipl. Phys. (Germany)
>>
>> University of Zürich
>>
>> Cell:       +41 (0)78 630 66 57
>> email:      Rainer using krugs.de
>> Skype:      RMkrug
>>
>> PGP: 0x0F52F982
>>
>>
>>
>>
>> [[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.
>Osobní údaje: Informace o zpracování a ochraně osobních údajů
>obchodních partnerů PRECHEZA a.s. jsou zveřejněny na:
>https://www.precheza.cz/zasady-ochrany-osobnich-udaju/ | Information
>about processing and protection of business partner’s personal data are
>available on website:
>https://www.precheza.cz/en/personal-data-protection-principles/
>Důvěrnost: Tento e-mail a jakékoliv k němu připojené dokumenty jsou
>důvěrné a podléhají tomuto právně závaznému prohláąení o vyloučení
>odpovědnosti: https://www.precheza.cz/01-dovetek/ | This email and any
>documents attached to it may be confidential and are subject to the
>legally binding disclaimer: https://www.precheza.cz/en/01-disclaimer/
>
>______________________________________________
>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