On 10/27/2017 11:42 AM, Ioannis Vardaxis wrote:
Hey,


I think the problem might be coming from the command
"file.path(path.expand('~'),'Desktop’)” on line 77 on MACPET.rmd file. I
just want to find the desktop path for creating a folder there for the
vignette and the examples. This seems to work on MAC, but not on the other
platforms, how can I make it work in general?

Please don't assume that all your users are going to have a
~/Desktop folder.

If you just need a place to create temporary files, you should use
tempfile().

BTW those are not Bioconductor specific questions and are better asked
on r-help or SO.

Thanks,
H.


I replaced pdf_document2 with pdf_document by the way.


Best,


--
Hervé Pagès

Program in Computational Biology
Division of Public Health Sciences
Fred Hutchinson Cancer Research Center
1100 Fairview Ave. N, M1-B514
P.O. Box 19024
Seattle, WA 98109-1024

E-mail: hpa...@fredhutch.org
Phone:  (206) 667-5791
Fax:    (206) 667-1319

_______________________________________________
Bioc-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/bioc-devel

Reply via email to