Re: [R] Corrupted package?[solved]
On Thu, 01-Nov-2018 at 08:51PM +1300, Patrick Connolly wrote: |> On Wed, 31-Oct-2018 at 07:30PM +0100, peter dalgaard wrote: |> |> |> Hm, a source install to r-devel gave me |> |> |> |> Peter-Dalgaards-MacBook-Air:BUILD pd$ ls -l library/pkgconfig/R/pkgconfig.rdb |> |> -rw-r--r-- 1 pd staff 4515 Oct 31 19:15 library/pkgconfig/R/pkgconfig.rdb |> |> Peter-Dalgaards-MacBook-Air:BUILD pd$ ls -l library/pkgconfig/help/pkgconfig.rdb |> |> -rw-r--r-- 1 pd staff 5748 Oct 31 19:15 library/pkgconfig/help/pkgconfig.rdb |> |> |> |> and an install to R_3.4.1 (yes, 4...) said [...] I searched and found someone had a message about a corrupted package and found the problem disappeared when R was restarted. So, I tried that, And. sure enough, it worked! It would have been good to get some understanding of those strange file sizes, but I suspect it will remain one of Life's little mysteries. That might help someone else who gets a corrupt package message. -- ~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~. ___Patrick Connolly {~._.~} Great minds discuss ideas _( Y )_ Average minds discuss events (:_~*~_:) Small minds discuss people (_)-(_) . Eleanor Roosevelt ~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~. __ R-help@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.
Re: [R] potential issue in download.file() help page
The documentation describes the behavior of the program. The function signature shows how the arguments are declared. Both are correct. If you read an implementation [1] you will see that the missing() function is used to implement the described behavior, rather than using a default value for the argument. I don't know why this choice was made (changes in language over time?), but setting up argument default values is only one way to accomplish the described behavior. [1] https://github.com/wch/r-source/blob/trunk/src/library/utils/R/windows/download.file.R On November 4, 2018 4:56:19 PM PST, "Stéphane Guillou" wrote: >Hi there > >I was told by Martin Maechler that I should send this request to R-help > >rather than R-core, so here it is. > >I noticed that the download.file() documentation does not show a >default >value passed on to the `method` argument in the "Usage" section, even >though it is stated underneath that the default method is `"auto"`. > >Does this need fixing? > >Cheers -- Sent from my phone. Please excuse my brevity. __ R-help@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] potential issue in download.file() help page
Hi there I was told by Martin Maechler that I should send this request to R-help rather than R-core, so here it is. I noticed that the download.file() documentation does not show a default value passed on to the `method` argument in the "Usage" section, even though it is stated underneath that the default method is `"auto"`. Does this need fixing? Cheers -- Stéphane Guillou http://stragu.gitlab.io/ You can encrypt our communications by using OpenPGP. My public key 4E211060 is available on the keys.gnupg.net server. Other ways to interact with me are listed on my contact page: http://stragu.gitlab.io/contact/ __ R-help@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.
Re: [R] How to add a dummy code for (G)LMER
I am almost certain that no dummy variables are necessary -- but mixed models questions are always better posed on the r-sig-mixed-models list. Bert On Sun, Nov 4, 2018 at 1:38 PM Yune S. Lee wrote: > Dear R experts -- > > I never needed to add a dummy column and always query statistical results > by querying summary(model) for GLMER. However, I was recently asked to add > a dummy column for interaction variables when performing GLMER. Could > anyone tell me if it's necessary to add a dummy column for GLMER or R > automatically handles it when outputting results? > > Best, > Yune > > [[alternative HTML version deleted]] > > __ > R-help@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@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.
Re: [R] rnaturalearth: detail by degrees
Hi Ferri, One way is to snip out a Google Maps image of the area you want, then using the "maps" package, start a plot bounded by the corner coordinates of your Google Maps image. You can get those by clicking on the corners of the area that you selected. Then use the "readbitmap" package to create a raster object of your GM image and display it on the plot made by "map". Finally, use either "points" or "lines" to display the coordinates of your path. Jim On Sat, Nov 3, 2018 at 8:43 PM Ferri Leberl wrote: > > > Dear all, > I have the graph of a path, walking a number of places specified by name, > logitude and latitude – thanks to Don MacQueen. > xliam and ylim define a certain section of the earth. > How can I put this section of a political map into the background? > Thank you in advance. > Yours, Ferri > > > __ > R-help@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@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] How to add a dummy code for (G)LMER
Dear R experts -- I never needed to add a dummy column and always query statistical results by querying summary(model) for GLMER. However, I was recently asked to add a dummy column for interaction variables when performing GLMER. Could anyone tell me if it's necessary to add a dummy column for GLMER or R automatically handles it when outputting results? Best, Yune [[alternative HTML version deleted]] __ R-help@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.
Re: [R] HMM-Classification
Indeed! There is even a HMM package! A web search on "hidden markov models" on rseek.org brought up many relevant looking hits. -- Bert 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 Sun, Nov 4, 2018 at 7:31 AM Ingmar Visser wrote: > There are several packages that allow fitting hidden Markov models > (assuming that that is what you mean by HMM ...), which you can find here: > https://cran.r-project.org/web/packages/ > Best, Ingmar > > Ingmar Visser > Universitair Hoofddocent ontwikkelingspsychologie | Directeur College > Psychologie > Afdeling Psychologie | Faculteit Maatschappij- en Gedragswetenschappen | > Universiteit van Amsterdam > Bezoek | Nieuwe Achtergracht 129B | Kamer G 1.18 > Post | Postbus 15933 | 1001 NK Amsterdam > Pakketpost | Valckenierstraat 59 | 1018 XE Amsterdam > T: +31205256723 | M: +31647260824 | e: i.vis...@uva.nl > > > On Sun, Nov 4, 2018 at 3:06 PM Kabouch Nourdine via R-help < > r-help@r-project.org> wrote: > > > Hi, > > I would like to use HMM for a time serie (solar radiation) > > classification.I would like to know what are the steps I should > follow?For > > the states i have to chose between 3 or 5, I do not have other > informations. > > Regards. > > [[alternative HTML version deleted]] > > > > __ > > R-help@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@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@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.
Re: [R] HMM-Classification
The SpatioTemporal Task View may help narrow the search a bit, as might using a using a search engine: https://cran.r-project.org/web/views/SpatioTemporal.html rseek.org package "sos" On November 4, 2018 7:31:20 AM PST, Ingmar Visser wrote: >There are several packages that allow fitting hidden Markov models >(assuming that that is what you mean by HMM ...), which you can find >here: >https://cran.r-project.org/web/packages/ >Best, Ingmar > >Ingmar Visser >Universitair Hoofddocent ontwikkelingspsychologie | Directeur College >Psychologie >Afdeling Psychologie | Faculteit Maatschappij- en Gedragswetenschappen >| >Universiteit van Amsterdam >Bezoek | Nieuwe Achtergracht 129B | Kamer G 1.18 >Post | Postbus 15933 | 1001 NK Amsterdam >Pakketpost | Valckenierstraat 59 | 1018 XE Amsterdam >T: +31205256723 | M: +31647260824 | e: i.vis...@uva.nl > > >On Sun, Nov 4, 2018 at 3:06 PM Kabouch Nourdine via R-help < >r-help@r-project.org> wrote: > >> Hi, >> I would like to use HMM for a time serie (solar radiation) >> classification.I would like to know what are the steps I should >follow?For >> the states i have to chose between 3 or 5, I do not have other >informations. >> Regards. >> [[alternative HTML version deleted]] >> >> __ >> R-help@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@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. __ R-help@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.
Re: [R] HMM-Classification
There are several packages that allow fitting hidden Markov models (assuming that that is what you mean by HMM ...), which you can find here: https://cran.r-project.org/web/packages/ Best, Ingmar Ingmar Visser Universitair Hoofddocent ontwikkelingspsychologie | Directeur College Psychologie Afdeling Psychologie | Faculteit Maatschappij- en Gedragswetenschappen | Universiteit van Amsterdam Bezoek | Nieuwe Achtergracht 129B | Kamer G 1.18 Post | Postbus 15933 | 1001 NK Amsterdam Pakketpost | Valckenierstraat 59 | 1018 XE Amsterdam T: +31205256723 | M: +31647260824 | e: i.vis...@uva.nl On Sun, Nov 4, 2018 at 3:06 PM Kabouch Nourdine via R-help < r-help@r-project.org> wrote: > Hi, > I would like to use HMM for a time serie (solar radiation) > classification.I would like to know what are the steps I should follow?For > the states i have to chose between 3 or 5, I do not have other informations. > Regards. > [[alternative HTML version deleted]] > > __ > R-help@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@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] HMM-Classification
Hi, I would like to use HMM for a time serie (solar radiation) classification.I would like to know what are the steps I should follow?For the states i have to chose between 3 or 5, I do not have other informations. Regards. [[alternative HTML version deleted]] __ R-help@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.
Re: [R] Different stack barplots - same color legends
Dear Richard, I ran your syntax and the plots look great and cool. Again, thank you so much for helping me out a lot and for all the programming. And again, Jim en David, thank you also so much. Now, I can continue with my work and I learned a lot from you. Best, Roberto Op za 3 nov. 2018 om 14:06 schreef P. Roberto Bakker < robertobak...@gmail.com>: > Dear Richard, > > Thank you so much for all your work and time you punt in it. > I will start with your suggestions and let you know how far I come. > Also thanks to the others who helpt me. > > Best Roberto > > Op do 1 nov. 2018 om 23:42 schreef Richard M. Heiberger : > >> ## reminder on how the levels= argument to factor works >> >> mydata <- matrix(1:8, nrow=4, ncol=2, dimnames=list(letters[1:4], >> LETTERS[1:2])) >> dput(mydata) >> >> Factor.wrong <- factor(c("mm", "cm", "m", "km")) >> levels(Factor.wrong) ## alphabetical order, not meaning order >> >> Factor.right <- factor(c("mm", "cm", "m", "km"), >>levels=c("mm", "cm", "m", "km")) >> levels(Factor.right) ## meaning order >> >> >> >> library(HH) ## for the likert function >> >> ## dput(teamq[1:10,7:8]) >> teamq10x78 <- >> structure(list(`Ik volg bijscholing om mijn opleiders-kwaliteiten op >> peil te houden` = c("de situatie in hoge mate van toepassing is voor u >> of uw supervisorengroep", >> "de situatie in hoge mate van toepassing is voor u of uw >> supervisorengroep", >> "de situatie in zeer hoge mate van toepassing is voor u of uw >> supervisorengroep", >> "de situatie in zeer hoge mate van toepassing is voor u of uw >> supervisorengroep", >> "de situatie in geringe mate van toepassing is voor u of uw >> supervisorengroep", >> "de situatie enigszins van toepassing is voor u of uw supervisorengroep", >> "de situatie in zeer hoge mate van toepassing is voor u of uw >> supervisorengroep", >> "de situatie in hoge mate van toepassing is voor u of uw >> supervisorengroep", >> "de situatie in hoge mate van toepassing is voor u of uw >> supervisorengroep", >> "de situatie in zeer hoge mate van toepassing is voor u of uw >> supervisorengroep" >> ), `Ik weet precies wat de ‘modernisering van de opleiding’ inhoudt` = >> c("de situatie in hoge mate van toepassing is voor u of uw >> supervisorengroep", >> "de situatie in hoge mate van toepassing is voor u of uw >> supervisorengroep", >> "de situatie in zeer hoge mate van toepassing is voor u of uw >> supervisorengroep", >> "de situatie in zeer hoge mate van toepassing is voor u of uw >> supervisorengroep", >> "de situatie in geringe mate van toepassing is voor u of uw >> supervisorengroep", >> "de situatie enigszins van toepassing is voor u of uw supervisorengroep", >> "de situatie in geringe mate van toepassing is voor u of uw >> supervisorengroep", >> "de situatie in geringe mate van toepassing is voor u of uw >> supervisorengroep", >> "de situatie enigszins van toepassing is voor u of uw supervisorengroep", >> "de situatie in hoge mate van toepassing is voor u of uw >> supervisorengroep" >> )), row.names = c(NA, -10L), class = c("tbl_df", "tbl", "data.frame" >> )) >> >> >> ## This is from Google translate >> >> ## Ik weet precies wat de ‘modernisering van de opleiding’ inhoudt >> ## I know exactly what the "modernization of the training" >> >> ## Ik volg bijscholing om mijn opleiders-kwaliteiten op peil te houden >> ## I follow training to keep my grades at level trainers >> >> >> ## ## This is your order of levels from Mon, Oct 22, 2018 at 1:30 PM >> ## "de situatie in zeer geringe mate van toepassing is voor u of uw >> supervisorengroep" >> ## "de situatie in geringe mate van toepassing is voor u of uw >> supervisorengroep" >> ## "de situatie enigszins van toepassing is voor u of uw >> supervisorengroep" >> ## "de situatie in hoge mate van toepassing is voor u of uw >> supervisorengroep" >> ## "de situatie in zeer hoge mate van toepassing is voor u of uw >> supervisorengroep" >> >> ## ## This is from Google translate >> ## the situation very little applies to you or your group supervisor >> ## the situation slightly applies to you or your group supervisor >> ## the situation somewhat applies to you or your group supervisor >> ## the situation is highly applicable to you or your group supervisor >> ## the situation very largely applies to you or your group supervisor >> >> >> >> sapply(teamq10x78, table) >> likert(t(sapply(teamq10x78, table))) >> likert(t(sapply(teamq10x78, table)), >>auto.key=list(columns=1, border=TRUE), >>main="character values are sorted alphabetically, we will use >> factors in the next figure") >> >> object.size(teamq10x78) >> ## more rows >> object.size(rbind(teamq10x78,teamq10x78,teamq10x78,teamq10x78,teamq10x78, >> teamq10x78,teamq10x78,teamq10x78,teamq10x78,teamq10x78, >> teamq10x78,teamq10x78,teamq10x78,teamq10x78,teamq10x78, >> teamq10x78,teamq10x78,teamq10x78,teamq10x78,teamq10x78)) >> >> situatie.levels <- c( >> "de situatie