Re: [R] CRAN UC Berkeley link

2020-01-26 Thread Hasan Diwan
https://cran.r-project.org/mirmon_report.html Let them know what's going on. [[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 th

Re: [R] How to store something not simple in a vector?

2020-01-26 Thread Martin Møller Skarbiniks Pedersen
> I am trying to create a vector to store objects create with gmp::as.bigq(). [...] > library(gmp) > V <- vector(typeof(as.bigq(1)), 100) # typeof(as.bigq(1)) is raw > V[[100]] <- as.bigq(1,2) I got a solution now. If I use a list instead then everything works. Regards Martin M. S. Pedersen ___

[R] How to store something not simple in a vector?

2020-01-26 Thread Martin Møller Skarbiniks Pedersen
Hi, Sorry for the HTML version in the buttom of this email. I don't think it is possible to post using gmail without a html-version in the end. Anyway to my problem: I am trying to create a vector to store objects create with gmp::as.bigq(). My first attempt: library(gmp) V <- vector("bigq",

Re: [R] [FORGED] Re: Problems in writing code for circos plot

2020-01-26 Thread Bert Gunter
Second. Bert On Sun, Jan 26, 2020 at 2:20 PM Rolf Turner wrote: > > On 27/01/20 11:06 am, Jim Lemon wrote: > > > Hi Puja, > > Three things: > > > > > 3) You should probably change the subject line of your message to > > "Would anyone care to do my work for me?" > > Fortune nomination!!! :-) >

Re: [R] [FORGED] Re: Problems in writing code for circos plot

2020-01-26 Thread Rolf Turner
On 27/01/20 11:06 am, Jim Lemon wrote: Hi Puja, Three things: 3) You should probably change the subject line of your message to "Would anyone care to do my work for me?" Fortune nomination!!! :-) cheers, Rolf -- Honorary Research Fellow Department of Statistics University of Auckland

Re: [R] Problems in writing code for circos plot

2020-01-26 Thread Jim Lemon
Hi Puja, Three things: 1) Your data files are very large. If you do manage to get circular plots out of them with the circlize library they will probably be very dense. 2) The structure of your data includes too many levels in "Chrom" to get the circlize functions to work. I had to pare them back t

Re: [R] [FORGED] Re: Executing an R script and show the plots.

2020-01-26 Thread Rolf Turner
On 27/01/20 9:47 am, Sorkin, John wrote: Felix, I suggest you consider using an IDE such as RStudio as you develop and run R code. An integrated development environment will allow you to concentrate on learning R rather on the mechanics of running R in a non-standard environment. I disagree.

Re: [R] Executing an R script and show the plots.

2020-01-26 Thread Sorkin, John
Felix, I suggest you consider using an IDE such as RStudio as you develop and run R code. An integrated development environment will allow you to concentrate on learning R rather on the mechanics of running R in a non-standard environment. John John David Sorkin M.D., Ph.D. Professor of Medicine

Re: [R] Executing an R script and show the plots.

2020-01-26 Thread David Winsemius
You need to understand that the R interpreter does not have an interactive plot device when run as a script from an OS command line. You need to open an output device, `print` the output of the ggplot call, and then  _after_ closing the device appropriately, open the output in an appropriate vi

[R] Problems in writing code for circos plot

2020-01-26 Thread pooja sinha
Hi All, I have attached the three different datasets for Rn6 genome (rat) and I needed to use circos plot by *circlize package in R*. Please anyone help me in writing the code and making the plot. Any help will be highly appreciated. The three file links are below: File 1: YOUNGCONTROL.csv ( http

Re: [R] CRAN UC Berkeley link

2020-01-26 Thread Anindya Mozumdar
Hi John, > This link > https://cran.cnr.berkeley.edu/ > on the "mirrors" page no longer points to a CRAN mirror.  It seems to > be generic to UCB. I suggest you email c...@r-project.org reporting them of the broken mirror. Regards, Anindya __ R-help@r-

Re: [R] Executing an R script and show the plots.

2020-01-26 Thread Rui Barradas
Hello, Have you tried source("script.r", print.eval = TRUE) ? Also, you should print() the graph explicitly: library(ggplot2) data(midwest, package = "ggplot2") g <- ggplot(midwest, aes(area, poptotal)) + geom_point() print(g) Hope this helps, Rui Barradas Às 16:32 de 24/01/20, Felix Bl

Re: [R] Executing an R script and show the plots.

2020-01-26 Thread Anindya Mozumdar
Dear Felix, > I would like to run R scripts like that: R -f script.r and still get the > plots that pop up. Since you are using ggplot2, you can use the ggsave function from the package to save the plot to a location of your choice. I tested the following script from the command line and it wor

Re: [R] Problem in plotting Circos plot with the attached dataset

2020-01-26 Thread Jeff Newmiller
a) your request is inappropriate for this forum. Read the Posting Guide. b) Your attachments did not come through. Read the Posting Guide. On January 24, 2020 12:06:15 PM PST, pooja sinha wrote: > YOUNGCONTROL.csv >

Re: [R] Executing an R script and show the plots.

2020-01-26 Thread Jeff Newmiller
OP does not want to depend on RStudio. Bert. Need to open a graphics device. Which one you use is highly dependent on your needs and OS configuration. https://stat.ethz.ch/R-manual/R-devel/library/grDevices/html/Devices.html On January 26, 2020 8:06:24 AM PST, Bert Gunter wrote: >Google is you

Re: [R] Executing an R script and show the plots.

2020-01-26 Thread Bert Gunter
Google is your friend! https://stackoverflow.com/questions/26643852/ggplot-plots-in-scripts-do-not-display-in-rstudio 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

[R] Fwd: Problem in plotting Circos plot with the attached dataset

2020-01-26 Thread pooja sinha
-- Forwarded message - From: pooja sinha Date: Fri 24 Jan, 2020, 15:06 Subject: Problem in plotting Circos plot with the attached dataset To: YOUNGCONTROL.csv YOUNGTREATED.csv

[R] Executing an R script and show the plots.

2020-01-26 Thread Felix Blind
Dear R users, i am a python user trying to get my statistical knowledge up to speed and R is the language for that. I would like to run R scripts like that: R -f script.r and still get the plots that pop up. When I type the following code in the R REPL I get a nice plot: library(ggplot2)