Re: [R] ISO recommendations for plot output format from R to MS Word

2021-02-12 Thread Ivan Krylov
On Fri, 12 Feb 2021 15:05:33 -0800 Robert Dodier wrote: > Towards the goal of creating an MS Word document which others with > unspecified versions of MS Word can view correctly, in what format > should I export figures from R? A cross-platform plotting device designed specifically for word proc

Re: [R] Plotting world maps with locations.

2021-02-12 Thread David Winsemius
Sent from my iPhone > On Feb 12, 2021, at 9:01 PM, David Winsemius wrote: > >  > > Sent from my iPhone > >> On Feb 12, 2021, at 1:35 PM, Jibrin Alhassan >> wrote: >> >> Hello Romanus, >> You are to post only the code and the error messages and not all the >> information from your termi

Re: [R] Plotting world maps with locations.

2021-02-12 Thread David Winsemius
Sent from my iPhone > On Feb 12, 2021, at 1:35 PM, Jibrin Alhassan > wrote: > > Hello Romanus, > You are to post only the code and the error messages and not all the > information from your terminal in R session. That’s not actually the best practice for rhelp questions. More info is bette

[R] Just Published, Thanks for your assistance

2021-02-12 Thread Ogbos Okike
Dear Experts, In the first few months of last year, I was asking a question based on of one my codes. I received useful help here. Many thanks again. I am glad to share one of the results of the script. I acknowledged the entire list and some specific individuals that contributed. Best regards. O

Re: [R] ISO recommendations for plot output format from R to MS Word

2021-02-12 Thread Jinsong Zhao
On 2021/2/13 7:05, Robert Dodier wrote: I need to export plots (constructed with plot and with ggplot) from R to be imported into a MS Word document. I am working with MS Word for Mac version 16.16.10 (copyright 2018) and R versions 3.6.3 and/or 4.0.3. I have verified that the version of MS Wor

[R] ISO recommendations for plot output format from R to MS Word

2021-02-12 Thread Robert Dodier
I need to export plots (constructed with plot and with ggplot) from R to be imported into a MS Word document. I am working with MS Word for Mac version 16.16.10 (copyright 2018) and R versions 3.6.3 and/or 4.0.3. I have verified that the version of MS Word which I am working with can import SVG e

[R] Is it Possible to Create S4 Function Objects?

2021-02-12 Thread /əˈbi/
Dear All, I was wondering if it's possible to create S4 function objects? (Or S4 closures, if you prefer). i.e. An R object, that is both an S4 object, and a function. This would allow one to write: > f <- constructor4.functionobj () > f () > f...@slot.of.f I've searched for this, but I can't

Re: [R] Plotting world maps with locations.

2021-02-12 Thread Jibrin Alhassan
Hello Romanus, You are to post only the code and the error messages and not all the information from your terminal in R session. On Fri, Feb 12, 2021, 4:35 PM Romanus Ejike wrote: > Please, I need help from anyone that can solve this problem. > I wanted to plot a world map with locations and nam

Re: [R] Axis whitout all the row, that contains time

2021-02-12 Thread Rui Barradas
Hello, In order to select every 20 s, set the date_breaks = "20 secs", not the breaks. The axis labels are also formatted, with date_labels, standard datetime format strings are used for this. And rotated, not part of the question. # Create some data set.seed(2021) time <- seq(as.POSIXct("202

Re: [R] Axis whitout all the row, that contains time

2021-02-12 Thread John Kane
With a dat.frame "mydata" create a new variable mydata$num mydata$num <- 1:nrow(mydata) new_data <- subset(mydata, num == 10) plot using new_data On Fri, 12 Feb 2021 at 10:35, Informatique < informati...@billard-francois-marie.eu> wrote: > Hello, > > i'm using Rstudio from a few day, and i

[R] Axis whitout all the row, that contains time

2021-02-12 Thread Informatique
Hello, i'm using Rstudio from a few day, and i have some information in a CVS file, take every five second, format of the time is HH:MM:SS. I use the hour on the X axis, but i don't want having all the time print. For example only every 10 values. I think it will be possible with scale_x_date

[R] Plotting world maps with locations.

2021-02-12 Thread Romanus Ejike
Please, I need help from anyone that can solve this problem. I wanted to plot a world map with locations and names of the locations but could not. The codes I have tried are as shown below. ugwoke@ugwoke-HP-ENVY-Laptop-13-aq0xxx:~/Desktop$ R R version 4.0.3 (2020-10-10) -- "Bunny-Wunnies Freak Out