[R-SIG-Mac] Cairo / X11 problem in Mavericks

2013-10-27 Thread Jeroen Ooms
I just upgraded my macbook to maverick and i'm running into an old problem. When I do: png(tempfile(), type=cairo) or svg(tempfile()) or even: library(Cairo) R exists with a warning that X11 is required. I also tried: options(bitmapType = 'cairo') png(tempfile()) but same result. If I

Re: [R-SIG-Mac] Cairo / X11 problem in Mavericks

2013-10-28 Thread Jeroen Ooms
R exists with a warning that X11 is required. You need to re-install XQuartz after an update. See the R-admin manual. I'm not sure I understand (apologies, I'm not really a mac user). We are using these devices in non-interactive R sessions (RApache, RScript). So the Cairo devices can only be

[R-SIG-Mac] Forking issues in Mavericks

2013-10-29 Thread Jeroen Ooms
The following works in Linux and OSX 10.8 but in OSX 10.9 it results in a __THE_PROCESS_HAS_FORKED_AND_YOU_CANNOT_USE_THIS_COREFOUNDATION_FUNCTIONALITY___YOU_MUST_EXEC__(): library(parallel) library(httr) myfork - mcparallel(GET(https://api.github.com/users/hadley/repos;)) out -

Re: [R-SIG-Mac] Forking issues in Mavericks

2013-10-29 Thread Jeroen Ooms
On Tue, Oct 29, 2013 at 12:35 PM, Steve Lianoglou lianoglou.st...@gene.com wrote: Is this happening when you are running R from w/in R.app (which, I think, is not new), or are you running R from the terminal and still seeing this)? It happens when a forked child process tries to use some fork

Re: [R-SIG-Mac] Forking issues in Mavericks

2013-10-30 Thread Jeroen Ooms
On Wed, Oct 30, 2013 at 10:08 AM, Simon Urbanek simon.urba...@r-project.org wrote: I didn't have time to look (will do later today), but a wild guess is that Apple was moving away from some common libraries like OpenSSL and replacing them with their own which could be CF-based and thus

Re: [R-SIG-Mac] Forking issues in Mavericks

2013-10-30 Thread Jeroen Ooms
On Wed, Oct 30, 2013 at 1:41 PM, Simon Urbanek simon.urba...@r-project.org wrote: Jeroen, actually, it works just fine for me on 10.9 (with CRAN build of R): Hmm interesting. Here is a clip of what happens on my machine: http://youtu.be/GAtKa6P75Qs. Note that it shows the error messages from

Re: [R-SIG-Mac] Forking issues in Mavericks

2013-10-30 Thread Jeroen Ooms
On Wed, Oct 30, 2013 at 2:57 PM, Simon Urbanek simon.urba...@r-project.org wrote: Ah, you're running it in R.app? Well this was the easiest way to show it; the same problem appears when forking form inside httpuv or so. Anyway, my hunch was correct - it's libcurl crashing in SSL trying to use

Re: [R-SIG-Mac] Forking issues in Mavericks

2013-11-06 Thread Jeroen Ooms
On Thu, Oct 31, 2013 at 6:22 AM, Simon Urbanek simon.urba...@r-project.org wrote: I suspect that there is more involved in your case, so we can take it offline if you want to provide the complete example of your issue. FYI, the issue is posted here: https://github.com/rstudio/httpuv/issues/22.

[R-SIG-Mac] Missing binary packages for Mavericks

2014-04-10 Thread Jeroen Ooms
Running update.packages on R 3.1 for Mavericks complains that some CRAN packages do not have binary builds available. For example lme4 is missing from http://cran.r-project.org/bin/macosx/mavericks/contrib/3.1/. Is there any reason for this, or do I just need some patience? I installed lme4 from

[R-SIG-Mac] Cairo: Fontconfig error: Cannot load default config file

2014-04-15 Thread Jeroen Ooms
Running on R 3.1 on my Mavericks laptop: options(bitmapType = cairo); svg(cars.svg, width=11.69, height=8.27) plot(cars) dev.off() Gives a message: Fontconfig error: Cannot load default config file. The text in the svg seems heavily pixelated. The same happens when using png(). IIRC, this did

Re: [R-SIG-Mac] Cairo: Fontconfig error: Cannot load default config file

2014-04-18 Thread Jeroen Ooms
in the fontconfig used by 3.1.0, now fixed. You will need to upgrade R and possibly packages that use fontconfig. Cheers, Simon On Apr 15, 2014, at 7:55 PM, Jeroen Ooms jeroen.o...@stat.ucla.edu wrote: Running on R 3.1 on my Mavericks laptop: options(bitmapType = cairo); svg(cars.svg, width

Re: [R-SIG-Mac] cairo devices not working in 3.2.0

2015-04-24 Thread Jeroen Ooms
My cairo problems went away after reinstalling xQuartz + R 3.2.0 and rebooting. On Fri, Apr 24, 2015 at 8:05 AM, Amos B. Elberg amos.elb...@gmail.com wrote: I had this issue but it went away when I installed the 3.2-patched binary. On Apr 24, 2015, at 10:52 AM, Noam Ross noam.r...@gmail.com

Re: [R-SIG-Mac] R 3.2.2 Hangs Reading Files in El Capitan

2015-12-04 Thread Jeroen Ooms
Can you include a reproducible example? This seems to work for me as expected: x <- rnorm(1e8) saveRDS(x, tmp <- tempfile()) file.info(tmp)$size y <- readRDS(tmp) identical(x,y) Could be a hw issue with your disk. On Sun, Nov 29, 2015 at 4:34 PM, Charles DiMaggio

Re: [R-SIG-Mac] Could not install Package:pdftools in Mac lion 10.7.5

2016-12-27 Thread Jeroen Ooms
How did you install libpoppler? Such errors typically appear when you link to a shared library which was built with another (incompatible) compiler than the one you use for compiling R packages. Note that Mac lion 10.7.5 has been deprecated for 2 over two years; upgrading your OS is highly

Re: [R-SIG-Mac] Could not install Package:pdftools in Mac lion 10.7.5

2016-12-27 Thread Jeroen Ooms
On Tue, Dec 27, 2016 at 8:09 PM, Christofer Bogaso wrote: > It giving below error :( > >> install.packages('/Users/ARR/pdftools_1.0.tgz', repos = NULL) > tar: Failed to set default locale I think that is an unrelated problem on your system. See:

Re: [R-SIG-Mac] Could not install Package:pdftools in Mac lion 10.7.5

2016-12-27 Thread Jeroen Ooms
On Tue, Dec 27, 2016 at 7:27 PM, Christofer Bogaso wrote: > > I have installed poppler as instructed in below site. However, not > libpoppler. Let me know if I need to install libpoppler as well, in > that case appreciate any pointer how should I install. No that's

[R-SIG-Mac] Disable readline echo in R for mac GUI

2018-11-15 Thread Jeroen Ooms
When prompting the user for a password, we need to temporarily disable echo. In a tty we can call posix stty -echo (example below). The RStudio GUI has a native password entry function that can be triggered via getOption('askpass'). Is there simple method to prompt for a password in the R for Mac

Re: [R-SIG-Mac] PACKAGES file missing

2020-02-13 Thread Jeroen Ooms
On Thu, Feb 13, 2020 at 1:55 AM Simon Urbanek wrote: > > Thanks, indeed, there were some disruptions, but now the build machine has > its own dedicated port and location in Auckland so hopefully things will > settle. > I have also fortified the sync scripts to not sync with the Mac master if >

Re: [R-SIG-Mac] Building R 4.0.2 from source via clang/xcode for MKL on macOS

2020-10-02 Thread Jeroen Ooms
On Tue, Sep 29, 2020 at 4:32 PM Prof Brian Ripley wrote: > > On 29/09/2020 12:27, Kasper Daniel Hansen wrote: > > To use veclib you need > > --with-blas="-framework Accelerate" > > Details are in the R-admin manual, including that R fails one of its checks. It may be worth mentioning that

Re: [R-SIG-Mac] Link-Time Optimization (LTO)

2020-07-15 Thread Jeroen Ooms
On Tue, Jul 14, 2020 at 4:22 PM Prof Brian Ripley wrote: > > This is a rather technical post about how libraries of compiled code can > be further optimized. LTO generally produces smaller[*] and faster code > (typically by a few percent) at the expense of increased installation > time and is

Re: [R-SIG-Mac] Apple Silicon aka M1 Macs

2020-12-24 Thread Jeroen Ooms
On Thu, Dec 24, 2020 at 7:32 PM Denis-Alexander Engemann wrote: > > Hi everyone, > > I'm finally joining the party here and so far made good progress > following Taras' instructions. > > Disclaimer - I'm new to working with R sources. > But would be very happy to help with testing and reporting

Re: [R-SIG-Mac] CRAN package checks on M1 Mac

2020-12-21 Thread Jeroen Ooms
On Sun, Dec 13, 2020 at 6:45 AM Prof Brian Ripley wrote: > > We have managed a fairly complete check run with natively-compiled R and > packages, and a full one with x86_64 R and packages running under > Rosetta (mainly using CRAN binary distributions). > > The bottom line is that running under

Re: [R-SIG-Mac] R 4.1 for my Mac M1 crashing on installing packages

2021-05-19 Thread Jeroen Ooms
On Wed, May 19, 2021 at 11:34 AM Renato Morais wrote: > > Hi all, > > I'm new here, so please forgive my clumsy error reporting. > > I have just downloaded *R-4.1-branch.pkg* for my Mac M1, as I wanted to > finally enjoy a native normal-speed R (for some reason running v 4.0.5 on > Rosetta was

Re: [R-SIG-Mac] R / Rstudio and curl on Mac Mojave

2021-11-13 Thread Jeroen Ooms
On Sat, Nov 13, 2021 at 6:01 PM Gábor Csárdi wrote: > > The curl package does not use the command line curl program, it uses > libcurl, the library. You can use curl::curl_version() to see the > libcurl version that the curl package is using. > > But in any case, this is not a curl or libcurl