[BioC] Question about VennDiagram package

Steve Lianoglou mailinglist.honeypot at gmail.com
Wed Mar 27 07:58:20 CET 2013


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



More information about the Bioconductor mailing list