Re: [R-SIG-Mac] Using R on MacOS Catalina.....
Homebrew is Linux-style packaging for OS X. Think of it as an equivalent to apt-get—either it will retrieve a binary or it will attempt to build one. On Tue, Jan 28, 2020 at 9:33 AM Matthias Krawutschke < krawutsc...@uni-potsdam.de> wrote: > Eberhard, > > thank you so much for your quick response. > > Yes, my MacBook has only 256 GB HDD (Standard) ☹ > Oh, well, I know & I don´t use X-Code as well. I take the small version of > that: xcode-select --install > (It installed only the command-line tools, header, etc. for using their > own c-compiler) > > Hm, I never used "Homebrew" - I come from the UNIX - World and I like the > command-line 😊. > Well, I can create the files for R via "make" - after them it breaks the > installation ☹ > > Best regards > > > Herzlichst grüßt Sie das HPC - Team > > > > i.A. Matthias Krawutschke > > Universität Potsdam > ZIM - Zentrum für Informationstechnologie und Medienmanagement > Team High-Performance-Computing > Campus Am Neuen Palais: Am Neuen Palais 10 | 14469 Potsdam > Tel: +49 331 977-, Fax: +49 331 977-1750 > > Internet: http://www.uni-potsdam.de/zim > > -Ursprüngliche Nachricht- > Von: Dr Eberhard W Lisse > Gesendet: Dienstag, 28. Januar 2020 10:18 > An: Matthias Krawutschke ; > R-SIG-Mac@r-project.org > Cc: e...@lisse.na > Betreff: Re: [R-SIG-Mac] Using R on MacOS Catalina. > > Matthias, > > A Mac with Catalina and a small hard disk? > > I use the Homebrew package manager and while there is a short delay > between R and Homebrew this works out very well. It has two options, one > with out the app, which is what I use because I for GUI I use RStudio > exclusively. > > There is really no need to compile from source :-)-O XCode is huge, though > the XCode command line tools are required. > > Gruss aus dem Süden :-)-O > > el > > On 28/01/2020 11:05, Matthias Krawutschke wrote: > > Hello everybody, > > > > > > > > I am new at this Mailinglist and I have a question about R on MacOS > > Catalina. > > > > On your Website I had found a package for R. If I want to install it > > on my MacBook – the program told me, that I can´t install the software > > on an other volume like “system”….. That is bad, because I had a > > small Volume on my MacBook ☹ > > > > > > > > If I want to compile the R-System new with GNU-C Compiler 9.2.0 – I > > can “make” the files, but “make install” return it with an ERROR. > > > > So, did you have any ideas what kind of problems that here I had? > > > > > > > > I thank you very much for your assistance and have a nice day….. > > > > > > > > Herzlichst grüßt Sie das HPC - Team > > > > > > > > > > > > > > > > Matthias Krawutschke > [...] > -- > Dr. Eberhard W. Lisse \ / Obstetrician & Gynaecologist > e...@lisse.na / * | Telephone: +264 81 124 6733 (cell) > PO Box 8421 \ / > Bachbrecht 10007, Namibia ;/ > > ___ > R-SIG-Mac mailing list > R-SIG-Mac@r-project.org > https://stat.ethz.ch/mailman/listinfo/r-sig-mac > -- Byron Ellis (byron.el...@gmail.com) "Oook" -- The Librarian [[alternative HTML version deleted]] ___ R-SIG-Mac mailing list R-SIG-Mac@r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-mac
Re: [R-SIG-Mac] clang: error: unsupported option '-fopenmp'
Hi Spencer, You'll want to get the compiler tools from https://cran.r-project.org/bin/macosx/tools/ to build properly. Best, B On Mon, May 6, 2019 at 4:17 PM Spencer Graves wrote: > Hello, All: > > >I'm getting "clang: error: unsupported option '-fopenmp'" when > trying to build "https://github.com/helske/bssm"; under macOS 10.14.14 > with R 3.6.0; see below. > > >What do you suggest? > > >Thanks, >Spencer Graves > > > p.s. Helske told me he thought my compiler was out of date. However, > I've so far been unable to find instructions that are sufficiently > current to convince me I might not do more harm than good following them. > > > > R CMD build bssm > * checking for file ‘bssm/DESCRIPTION’ ... OK > * preparing ‘bssm’: > * checking DESCRIPTION meta-information ... OK > * cleaning src > * installing the package to build vignettes >--- > * installing *source* package ‘bssm’ ... > ** using staged installation > ** libs > clang++ -std=gnu++11 > -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG > -I"/Library/Frameworks/R.framework/Versions/3.6/Resources/library/BH/include" > > -I"/Library/Frameworks/R.framework/Versions/3.6/Resources/library/Rcpp/include" > > -I"/Library/Frameworks/R.framework/Versions/3.6/Resources/library/RcppArmadillo/include" > > -I"/Library/Frameworks/R.framework/Versions/3.6/Resources/library/ramcmc/include" > > -I"/Library/Frameworks/R.framework/Versions/3.6/Resources/library/sitmo/include" > > -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk > -I/usr/local/include -fopenmp -fPIC -Wall -g -O2 -c R_approx.cpp -o > R_approx.o > clang: error: unsupported option '-fopenmp' > make: *** [R_approx.o] Error 1 > ERROR: compilation failed for package ‘bssm’ > * removing > > ‘/private/var/folders/mh/mrm_14nx19g13lsnj9zmvwjrgn/T/RtmppA2gBg/Rinst24427c5cbfeb/bssm’ >--- > ERROR: package installation failed > > ___ > R-SIG-Mac mailing list > R-SIG-Mac@r-project.org > https://stat.ethz.ch/mailman/listinfo/r-sig-mac > -- Byron Ellis (byron.el...@gmail.com) "Oook" -- The Librarian [[alternative HTML version deleted]] ___ R-SIG-Mac mailing list R-SIG-Mac@r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-mac
Re: [R-SIG-Mac] Graphic export
Yes, dev.copy will take one device output and move it to another. Use that to copy a quartz device to a PDF device. Don't forget to dev.close the PDF device to ensure it is written to disk. On Apr 8, 2012, at 12:30 PM, Holger Schulz wrote: > > Am 2012-04-08 um 21:20 schrieb Hans-Jörg Bibiko: > >> Did you close by executing "dev.off()" the file created by pdf()? > > Nope. It seems I haven't understood the concept before. Is there an easy way > of just exporting an already produced graphic? > > Thanks. > > hs > ___ > R-SIG-Mac mailing list > R-SIG-Mac@r-project.org > https://stat.ethz.ch/mailman/listinfo/r-sig-mac ___ R-SIG-Mac mailing list R-SIG-Mac@r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-mac
Re: [R-SIG-Mac] Fighting with lattice output to files
gt; Cheers, >>> Simon >>> >>> >>> >>>> Anyhow, trying to pass file settings (device and filename) to wireframe() >>>> in par.settings seems to get ignored, as far as I can tell, so I can't >>>> build on this success to generate the files I want. >>>> >>>> I've been googling and reading for an hour now, and can't seem to find any >>>> info on this, nor any sample code showing how to get trellis output to a >>>> pdf file (not any sample code that looks substantially different from the >>>> approach I'm taking, that is). So I'm rather at my wits end. Anybody? >>>> Can someone please post working sample code for trellis output to PDF that >>>> works on the current Mac build of R, at a minimum, and then maybe I can >>>> figure this out for myself? >>>> >>>> My full code is too hairy to post here, I think, but the nutshell is: >>>> >>>> plotFishyWireframe <- function(...) >>>> { >>>> ...stuff... >>>> wf_obj <- wireframe(t(zValues), xlab=xlab, ylab=ylab, zlab=zlab, >>>> scales=scales, zlim=zlim, main=list(label=plotTitle, cex=1.5), drape=TRUE, >>>> at=zcuts, col.regions=zcolors, colorkey=TRUE, screen=screen, >>>> perspective=perspective, par.settings=theme) >>>> print(wf_obj) >>>> } >>>> >>>> ...stuff... >>>> >>>> trellis.device(device="pdf", file="foo.pdf", width=640, height=640) >>>> plotFishyWireframe(...) >>>> dev.off() >>>> >>>> Thanks in advance! >>>> >>>> Ben Haller >>>> McGill University >>>> >>>> ___ >>>> R-SIG-Mac mailing list >>>> R-SIG-Mac@r-project.org >>>> https://stat.ethz.ch/mailman/listinfo/r-sig-mac >>>> >>>> >>> >>> ___ >>> R-SIG-Mac mailing list >>> R-SIG-Mac@r-project.org >>> https://stat.ethz.ch/mailman/listinfo/r-sig-mac >> > > ___ > R-SIG-Mac mailing list > R-SIG-Mac@r-project.org > https://stat.ethz.ch/mailman/listinfo/r-sig-mac > -- Byron Ellis (byron.el...@gmail.com) "Oook" -- The Librarian ___ R-SIG-Mac mailing list R-SIG-Mac@r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-mac