Re: [R-SIG-Mac] procedure to ship libomp.dylib run-time with package

2024-06-25 Thread Timothy Bates
ey Cc: Timothy Bates ; R list Subject: Re: [R-SIG-Mac] procedure to ship libomp.dylib run-time with package This email was sent to you by someone outside the University. You should only click on links or attachments if you are certain that the email is genuine and the content is safe. If you re

[R-SIG-Mac] procedure to ship libomp.dylib run-time with package

2024-06-24 Thread Timothy Bates
At https://mac.r-project.org/openmp/ it says "any package you compile against libomp.dylib will need that run-time so you have to ship it with your package or have users install it” Are there any instructions on what to do/where to put libomp.dylib so it will be found? I’ve compiled a packag

Re: [R-SIG-Mac] R 4.3.1 fails on Mac OS 1

2023-10-01 Thread Timothy Bates
Yes, I've got the same issue. It's a deal breaker and has been there the whole beta of os14 There are some other new deprecated and end of life code calls that need cleaning up too. On Sun, Oct 1, 2023, 5:19 PM William Revelle wrote: > Dear Mac users of R and developers. > > > I recently upda

[R-SIG-Mac] plot window not showing most recent plot?

2020-09-05 Thread Timothy Bates
In R version: R version 4.0.2 (2020-06-22), I’m seeing the plot window not advance when a new ggplot is drawn. calls to plot() advance the quartz window to the newest “frame”, but calls to ggplot2::qplot() show the graph only the first time the function is called in the quartz window’s history.

[R-SIG-Mac] R 4 dumping tons of console messages in Big Sur

2020-06-24 Thread Timothy Bates
R in pretty-much unusable in Big Sur (OSX beta) - it's generating many more than ever warning messages to the console, such that a simple calculation fills the page with warnings... e.g: (174-19)/15 [1] 10.3 2020-06-24 15:45:31.472 R[4178:38668] is drawing everything 2020-06-24 15:45:31.472

Re: [R-SIG-Mac] Strange "NOTE" when running R CMD CHECK

2020-06-14 Thread Timothy Bates
It won’t hold up submission: I believe it's just a NOTE to let the kind people helping with submissions find who the maintainer is. Been around for some years, I believe? Best, tim > On 14 Jun 2020, at 23:21, Carl Witthoft wrote: > Has anyone seen this kind of NOTE when running R CMD CHECK --

Re: [R-SIG-Mac] Function Hints in Mac Dark Mode aren't visible

2020-05-18 Thread Timothy Bates
Any chance you could make the Function Hints pane at the bottom of the Console taller? It’s tiny on current MacBook screens. Ideally just make it the same size/height as regular console text. > On 12 May 2020, at 00:36, Simon Urbanek wrote: > > Andrew, > > I have addressed it for the console

[R-SIG-Mac] out of date value at http://cran.r-project.org/bin/macosx/VERSION

2020-03-27 Thread Timothy Bates
http://cran.r-project.org/bin/macosx/VERSION is out of date: It returns: 3.6.2, when the correct answer since 2020/02/29 is 3.6.3 this makes Rapp.updates() not work as intended t ___ R-SIG-Mac mailing list R-SIG-Mac@r-project.org https://stat.ethz.c

[R-SIG-Mac] dev tarball segfault on load (was Re: R devel == 4.0.0?)

2020-03-26 Thread Timothy Bates
Hi: Downloaded the developer version… tar yields an error, and R.app segfaults on load: tried tar with both the r-project instruction: tar fvxz ~/Downloads/R-devel-el-capitan-sa-x86_64.tar.gz -C / and (equivalent) suggestion from RSwitch.app tar -xvzf ~/Downloads/R-devel-el-capitan-sa-x86_64.

Re: [R-SIG-Mac] pasting from the clipboard

2018-10-09 Thread Timothy Bates
For what it’s worth, this is the function I use: umx::umx_write_to_clipboard <- function (x) { if (umx_check_OS("OSX")) { clipboard <- pipe("pbcopy", "w") write.table(x, file = clipboard, sep = "\t", row.names = FALSE, col.names = FALSE, quote = FALSE) clos

Re: [R-SIG-Mac] Installing R on 10.14 (Mojave)

2018-09-30 Thread Timothy Bates
Thanks Marc! I didn't think the `xcode-select --install` was needed any longer. Did that and all worked well with the `macOS_SDK_headers_for_macOS_10.14.pkg` install. Many thanks again! tim On Tue, Sep 25, 2018 at 5:36 PM Marc Schwartz wrote: > Hi Tim, > > Be sure that you are running the la

Re: [R-SIG-Mac] UI suggestion: allow a tab with no more suggestions to fill in "$"

2016-05-31 Thread Timothy Bates
:::.CompletionEnv[["comps"]] > } > res <- unique(comp(x)) > if (nzchar(x) && identical(res, x) && !identical(substr(x, nchar(x), nchar(x) > + 1L), "$")) { > rc <- comp(paste0(x, "$")) > if (!identical(substr(rc, nchar(rc), nchar(rc

Re: [R-SIG-Mac] UI suggestion: allow a tab with no more suggestions to fill in "$"

2016-05-31 Thread Timothy Bates
Hi all, Simon send code that would essentially allow users to customise the behavior in a very R-ish way. Perhaps someone could even release a package R.app.options to contain functions like this. Code copied below: I can’t get it to work as add.fn doesn’t exist for me: no doubt soluble, as Sim

Re: [R-SIG-Mac] UI suggestion: allow a tab with no more suggestions to fill in "$"

2016-05-24 Thread Timothy Bates
ives a drop down of column names - much easier than running names() in the terminal to remember what is what. > > On May 20, 2016, at 8:08 AM, Timothy Bates wrote: >> Like most of us I am sure, I use the tab completion system a lot, not just >> to complete object names, but t

[R-SIG-Mac] UI suggestion: allow a tab with no more suggestions to fill in "$"

2016-05-20 Thread Timothy Bates
Like most of us I am sure, I use the tab completion system a lot, not just to complete object names, but to pick from the drop-list created when one hits tab after a $ sign. Current situation to get to "object$part1$level2” the user currently has to type: 1. "obj→" (completed to "object") 2.

Re: [R-SIG-Mac] Problems to install a package

2015-07-31 Thread Timothy Bates
This happened for me too: that Intel Core 2 is just too old for the compiler. I used it as a stimulus to buy a new laptop… As a bonus, everything is ~10x faster Best, tim > On 30 Jul 2015, at 8:33 PM, Simon Urbanek wrote: > > Davor, > > we're not talking about the warning - we're talking abou

[R-SIG-Mac] font size in the bottom bar

2013-10-11 Thread Timothy Bates
Is there a way to set the font size in the lower bar on the R.app console? I find it super-handy to see the function parameter list, but (especially with fns with lots of parameters) the font shrinks too small for me to read comfortably... Best, tim -- The University of Edinburgh is a charit

Re: [R-SIG-Mac] SEM model run error

2013-01-26 Thread Timothy Bates
1 This is not a mac question 2 You haven’t said what package you’re using 3. It is highly unlikely that the correct format is rtf. The main SEM packages in R are OpenMx, SEM, and lavaan. They all have tutorial pdfs, and examples of working models On 26 Jan 2013, at 4:09 PM, Ross Tinsley wrote:

Re: [R-SIG-Mac] Problem in importing xlsx files

2012-09-05 Thread Timothy Bates
have you tried the gdata package? it works great, and is spreading in use here (especially with students. who love the ability to enter and clean data up in an easy to use spreadsheet) fWHR <- gdata::read.xls("~/Dropbox/Capuchin_fWHR.xlsx”) tim On 5 Sep 2012, at 3:31 PM, Simon Urbanek wrote:

Re: [R-SIG-Mac] GCC on Lion and above

2012-05-02 Thread Timothy Bates
Dear all (simon...) I’ve installed what I think is the recommended gcc+fortran installer pkg for Lion: http://r.research.att.com/tools/gcc-42-5666.3-darwin11.pkg but get no fortran in my /usr/local/bin and compiling an R package that needs it (http://openmx.psyc.virginia.edu) fails... no fort

[R-SIG-Mac] Check for R updates… (doesn't visit CRAN)

2012-05-02 Thread Timothy Bates
hi, selected Check for R updates from R.app’s Application menu get: This version of R is 2.14.1 There is a newer version of R on CRAN which is 2.15.0 > Do you want to visit CRAN now? Y > So, no opening of browser...should this be giving an informative error? ___

[R-SIG-Mac] GCC on Lion and above

2012-04-02 Thread Timothy Bates
Hi All, HPC seem to be maintaining the gcc toolchain up to date (they have GCC 4.7 compiled with autovectoring using OpenMP…) http://hpc.sourceforge.net BUT the page http://r.research.att.com/tools/ says "do not use compilers from HPC, they won't work correctly!” Is that the case? Also, I w

[R-SIG-Mac] Wish for the GUI: themes

2012-03-13 Thread Timothy Bates
Hi, Teaching with R, I find the mac GUI very nice, and so do students once they see the shortcuts etc. (I don’t get why mac people would use R-Studio…) For myself, I still use a customized Textmate command bundle to work with R. One thing I miss in R.app at present is themes, especially this one

[R-SIG-Mac] gcc 4.7?

2012-02-22 Thread Timothy Bates
Dear OS X folk, Background: I’m compiling projects which require OpenMP. These crash when linking to the omp libraries included by Apple under llvm, so, wanting to install omp-friendly gcc Simon[1] has a long list of possible binaries, mostly at gcc 4.2.4 It also has a warning against the hpc

Re: [R-SIG-Mac] How to make Mac 64-bit version feature complete?

2011-12-15 Thread Timothy Bates
On 14 Dec 2011, at 4:24 PM, Adam Strzelecki wrote: >> In addition, there is no benefit in creating universal binaries, since they >> are very Darwin-specific and bring no benefit in this context. > > There's a huge benefit of doing that. I do develop Mac apps, and FAT binaries > and libs makes

[R-SIG-Mac] turn off text transforms

2011-08-24 Thread Timothy Bates
hi all, if I enter the following into R.app > 1/8 x 248.70 I get Error: unexpected symbol in "1/8 x” Because OS text entry is transforming 1/8 into ⅛. Is there a way to turn that off selectively for R.app? tim ___ R-SIG-Mac mailing list R-SIG-Mac@r-p

[R-SIG-Mac] service to run R from mail.app?

2011-08-14 Thread Timothy Bates
hi all, i wonder if anyone has made a service to send an email selection to R and run it? Would be nice to be able to cmd-return click and have this work, as in textmate. Especially with all the example code coming through mail lists... If no one's done it, I'll have a go. t _

[R-SIG-Mac] Error in plot.new() : figure margins too large

2011-07-21 Thread Timothy Bates
hi all, Not sure if this is mac/quartz specific or not. With my default graph size (about 3*3 inches), this: > layout(matrix(c(1, 2, 3, 3), 2, byrow = TRUE)) > plot(1:10); plot(11:20); plot(21:40) gives the error "Error in plot.new() : figure margins too large”: If I expand the quartz window, ru

[R-SIG-Mac] Error in plot.new() : figure margins too large

2011-07-20 Thread Timothy Bates
Dear Mac R users, Not sure if this is mac/quartz specific or not. With my default graph size (about 3*3 inches), this code: layout(matrix(c(1, 2, 3, 3), 2, byrow = TRUE)) plot(1:10); plot(11:20); plot(21:40) Gives the error "Error in plot.new() : figure margins too large”: If I expand the qua

[R-SIG-Mac] UI feature suggestions (was bracket-matching and window positioning)

2011-07-19 Thread Timothy Bates
hi Hans, Prompted by a "tim" posting (cole not me) email on the list, I thought I'd send in my wish list even though it's not christmas :-) Thanks for the massive improvements you've made already - they save me around 1hr a day, I think! Hope other people are discovering them: Maybe R could hav

Re: [R-SIG-Mac] download.file suggestion: if(OSX){ use curl}

2011-07-07 Thread Timothy Bates
ure connections (for instance https://) are supported via use of helpers such as curl which can be set via the option of download.file. #endif With an example of how to do that. Thoughts welcome. On 7 Jul 2011, at 2:33 PM, Simon Urbanek wrote: > On Jul 4, 2011, at 7:38 AM, Timothy Bates wrot

[R-SIG-Mac] download.file suggestion: if(OSX){ use curl}

2011-07-07 Thread Timothy Bates
Dear R mac users, As services that enforce secure connections like https sftp proliferate, it would be nice if R could handle accessing files over the secure services. Currently download.file() doesn’t handle https (or anything secure) The special interest for Mac users is that we have out of

[R-SIG-Mac] any way to tell R.app to clear console (other than simulating cmd-option-L)?

2011-07-05 Thread Timothy Bates
Dear R-guys, I’d like to send an applescript command to R.app (from Textmate) to clear the console (as is achieved by “Edit:Clear Console”) Is there an R function that achieves that, or calls R.app’s menu items? Best, tim -- The University of Edinburgh is a charitable body, registered in Scotl

Re: [R-SIG-Mac] ?> as a valid help request

2011-05-25 Thread Timothy Bates
Hans said: > did you try to simply select the function and press CTRL+H or right-click for > content menu and select "Show Help for current Function”? fantastic Hans! PS: I looked in the help menu and saw nothing like “help on selection cntrl-H” …. that would help with newbie discovery (like me

[R-SIG-Mac] left-arrow doesn't unselect and move left (was ?> as a valid help request)

2011-05-25 Thread Timothy Bates
On 25 May 2011, at 5:50 PM, Berend Hasselman wrote: >> The left arrow just does nothing when a selection has been made (whereas the >> right arrow undoes the selection, leaving the cursor to its right) > Command-left arrow > Ctrl-A > … Again, thanks for the help: I think it is a bug that left-ar

Re: [R-SIG-Mac] ?> as a valid help request

2011-05-25 Thread Timothy Bates
> just do > '?>' On 25 May 2011, at 5:20 PM, Marc Schwartz wrote: > ?> > Error: unexpected '>' in “?>” Thanks Mark and Ian, Glad it’s a straightforward and memorable workaround. And this is easy in the new GUI (which adds quotes around a selection. Still wish that the error told me that was a l

[R-SIG-Mac] ?> as a valid help request

2011-05-25 Thread Timothy Bates
Hi all, I wonder if there could be a way to allow querys like the following to succeed by changes to the gui command line? ?> > Error: unexpected '>' in "?>” ?%*% Error: unexpected SPECIAL in "?%*%" cheers, tim -- The University of Edinburgh is a charitable body, registered in Scotland, with

Re: [R-SIG-Mac] import data Mac OS

2011-05-02 Thread Timothy Bates
You can also drop the path directly into R.app: just hold down the option key when you drop a file into the console I usually just type: twinData= read.spss("", use.value.labels=T, to.data.frame=T, max.value.labels=Inf, trim.factor.names=F) then option-drop the file in between the awa

Re: [R-SIG-Mac] R editor for Mac

2011-01-27 Thread Timothy Bates
gt; 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