[R] Datetime misrepresented on x-axis of a multiple plot: Problem Fixd

2020-05-01 Thread Ogbos Okike
Dear Jim and Rolf Turner, This is great The labels on x-axis are now correctly displayed. Jim, your singular code: axis.POSIXct(1,dta$datetime,format="%a") made all the required adjustment, making life quite easy for me. The abline commands are indeed meant to draw a common vertica

Re: [R] Datetime misrepresented on x-axis of a multiple plot

2020-05-01 Thread Ogbos Okike
Dear Rui Barradas, Many thanks for your time. Though I have not used ggplot before, I quickly installed all the required packages and attempted your code. It produced the plot and solved the initial problem of the wrong labels on x-axis. But I noticed several other problems with the plot (some of

Re: [R] [FORGED] Re: pair correlation function of 3D points

2020-05-01 Thread Abby Spurdle
It may be of some comfort to some readers, that I received emails from two moderators, telling me that I was I acknowledge that my initial email was a mistake. However, I need to note recent public comments from the author of the spatstat package: Your internet skills are pathetic. T

Re: [R] Datetime misrepresented on x-axis of a multiple plot

2020-05-01 Thread Jim Lemon
Hi Ogbos, The following code may get you close to what you want. I have used the names of the columns in "dta" as it is less confusing for me. I think you meant to request horizontal ablines as none appeared in the example. In order to get the axis tick label "Sun" you would have to increase the x

Re: [R] [FORGED] Datetime misrepresented on x-axis of a multiple plot

2020-05-01 Thread Rolf Turner
On 2/05/20 4:46 am, Ogbos Okike wrote: Dear Contributors, I am trying to do a plot with multiple y-axis on a common x-axis. I would strongly advise you *not* to. This, although often done, is a bad practice, and can sometimes (often) give misleading impressions. See https://blog.d

Re: [R] CRAN library down?

2020-05-01 Thread Duncan Murdoch
On 01/05/2020 12:24 p.m., Roger Coppock wrote: After I changed to Version R version 4.0.0 (2020-04-24) -- "Arbor Day" on my MacBook running Mac OS 10.13.6, I lost all my loaded libraries. Also, the package installer can not contact CRAN libraries either for binaries or sources, to replace the

[R] CRAN library down?

2020-05-01 Thread Roger Coppock
After I changed to Version R version 4.0.0 (2020-04-24) -- "Arbor Day" on my MacBook running Mac OS 10.13.6, I lost all my loaded libraries. Also, the package installer can not contact CRAN libraries either for binaries or sources, to replace the missing loaded libraries. The package installer

Re: [R] Rtools required

2020-05-01 Thread Steven
Thank you all. In sum, installing packages from RStudio 1.2.5042 without Rtools present, I received warnings saying RTools required but installation nevertheless was successful. Installing from R-4.0.0 directly, I have no problem. This is obviously an RStudio problem but unfortunately they are

Re: [R] repository for ubuntu/linux mint for R 4.0.0

2020-05-01 Thread Rasmus Liland
On 2020-04-30 12:50 -0400, Ista Zahn wrote: > https://cran.r-project.org/mirmon_report.html Wow! Great! Someone took the time to test the mirror list! As we can see in this report, many of the mirrors are quite old compared to the openbsd mirrors in the spacehopper report ... how this relat

Re: [R] Datetime misrepresented on x-axis of a multiple plot

2020-05-01 Thread Rui Barradas
Hello, I have just noticed that the facets' labels are on the right, in your code example they are on the left. Change the following: facet_grid(rows = vars(variable), switch = "y") Hope this helps, Rui Barradas Às 18:29 de 01/05/20, Rui Barradas escreveu: Hello, If you don't mind a ggp

Re: [R] Datetime misrepresented on x-axis of a multiple plot

2020-05-01 Thread Rui Barradas
Hello, If you don't mind a ggplot2 solution, here it is. As usual with ggplot, it's better to have the data in long format so I also load packages dplyr and tidyr. The reshaping accounts for half the code, the code for the graph itself is not very complicated. library(ggplot2) library(scal

[R] Datetime misrepresented on x-axis of a multiple plot

2020-05-01 Thread Ogbos Okike
Dear Contributors, I am trying to do a plot with multiple y-axis on a common x-axis. I have made some progress but I am having difficulties with datetime appearing on x-axis. Instead of as date, it appears as large numbers. Sample of my data: 78 09 28 0 6.7 -40.4 -3.5 2.3 -3.6 278036 5.8 612 78 0

Re: [R] [FORGED] Re: pair correlation function of 3D points

2020-05-01 Thread Martin Maechler
> Rolf Turner > on Thu, 30 Apr 2020 10:42:46 +1200 writes: > On 30/04/20 12:28 am, Eric Leroy wrote: >> Dear all, I am sorry to see all the reactions I provoked from a >> newbie user. Anyway, thank you for the answer I think that the >> pcf3est function responds to my