Question about VennDiagram package
2
0
Entering edit mode
@findley-finseth-5806
Last seen 10.2 years ago
Hello all -- I have successfully used the VennDiagram Package several times to make quite attractive (at least in my opinion) VennDiagrams. Now, I am trying to make new VennDiagrams with new data (on an updated version of R) and am having an issue. I can't find the output file (i.e., the "VennDiagram"). In the past, the file has been written to the working directory, but they are not there. I have searched everywhere I can think to look (home directory, the entire computer) and no luck. I have attached the code from the example from the paper, as this code also produces no find-able file. Has anyone been able to successfully produce VennDiagrams (that they can find) using VennDiagram in R 2.15.2? Also, I am implementing this in RStudio, but have also had the same problem from the old R console. Any advice? Thanks, Findley Finseth PhD Candidate Cornell University > setwd("~/") > library(VennDiagram); Loading required package: grid > > # Figure 1A > venn.diagram( + x = list( + Label = 1:100 + ), + filename = "1A-single_Venn.tiff", + col = "black", + lwd = 9, + fontface = "bold", + fill = "grey", + alpha = 0.75, + cex = 4, + cat.cex = 3, + cat.fontface = "bold", + ); [1] 1 > > sessionInfo() R version 2.15.2 (2012-10-26) Platform: x86_64-apple-darwin9.8.0/x86_64 (64-bit) locale: [1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8 attached base packages: [1] grid stats graphics grDevices utils datasets methods base other attached packages: [1] VennDiagram_1.5.1 loaded via a namespace (and not attached): [1] colorspace_1.2-1 dichromat_2.0-0 digest_0.6.3 ggplot2_0.9.3.1 [5] gtable_0.1.2 labeling_0.1 MASS_7.3-23 munsell_0.4 [9] plyr_1.8 proto_0.3-10 RColorBrewer_1.0-5 reshape2_1.2.2 [13] scales_0.2.3 stringr_0.6.2 tools_2.15.2
• 1.5k views
ADD COMMENT
0
Entering edit mode
Dan Tenenbaum ★ 8.2k
@dan-tenenbaum-4256
Last seen 5 months ago
United States
On Tue, Mar 26, 2013 at 1:46 PM, Findley Finseth <findleyransler at="" gmail.com=""> wrote: > Hello all -- > > I have successfully used the VennDiagram Package several times to make quite attractive (at least in my opinion) VennDiagrams. Now, I am trying to make new VennDiagrams with new data (on an updated version of R) and am having an issue. I can't find the output file (i.e., the "VennDiagram"). In the past, the file has been written to the working directory, but they are not there. I have searched everywhere I can think to look (home directory, the entire computer) and no luck. > > I have attached the code from the example from the paper, as this code also produces no find-able file. Has anyone been able to successfully produce VennDiagrams (that they can find) using VennDiagram in R 2.15.2? Also, I am implementing this in RStudio, but have also had the same problem from the old R console. Any advice? > VennDiagram is not a Bioconductor package, so maybe ask the maintainer, or email the R-help mailing list. Dan > Thanks, > > Findley Finseth > > PhD Candidate > Cornell University > > > > >> setwd("~/") >> library(VennDiagram); > Loading required package: grid >> >> # Figure 1A >> venn.diagram( > + x = list( > + Label = 1:100 > + ), > + filename = "1A-single_Venn.tiff", > + col = "black", > + lwd = 9, > + fontface = "bold", > + fill = "grey", > + alpha = 0.75, > + cex = 4, > + cat.cex = 3, > + cat.fontface = "bold", > + ); > [1] 1 >> >> sessionInfo() > R version 2.15.2 (2012-10-26) > Platform: x86_64-apple-darwin9.8.0/x86_64 (64-bit) > > locale: > [1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8 > > attached base packages: > [1] grid stats graphics grDevices utils datasets methods base > > other attached packages: > [1] VennDiagram_1.5.1 > > loaded via a namespace (and not attached): > [1] colorspace_1.2-1 dichromat_2.0-0 digest_0.6.3 ggplot2_0.9.3.1 > [5] gtable_0.1.2 labeling_0.1 MASS_7.3-23 munsell_0.4 > [9] plyr_1.8 proto_0.3-10 RColorBrewer_1.0-5 reshape2_1.2.2 > [13] scales_0.2.3 stringr_0.6.2 tools_2.15.2 > _______________________________________________ > Bioconductor mailing list > Bioconductor at r-project.org > https://stat.ethz.ch/mailman/listinfo/bioconductor > Search the archives: http://news.gmane.org/gmane.science.biology.informatics.conductor
ADD COMMENT
0
Entering edit mode
@steve-lianoglou-2771
Last seen 21 months ago
United States
Hi, Perhaps using absolute path for the `filename` argument (eg. `/Users/YOU/Desktop/single_Venn.tiff`) instead of relying on a `setwd()` call ("maybe the tilde-expansion thing isn't working in your script?). Anyway, using an absolute path for the file will avoid you having to guess where to look -- it'll either be where you (unambiguously) told it to be, or it won't. -steve On Tue, Mar 26, 2013 at 4:46 PM, Findley Finseth <findleyransler at="" gmail.com=""> wrote: > Hello all -- > > I have successfully used the VennDiagram Package several times to make quite attractive (at least in my opinion) VennDiagrams. Now, I am trying to make new VennDiagrams with new data (on an updated version of R) and am having an issue. I can't find the output file (i.e., the "VennDiagram"). In the past, the file has been written to the working directory, but they are not there. I have searched everywhere I can think to look (home directory, the entire computer) and no luck. > > I have attached the code from the example from the paper, as this code also produces no find-able file. Has anyone been able to successfully produce VennDiagrams (that they can find) using VennDiagram in R 2.15.2? Also, I am implementing this in RStudio, but have also had the same problem from the old R console. Any advice? > > Thanks, > > Findley Finseth > > PhD Candidate > Cornell University > > > > >> setwd("~/") >> library(VennDiagram); > Loading required package: grid >> >> # Figure 1A >> venn.diagram( > + x = list( > + Label = 1:100 > + ), > + filename = "1A-single_Venn.tiff", > + col = "black", > + lwd = 9, > + fontface = "bold", > + fill = "grey", > + alpha = 0.75, > + cex = 4, > + cat.cex = 3, > + cat.fontface = "bold", > + ); > [1] 1 >> >> sessionInfo() > R version 2.15.2 (2012-10-26) > Platform: x86_64-apple-darwin9.8.0/x86_64 (64-bit) > > locale: > [1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8 > > attached base packages: > [1] grid stats graphics grDevices utils datasets methods base > > other attached packages: > [1] VennDiagram_1.5.1 > > loaded via a namespace (and not attached): > [1] colorspace_1.2-1 dichromat_2.0-0 digest_0.6.3 ggplot2_0.9.3.1 > [5] gtable_0.1.2 labeling_0.1 MASS_7.3-23 munsell_0.4 > [9] plyr_1.8 proto_0.3-10 RColorBrewer_1.0-5 reshape2_1.2.2 > [13] scales_0.2.3 stringr_0.6.2 tools_2.15.2 > _______________________________________________ > Bioconductor mailing list > Bioconductor at r-project.org > https://stat.ethz.ch/mailman/listinfo/bioconductor > Search the archives: http://news.gmane.org/gmane.science.biology.informatics.conductor -- Steve Lianoglou Defender of The Thesis | Memorial Sloan-Kettering Cancer Center | Weill Medical College of Cornell University Contact Info: http://cbio.mskcc.org/~lianos/contact
ADD COMMENT

Login before adding your answer.

Traffic: 857 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6