Re: [R-pkg-devel] [External] Assistance Needed to Resolve CRAN Submission Note

2024-05-19 Thread Richard M. Heiberger
ersion") HTML Tidy for Apple macOS version 5.8.0 > On May 19, 2024, at 01:30, Ivan Krylov wrote: > > On Sat, 18 May 2024 21:10:18 + > "Richard M. Heiberger" wrote: > >> when checking a package and discovering these messages about html5, >> can you

Re: [R-pkg-devel] [External] Re: [External] Re: Assistance Needed to Resolve CRAN Submission Note

2024-05-18 Thread Richard M. Heiberger
n't think that will ever happen. It only happens when a user tries an > "--as-cran" check, but doesn't have a current version of tidy installed. > CRAN does have the up-to-date versions installed, so they won't see this. > > Duncan Murdoch > >> On 2024-05-

Re: [R-pkg-devel] [External] Re: Assistance Needed to Resolve CRAN Submission Note

2024-05-18 Thread Richard M. Heiberger
this is a suggestion to CRAN. when checking a package and discovering these messages about html5, can you generate an informational message about tidy with a link to updating tidy? thank you Rich Sent from my iPhone > On May 17, 2024, at 15:32, Marc Girondot via R-package-devel > wrote: > >

Re: [R] [External] Printout and saved results

2024-03-25 Thread Richard M. Heiberger
dstat4 <- function(data) { Mean<- apply(data, 2, mean, na.rm=TRUE) Std.dev <- apply(data, 2, sd, na.rm=TRUE) Min <- apply(data, 2, min, na.rm=TRUE) Max <- apply(data, 2, max, na.rm=TRUE) Obs <- dim(data)[1] data.frame(Mean, Std.dev, Min, Max, Obs) } ## don't round inside a

Re: [R-pkg-devel] [External] Removing import(methods) stops exporting S4 "meta name"

2024-03-14 Thread Richard M. Heiberger
this looks like a relative of the issue I tripped on that is discussed in the email threads https://stat.ethz.ch/pipermail/r-package-devel/2024q1/010531.html https://stat.ethz.ch/pipermail/r-devel/2024-March/083259.html At issue is the default export of exportPattern(".") System generated

Re: [R-pkg-devel] [External] [External] RcmdrPlugin.HH_1.1-48.tar.gz

2024-03-06 Thread Richard M. Heiberger
quot;) ? > On Mar 6, 2024, at 11:57, Joshua Ulrich wrote: > > On Wed, Mar 6, 2024 at 1:03 AM Richard M. Heiberger wrote: >> >> Thank you Duncan, Jeff, Ivan. >> >> I did all that Duncan and Jeff suggested, plus a bit more that appeared to >> be necessary. &g

Re: [Rd] [External] Never exporting .__global__ and .__suppressForeign__?

2024-03-06 Thread Richard M. Heiberger
Ivan, thank you for including me on this thread on R-devel. Please be sure to see the last email in my R-pkg-devel thread on RcmdrPlugin.HH_1.1-48.tar.gz, in which I discuss how I responded to this issue, specifically to my detailed discussion in the RcmdrPlugion.HH/NEWS. Rich > On Mar 6,

Re: [R-pkg-devel] [External] RcmdrPlugin.HH_1.1-48.tar.gz

2024-03-05 Thread Richard M. Heiberger
in the NEWS file, perhaps augmented with Ivan's comments, might be added to utils/man/globalVariables.Rd and to the " section ‘Package structure’ in the ‘Writing R Extensions’ manual. " > On Mar 6, 2024, at 01:38, Ivan Krylov wrote: > > В Tue, 5 Mar 2024 22:41:32 + > "R

Re: [R-pkg-devel] [External] RcmdrPlugin.HH_1.1-48.tar.gz

2024-03-05 Thread Richard M. Heiberger
are explicitly included. What should I try next? > On Mar 5, 2024, at 18:21, Duncan Murdoch wrote: > > On 05/03/2024 5:41 p.m., Richard M. Heiberger wrote: >> My package is being rejected by auto-check >> Flavor: r-devel-linux-x86_64-debian-gcc, r-devel-windows-x86_6

[R-pkg-devel] RcmdrPlugin.HH_1.1-48.tar.gz

2024-03-05 Thread Richard M. Heiberger
My package is being rejected by auto-check Flavor: r-devel-linux-x86_64-debian-gcc, r-devel-windows-x86_64 Check: for missing documentation entries, Result: WARNING Undocumented code objects: '.__global__' All user-level objects in a package should have documentation entries. See chapter

Re: [R] [External] dput(..., file = stderr())

2024-03-01 Thread Richard M. Heiberger
I see the same thing in a fresh R session > dput(letters, file = stderr()) c("a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z") Warning message: In dput(letters, file = stderr()) : wrote too few characters >

Re: [R] [External] converting MATLAB -> R | element-wise operation

2024-02-29 Thread Richard M. Heiberger
orrect size in advance is very helpful if you will be doing this division more than once. > On Feb 29, 2024, at 18:12, Richard M. Heiberger wrote: > > I decided to do a direct comparison of transpose and sweep. > > > library(microbenchmark) > > NN <- matrix(c(1, 2, 3, 4,

Re: [R] [External] converting MATLAB -> R | element-wise operation

2024-02-29 Thread Richard M. Heiberger
I decided to do a direct comparison of transpose and sweep. library(microbenchmark) NN <- matrix(c(1, 2, 3, 4, 5, 6), nrow = 2, byrow = TRUE) # Example matrix lambda <- c(2, 3, 4) # Example vector colNN <- t(NN) microbenchmark( sweep = sweep(NN, 2, lambda, "/"), transpose =

Re: [R] [External] converting MATLAB -> R | element-wise operation

2024-02-27 Thread Richard M. Heiberger
> t(t(NN)/lambda) [,1] [,2] [,3] [1,] 0.5 0.667 0.75 [2,] 2.0 1.667 1.50 > R matrices are column-based. MATLAB matrices are row-based. > On Feb 27, 2024, at 14:54, Evan Cooch wrote: > > So, trying to convert a very long, somewhat technical bit of lin alg > MATLAB code to R.

Re: [R] [External] Extracting Plot Arguments

2024-02-23 Thread Richard M. Heiberger
Does the grid.echo function in the gridGraphics package do what you want? Description Convert a scene that was drawn using the graphics package to an identical scene drawn with the grid package. > On Feb 21, 2024, at 22:49, Reed A. Cartwright wrote: > > Hi All, > > I'm building an autograding

Re: [External] [FR] Add buffer-local setting to request specific ESS process/session name (was: [PATCH] Set Python shell in Org edit buffer)

2024-01-12 Thread Richard M. Heiberger
This idiscussion s reminding me of the following ESS functions ess-add-ess-process M-x ... RET Execute this command from within a buffer running a process to add ess-request-a-process M-x ... RET Ask for a process, and make it the current ESS process. ess-switch-process

Re: [ESS] [External] [R-win] Difficulty installing R packages under Windows 11 / Cygwin

2023-12-02 Thread Richard M. Heiberger via ESS-help
my initial reaction is that you are trying to hard. I haven't paid serious attention to Windows since I switched to Mac about 10 years ago. What I recall is that all the unix utilities (sh, awk, grep, etc) that you need are included in the Rtools collection. Indeed they are exactly the cygwin

Re: [ESS] [External] R Transcript opens in readonly buffer

2023-11-25 Thread Richard M. Heiberger via ESS-help
Yes, that is the designed behavior. A transcript is the history of a previous session. Normally you would not want to change it. What you might want to do is open a new .r file and copy the source code from the transcript into the new file. Pick up the entire section of transcript (input

Re: [R-pkg-devel] [External] circular suggested packages

2023-11-07 Thread Richard M. Heiberger
Why are these functins in two different packages? On the surface it looks like qrcode is a transformation function and opencv is its inverse. > On Nov 7, 2023, at 14:55, Thierry Onkelinx wrote: > > Dear all, > > The qrcode package converts text into a qrcode image. The opencv package is > able

[R-pkg-devel] is this expected behavior

2023-09-13 Thread Richard M. Heiberger
I have a demo file that uses a function defined in the package. when I force the demo to be run with R CMD check --test-dir=demo findme_1.0.tar.gz then the function defined in the package is not recognized. Here is the demo/findme.r file: findme::findme() findme() Here is the result of: R CMD

Re: [R] [External] need help with plotmath and/or plotting unicode characters

2023-06-08 Thread Richard M. Heiberger
Use * instead of ~ XX <- 5 YY <- 10 plot(1:10) mtext(side=3, bquote(N <= .(XX) ~":" ~ .(YY))) mtext(side=1, bquote(N <= .(XX) *":" * .(YY))) > On Jun 7, 2023, at 22:14, Dennis Fisher wrote: > > R 4.2.3 > OS X > > Colleagues > > This should be easy -- but not for me. > > I want to plot text

Re: [R] [External] latticeExtra

2023-06-05 Thread Richard M. Heiberger
This works. > d$zz <- factor(d$z, levels=c("low","med","high")) > d$xx <- as.factor(d$x) > cloud(y~xx+zz, d, panel.3d.cloud=panel.3dbars, col.facet='grey', + xbase=0.4, ybase=0.4, scales=list(arrows=FALSE, col=1), + par.settings = list(axis.line = list(col = "transparent"))) > the

Re: [R] [External] Error in percentage stacked barplot

2023-05-03 Thread Richard M. Heiberger
quot;#BEBEBE", "#6193CE", > "#00508C", "#E94E1B", "#BEBEBE"), legend.position="left") > > Once again, thank you very much. > > Kind regards, > Maria > > > Στις Τρίτη 2 Μαΐου 2023 στις 08:51:16 μ.μ. GMT+1, ο χρήστης R

Re: [R] [External] Error in percentage stacked barplot

2023-05-02 Thread Richard M. Heiberger
## you may need to install HH install.packagess("HH") library(HH) hellisheidi <- read.table(text=" Component Sample1 Sample2 Sample3 CaO455248 SiO2 252218 Al2O3 15

Re: [R-SIG-Mac] [External] Re: [External] Re: another freeze on plot(1:10)

2023-01-23 Thread Richard M. Heiberger
I also tried opening quartz(), then X11(), then I plotted on X(11) it worked > normally, > Then I dev.set() back to the quartz. When I plot(1:10) it locks up. > So it is not the existence of the quartz device, it is the attempt to use it > that causes the freeze. > Rich > From

[R] linux, emacs, R on iPhone/iPad

2022-11-21 Thread Richard M. Heiberger
I discovered that the "iSH shell" is available for the iPhone/iPad from the Applications app. this is Alpine linux Once iSH is loaded from the App store, then open it to a shell and download apk add emacs apk add R emacs works well for writing files and sending them to a bigger computer by

Re: [R-SIG-Mac] [External] macOS Ventura (13) Preview App Drops Support for PS/EPS File Rendering

2022-10-26 Thread Richard M. Heiberger
Have you considered ps2pdf? > On Oct 26, 2022, at 10:11, Marc Schwartz via R-SIG-Mac > wrote: > > Hi Prof. Ripley, > > Thanks for your reply. Responses inline below. > > On October 25, 2022 at 11:11:43 PM, Prof Brian Ripley (rip...@stats.ox.ac.uk) > wrote: >> Somehow you sent HTML only, and

Re: [R] [External] Fwd: Reading very large text files into R

2022-09-29 Thread Richard M. Heiberger
I think you need the fill=TRUE argument. See ?read.table > On Sep 29, 2022, at 11:14, Enrico Schumann wrote: > > On Thu, 29 Sep 2022, Nick Wray writes: > >> -- Forwarded message - >> From: Nick Wray >> Date: Thu, 29 Sept 2022 at 15:32 >> Subject: Re: [R] Reading very large

[R-pkg-devel] escaped latex specials

2022-08-08 Thread Richard M. Heiberger
There is a new NOTE. This line with \& used to be acceptable. I am not seeing what the suggested replacement is. * checking Rd files ... [4s] NOTE checkRd: (-1) bivariateNormal.Rd:42: Escaped LaTeX specials: \& The full example is \note{ Based on the \code{galaxy} example on pages 204--205 in

Re: [ESS] [External] Re: ESS confused about newest R

2022-07-13 Thread Richard M. Heiberger via ESS-help
The change in date format makes sense. The short term workaround is to set the specific R you want. In general, that ESS code on Windows was designed to find R in any of a number of standard places. The list of what those standard places are is also a variable you can set. The details have

Re: [R-SIG-Mac] [External] [External] Xquartz started crashing today

2022-06-06 Thread Richard M. Heiberger
te loop in your fonts. No > idea how that can happen, possibly recursive symlink in your font directory? > > Cheers. > Simon > > >> On Jun 7, 2022, at 2:12 AM, Richard M. Heiberger wrote: >> >> i think i will bring it to apple this afternoon

Re: [R-SIG-Mac] [External] Xquartz started crashing today

2022-06-03 Thread Richard M. Heiberger
etails, the exact way you run R, code to reproduce and > where it hangs, ideally with a crash report (which macOS creates on hangs as > well). > > Cheers, > Simon > > >> On 3/06/2022, at 2:51 PM, Richard M. Heiberger wrote: >> >> it makes R unrespons

Re: [R] [External] categorizing data

2022-05-29 Thread Richard M. Heiberger
Orig <- read.table(text=" tree shrub grass 32 11 47 23 41 26 49 23 18 ", header=TRUE) New <- Orig for (i in seq(nrow(Orig))) New[i,] <- c(10, 30, 50)[order(unlist(Orig[i,]))] New > On May 29, 2022, at 15:28, Janet Choate wrote: > > Hi R community, > I have a data frame with three

Re: [R] [External] A simple lattice histogram

2022-04-20 Thread Richard M. Heiberger
start here library(latticeExtra) c(histogram(~ card, data=CreditCard), histogram(~ reports, data=CreditCard)) then continue with resizePanels(c(histogram(~ card, data=CreditCard), histogram(~ reports, data=CreditCard), y.same=TRUE), w=c(2,16)) > On Apr 20, 2022, at 11:27, Naresh Gurbuxani

Re: [R] [External] Calculation error found

2022-04-07 Thread Richard M. Heiberger
Probably numerical precision. See FAQ 7.31 which is on your computer. Enter system(paste("open",file.path(base::system.file(), "../../doc/manual/R-FAQ.pdf"))) and the FAQ file will open. x <- 20 y <- 19.99 x-y x == y > On Apr 07, 2022, at 12:20, Sara Bortot wrote: > > Good

Re: [R] [External] Convert a character string to variable names

2022-02-07 Thread Richard M. Heiberger
> x <- c("mtcars$disp", "mtcars$hp", "mtcars$cyl") > x [1] "mtcars$disp" "mtcars$hp" "mtcars$cyl" > eval(parse(text=x)) [1] 6 6 4 6 8 6 8 4 4 6 6 8 8 8 8 8 8 4 4 4 4 8 8 8 8 4 4 4 8 6 8 4 > for (i in x) print(eval(parse(text=i))) [1] 160.0 160.0 108.0 258.0 360.0 225.0 360.0 146.7 140.8 167.6

Re: [R] [External] Funky calculations

2022-02-01 Thread Richard M. Heiberger
ot match. > > I do care what it does in my programs, of course. My goal here was to explain > to someone that the anomaly found was not really an anomaly and that careful > coding may be required in these situations. > > > -Original Message- > From: Richard M. Heiberger

Re: [R] [External] how to plot numeric variable against several categories with lattice bwplot?

2022-01-16 Thread Richard M. Heiberger
My guess, continuing from Rolf, is that you should be using conditioning bwplot(~ y | f2, df, layout=c(3,1)) > On Jan 16, 2022, at 22:22, Rolf Turner wrote: > > xxx <- trellis.par.get("box.umbrella") > xxx$lty <- 1 > trellis.par.set(box.umbrella=xxx) > junk <- rnorm(42) > bwplot(junk)

Re: [R] [External] NAs are removed

2022-01-14 Thread Richard M. Heiberger
this is a related issue. For this example, the ifelse statement is 10 times slower than a much simpler != comparison. > tmp <- sample(1:2, 40, TRUE) > tmp [1] 2 2 2 2 1 2 1 2 1 1 1 1 1 2 1 2 2 1 1 2 1 2 2 2 1 1 1 2 2 1 2 1 1 1 2 1 2 1 2 2 > ifelse(tmp==2, 0, 1) [1] 0 0 0 0 1 0 1 0 1 1 1 1 1

Re: [R] [External] Re: Save a graph file use jpeg(file=file)

2022-01-05 Thread Richard M. Heiberger
you can make the rgl window full screen, and then stretch the graph to fill the window, and then use snapshot 3d From: R-help on behalf of Sorkin, John Sent: Wednesday, January 5, 2022 8:23:34 PM To: Duncan Murdoch ; r-help@r-project.org (r-help@r-project.org)

Re: [R-SIG-Mac] [External] [External] Rmpfr crashes on Mac

2021-11-28 Thread Richard M. Heiberger
works normally on Mac M1. > On Nov 29, 2021, at 00:43, Kevin Ushey wrote: > > library(Rmpfr) > x <- mpfr(-50.1, 200) > str(x) > ___ R-SIG-Mac mailing list R-SIG-Mac@r-project.org https://stat.ethz.ch/mailman/listinfo/r-sig-mac

Re: [R-SIG-Mac] [External] Rmpfr crashes on Mac

2021-11-28 Thread Richard M. Heiberger
start. > On Nov 28, 2021, at 12:53, Richard M. Heiberger wrote: > > Works normally in R-4.1.2 with Rmpfr_0.8-7 on Macintosh aarch64-apple-darwin20 > I am running inside Emacs using ESS > >> packageVersion("Rmpfr") > [1] ‘0.8.7’ >> library(Rmpfr) > L

Re: [R-SIG-Mac] [External] Rmpfr crashes on Mac

2021-11-28 Thread Richard M. Heiberger
Works normally in R-4.1.2 with Rmpfr_0.8-7 on Macintosh aarch64-apple-darwin20 I am running inside Emacs using ESS > packageVersion("Rmpfr") [1] ‘0.8.7’ > library(Rmpfr) Loading required package: gmp Attaching package: ‘gmp’ The following objects are masked from ‘package:base’: %*%, apply,

Re: [R] [External] lattice contourplot: how to change line width?

2021-11-17 Thread Richard M. Heiberger
It didn't work because you left out the ... on the inside. it should be panel.contourplot(..., lty=1, lwd = 3) As Bert pointed out, you don't need to specify the panel function unless you are doing something complex. > On Nov 17, 2021, at 13:06, Bert Gunter wrote: > >>>

Re: [R] [External] ggplot2: multiple box plots, different tibbles/dataframes

2021-11-10 Thread Richard M. Heiberger
I don't understand your question. It looks like the example in ?lattice::panel.bwplot does exactly what you want (modulo using ggplot instead of lattice). Therefore it looks like creating a single column of y from the y in each data.frame, and also a single column of x from the x in each

Re: [R] [External] Error: unexpected symbol in "read.csv(12agosto.csv after installing Monterey

2021-11-08 Thread Richard M. Heiberger
yes, follow David Winsemius' advice. In this example, it looks not to be a mac issue, but a new R user issue. The partial message in the subject says read.csv(12agosto.csv The correct syntax is to quote the name of a file, so it should be read.csv("12agosto.csv") > On Nov 08, 2021, at 23:14,

Re: [R] [External] Rising and falling bar-plots simultaneously

2021-10-17 Thread Richard M. Heiberger
This does what I think you are asking for. If this isn't what you are looking for, please draw by brute force what you want for just the first 6 rows and post the R code. Or draw by hand for just the first 6 rows and post a png. ## install.packages("HH") ## if you don't already have HH

Re: [R] [External] Subset command

2021-10-15 Thread Richard M. Heiberger
the second command doesn't tell R that the variables are in the data.frame mydata. you will need exclude <- with(mydata, prim==-9 | etc) also you will need logical negation ! not arithmetic negation - > -c(TRUE,FALSE) [1] -1 0 > as.logical(-c(TRUE,FALSE)) [1] TRUE

Re: [R] [External] how to do inverse log of every value in every column in data frame

2021-10-14 Thread Richard M. Heiberger
> tmp <- data.frame(a=1:3,b=4:6) > exp(tmp) a b 1 2.718282 54.59815 2 7.389056 148.41316 3 20.085537 403.42879 > 2.718281828^tmp a b 1 2.718282 54.59815 2 7.389056 148.41316 3 20.085537 403.42879 > On Oct 14, 2021, at 13:10, Ana Marija wrote: > >>

Re: [R] [External] Missing text in lattice key legend

2021-10-11 Thread Richard M. Heiberger
looks like a paren outof place. the text is inside the points. it should be parallel to the points in the calling sequence. Get Outlook for iOS From: R-help on behalf of Luigi Marongiu Sent: Monday, October 11, 2021 7:46:36 AM To:

Re: [R-pkg-devel] [External] Formula modeling

2021-10-07 Thread Richard M. Heiberger
I am responding to a subset of what you asked. There are packages which use multiple formulas in their argument sequence. What you have as a single formula with | as a separator q | p | subject | time | rho ~ p + x + y | p + w + y | z + y I think would be better as a comma-separated list of

Re: [R] [External] conditional replacement of elements of matrix with another matrix column

2021-09-01 Thread Richard M. Heiberger
> A [,1] [,2] [1,] 12 NA [2,] 12 NA [3,] 12 NA [4,] 13 NA [5,] 13 NA [6,] 13 NA [7,] 14 NA [8,] 14 NA [9,] 14 NA > B [,1] [,2] [1,] 116 [2,] 117 [3,] 118 [4,] 139 [5,] 13 10 [6,] 13 11 [7,] 14 12

[R-SIG-Mac] rgl in R version 4.1.1 Patched (2021-08-13 r80752)

2021-08-18 Thread Richard M. Heiberger
R version 4.1.1 Patched (2021-08-13 r80752) aarch64-apple-darwin20 > library(rgl) Error in dyn.load(dynlib <- getDynlib(dir)) : unable to load shared object '/Library/Frameworks/R.framework/Versions/4.1-arm64/Resources/library/rgl/libs/rgl.so':

Re: [R] [External] Package for "design graphs"

2021-08-18 Thread Richard M. Heiberger
), 2, match(x$to, to)) } DesignGraph(expt1) DesignGraph(expt2) > On Aug 18, 2021, at 10:29, mad...@gmail.com wrote: > > I have attached a photo from our book > > E. Hansen "Introduktion til matematisk statistik" > > the numbers represent the labels of one f

Re: [R] [External] Package for "design graphs"

2021-08-17 Thread Richard M. Heiberger
can you post an example of the graph? From: R-help on behalf of mad...@gmail.com Sent: Tuesday, August 17, 2021 16:02 To: r-help@r-project.org Subject: [External] [R] Package for "design graphs" Hi, in our course littrature a "design graph" of two factors R

Re: [R-pkg-devel] [External] R package submission fails due to using LaTeX functions that have not been implemented for building pdfs (not due to mathjaxr)

2021-06-25 Thread Richard M. Heiberger
> One more question. If I use mjeqn at the beginning of a paragraph it > automatically sets a line break afterwards. > Any idea what I can do to prevent this? follow it with \vspace*{1ex} to back up one line. Rich > On Jun 25, 2021, at 07:51, Marc Scherstjanoi > wrote: > > Hi Wolfgang,

Re: [R] [External] Data is not properly written in csv file

2021-06-21 Thread Richard M. Heiberger
copy and paste from pdf usually scrambles tables. this package is probably suffering from that pdf characteristic. > On Jun 20, 2021, at 11:03, Sri Priya wrote: > > Dear R Users, > > I am working on extracting tables from PDF and I am writing that in a csv > file. When I executed the code,

Re: [ESS] [External] ESS Annoying "Feature"

2021-06-16 Thread Richard M. Heiberger via ESS-help
, completions, ...). Best, Lionel On 2/18/21, Richard M. Heiberger via ESS-help wrote: > On Jun 16, 2021, at 11:38, Bassett Jr,Roland L via ESS-help > wrote: > > Greetings to all. At some point, my ESS developed the following feature: > when I am editing an .Rnw file with R run

Re: [R-SIG-Mac] [External] [External] [External] tcltk on M1 mac?

2021-05-26 Thread Richard M. Heiberger
Rodney, thank you. I did that and it installed stuff, and now library(tcltk) or library(Rcmdr) work normally. Simon, can you change the warning message about xcrun to a suggestion to run from the terminal xcode-select --install Rich > On May 26, 2021, at 09:50, Sparapani, Rodney wrote: >

Re: [R-SIG-Mac] [External] [External] [External] tcltk on M1 mac?

2021-05-26 Thread Richard M. Heiberger
what you say sounds right, but I need more specifics. I tried to run git from Emacs *shell* and get this rmh@MacBook-Air ~ % git git xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun

Re: [R-SIG-Mac] [External] [External] tcltk on M1 mac?

2021-05-25 Thread Richard M. Heiberger
gt; > As for XQuartz, we already do say that explicitly on the CRAN page (with a > link to XQuartz 2.8.1): > "Note: the use of X11 (including tcltk) requires XQuartz. Always re-install > XQuartz when upgrading your macOS to a new major version." > > Cheers, >

Re: [R-SIG-Mac] [External] tcltk on M1 mac?

2021-05-25 Thread Richard M. Heiberger
add a note to the CRAN download page that XQuartz 2.8.1 is needed for the Mac M1. Rich > On May 25, 2021, at 01:36, Simon Urbanek wrote: > > Rich, > you need to instal XQuartz (see instructions on the CRAN page). > Cheers, > Simon > > > >> On 25/05/2021, a

Re: [R-SIG-Mac] [External] tcltk on M1 mac?

2021-05-24 Thread Richard M. Heiberger
I am not seeing tcltk in either the released R R version 4.1.0 (2021-05-18) -- "Camp Pontanezen" Copyright (C) 2021 The R Foundation for Statistical Computing Platform: aarch64-apple-darwin20 (64-bit) or the nightly R version 4.1.0 Patched (2021-05-23 r80364) -- "Camp Pontanezen" Copyright (C)

Re: [R] [External] LHS random number generator

2021-04-12 Thread Richard M. Heiberger
I don't know the LHS package. I don't see it on CRAN as either LHS, or more likely, as lhs (lower case). When you write back to the list, using plain text, not HTML, please state where the LHS package is located. I do see several potential problems. You use a function randomLHS without first

Re: [R] [External] unanticipated axis labels

2021-03-17 Thread Richard M. Heiberger
exactly! a warning when running would be very helpful. Thank you. Rich > On Mar 17, 2021, at 02:41, Deepayan Sarkar wrote: > > On Tue, Mar 16, 2021 at 11:35 PM Richard M. Heiberger wrote: >> >> library(lattice) >> library(latticeExtra) >> >

[R] unanticipated axis labels

2021-03-16 Thread Richard M. Heiberger
library(lattice) library(latticeExtra) barchart(matrix(c(1:6, 5:6)), main="unanticipated left axis labels", ylab="unanticipated inside labels") + latticeExtra::layer(panel.axis("left", half=FALSE, labels=1:8)) barchart(matrix(c(1:6, 5:6)), main="ok 1", ylab="anticipated") +

Re: [R] [External] Re: [External] Re: Help please

2021-03-11 Thread Richard M. Heiberger
The likert() function in library(likert) is not the same as the likert() function in library(HH). The likert function in the likert package creates an object that needs to be plotted. For the likert package you left out the line plot(likert::likert(scrounging)) This plot is not

Re: [R] [External] Re: Help please

2021-03-10 Thread Richard M. Heiberger
> table(scrounging) substr behav air ground tree vine active 1 536 foraging 2 630 inactive 6 113 snoozing 2 137 > likert(t(table(scrounging))) From: R-help on behalf of

Re: [R] [External] Help please

2021-03-10 Thread Richard M. Heiberger
> counts <- with(mtcars, table(gear, vs)) > counts vs gear 0 1 3 12 3 4 2 10 5 4 1 > likert(counts) > If this isn't enough, ask a more specific question. From: R-help on behalf of Richard M. Heiberger Sent: Wednesday,

Re: [R] [External] Help please

2021-03-10 Thread Richard M. Heiberger
install.packages("HH") library(HH) ?likert >From your description, I think your data is set up to work with likert() From: R-help on behalf of Areti Panopoulou Sent: Wednesday, March 10, 2021 13:29 To: r-help@r-project.org Subject: [External] [R] Help

Re: [ESS] [External] Re: ESS M-x R failing in a Windows installation

2021-03-10 Thread Richard M. Heiberger via ESS-help
The relevant question is what version of ess are you using? more specifically which version of ess is included with VIncent Goulet's emacs-26.1? the "bin/x64/Rterm.exe" construction is not in ess-16.10 It is in ess-18.10 the /x64/ wasn't meaningful until R stsarted releasing both 32-bit

Re: [R-SIG-Mac] [External] Re: [External] Re: [External] Re: Mac M1 emacs

2021-03-08 Thread Richard M. Heiberger
ran Emacs from there. From: R-SIG-Mac on behalf of Richard M. Heiberger Sent: Monday, March 8, 2021 14:19 To: Prof Brian Ripley; Simon Urbanek Cc: r-sig-mac@r-project.org Subject: Re: [R-SIG-Mac] [External] Re: [External] Re: [External] Re: Mac M1 emac

Re: [R-SIG-Mac] [External] Re: [External] Re: Mac M1 emacs

2021-03-08 Thread Richard M. Heiberger
. From: Simon Urbanek Sent: Sunday, March 7, 2021 21:42 To: Richard M. Heiberger Cc: r-sig-mac@r-project.org Subject: [External] Re: [R-SIG-Mac] [External] Re: Mac M1 emacs Richard, please note the binary supports mouse integration if you enable it (see Emacs

Re: [R-SIG-Mac] [External] Re: [External] Re: [External] Re: Mac M1 emacs

2021-03-08 Thread Richard M. Heiberger
PSE_NOTIFY From: Prof Brian Ripley Sent: Monday, March 8, 2021 13:30 To: Richard M. Heiberger; Simon Urbanek Cc: r-sig-mac@r-project.org Subject: [External] Re: [R-SIG-Mac] [External] Re: [External] Re: Mac M1 emacs On 08/03/2021 17:59, Richard M. Heiberger wrote: > I u

Re: [R-SIG-Mac] [External] Re: [External] Re: Mac M1 emacs

2021-03-08 Thread Richard M. Heiberger
on behalf of Richard M. Heiberger Sent: Monday, March 8, 2021 11:55 To: Simon Urbanek Cc: r-sig-mac@r-project.org Subject: Re: [R-SIG-Mac] [External] Re: [External] Re: Mac M1 emacs I tried the all-purpose computer repair and rebooted the machine. It still reports a damaged app. I am now ooking

Re: [R-SIG-Mac] [External] Re: [External] Re: Mac M1 emacs

2021-03-08 Thread Richard M. Heiberger
I tried the all-purpose computer repair and rebooted the machine. It still reports a damaged app. I am now ooking at https://osxdaily.com/2019/02/13/fix-app-damaged-cant-be-opened-trash-error-mac/ and wi report back. From: Richard M. Heiberger Sent

Re: [R-SIG-Mac] [External] Re: [External] Re: Mac M1 emacs

2021-03-07 Thread Richard M. Heiberger
; problem each time. From: Simon Urbanek Sent: Sunday, March 7, 2021 23:52 To: Richard M. Heiberger Cc: r-sig-mac@r-project.org Subject: Re: [External] Re: [R-SIG-Mac] [External] Re: Mac M1 emacs Did you try running it from the image? At which point does it complain? It works for me. Note that ma

Re: [R-SIG-Mac] [External] Re: [External] Re: Mac M1 emacs

2021-03-07 Thread Richard M. Heiberger
it claims to be damaged. I sent a copy of this screenshot a few minutes ago and it was >156KB and held for moderation, this copy is 32KB. From: Simon Urbanek Sent: Sunday, March 7, 2021 21:42 To: Richard M. Heiberger Cc: r-sig-mac@r-project.org Subj

Re: [R-SIG-Mac] [External] Re: Mac M1 emacs

2021-03-07 Thread Richard M. Heiberger
s provided. The file structure isn't identical, so that won't work naively. Now to see if I prefer the mouse-accesible x86_64 with random crashes or the aarch64 (presumably more stable) without mouse ability. From: R-SIG-Mac on behalf of Richard M. Heibe

Re: [R-SIG-Mac] [External] Re: Mac M1 emacs

2021-03-07 Thread Richard M. Heiberger
ng obvious in common. Rich From: Bob Rudis Sent: Sunday, March 7, 2021 14:37 To: Richard M. Heiberger Cc: r-sig-mac@r-project.org Subject: [External] Re: [R-SIG-Mac] Mac M1 emacs you should likely re-post to the list or double check the download as there are

[R-SIG-Mac] Mac M1 emacs

2021-03-07 Thread Richard M. Heiberger
I originally asked this question on the ess-help list, I now think it belongs here. emacs 21.1, specifically Vincent Goulet's distribution, crashes regularly on my Mac M1. It looks to me like it is using the intel compilation through rosetta instead of the arm compilation. Vincent's

Re: [R] [External] Re: mpfr function in Rmpfr crashes R

2021-03-07 Thread Richard M. Heiberger
this is probably a Mac M1. The problem and potential solution is described here: https://stat.ethz.ch/pipermail/r-sig-mac/2021-February/014003.html From: R-help on behalf of Duncan Murdoch Sent: Sunday, March 7, 2021 13:03 To: Roger Bos;

Re: [ESS] [External] Re: [External] Re: [External] Re: emacs 27.1 crashes regularly on Mac M1

2021-03-05 Thread Richard M. Heiberger via ESS-help
lder) until I hear further. Rich ____________ From: Richard M. Heiberger Sent: Friday, March 5, 2021 12:18 To: ess-help@r-project.org; Sparapani, Rodney Subject: Re: [External] Re: [ESS] [External] Re: [External] Re: emacs 27.1 crashes regularly on Mac M1 good idea. i am

Re: [ESS] [External] Re: [External] Re: [External] Re: emacs 27.1 crashes regularly on Mac M1

2021-03-05 Thread Richard M. Heiberger via ESS-help
good idea. i am now downloading a universal build instead of the x86-64 that Vincent Goulet distributed. I will report back in a few days. From: ESS-help on behalf of Sparapani, Rodney via ESS-help Sent: Friday, March 5, 2021 09:17 To:

Re: [ESS] [External] Re: [External] Re: emacs 27.1 crashes regularly on Mac M1

2021-03-04 Thread Richard M. Heiberger via ESS-help
tore.c, > line 192. The current crash does not have an equivalent statement. I will be happy to forward this type of message directly to emacs. To whom should it be sent? Rich ________ From: Richard M. Heiberger Sent: Wednesday, March 3, 2021 12:04 To: ess-

Re: [ESS] [External] Re: [External] Re: emacs 27.1 crashes regularly on Mac M1

2021-03-03 Thread Richard M. Heiberger via ESS-help
i almost never use those menus. my fingets know the emacs key-combinations too well. It comes out of the blue and catches me unawares. The only thing that occurs to me is something similar to Rmpfr error discussed on R-sig-mac list about a week ago. Simon traced it to a rarely used intel

Re: [ESS] [External] Re: emacs 27.1 crashes regularly on Mac M1

2021-03-02 Thread Richard M. Heiberger via ESS-help
Goulet Sent: Tuesday, March 2, 2021 14:51 To: Richard M. Heiberger Cc: ess-h...@stat.math.ethz.ch Subject: [External] Re: emacs 27.1 crashes regularly on Mac M1 Hi Richard, I can't test as I don't have an M1 Mac available. Did you try David Caldwell's "bare" binaries: https://emacsfor

[ESS] emacs 27.1 crashes regularly on Mac M1

2021-03-01 Thread Richard M. Heiberger via ESS-help
I don't know if this is emacs issue or an emacs plus ESS issue. I am using Vincent Goulet's "Emacs Modified for macOS is a distribution of GNU Emacs 27.1 (released August 10, 2020) bundled with a few select packages for R developers and LaTeX users." Process: Emacs-x86_64-10_14

Re: [R-SIG-Mac] [External] Rmpfr on M1 Mac cause 'illegal trap'

2021-02-22 Thread Richard M. Heiberger
I confirm the error on Mac M1 R version 4.0.4 RC (2021-02-12 r79998) -- "Lost Library Book" I also ran it on an intel Mac with R 4.0.3 and it worked correctly there. From: R-SIG-Mac on behalf of Zhang, Jialin via R-SIG-Mac Sent: Monday, February 22,

Re: [R-SIG-Mac] [External] Re: [External] Re: more rgl problems

2021-02-20 Thread Richard M. Heiberger
yes it is there. when you click the cran main page fir windows or mac, the mac is 4.0.3 Get Outlook for iOS<https://aka.ms/o0ukef> From: John Fox Sent: Saturday, February 20, 2021 12:38:11 PM To: Richard M. Heiberger ; Duncan Murdoch ; r-sig-mac@r-proje

Re: [R-SIG-Mac] [External] Re: more rgl problems

2021-02-20 Thread Richard M. Heiberger
) > > > > > > > library(rgl) > plot(1:10, col=7) > open3d() glX 1 From: R-SIG-Mac on behalf of Richard M. Heiberger Sent: Saturday, February 20, 2021 10:45 AM To: Duncan Murdoch; r-sig-mac@r-project.org Subject: Re: [R-SIG-Mac] [External] Re: more

Re: [R-SIG-Mac] [External] Re: more rgl problems

2021-02-20 Thread Richard M. Heiberger
I am running it now on 4.0.4RC. The cran page https://cran.r-project.org offers download of 4.0.3 for mac, even though 4.0.4 is available on windows. From: Duncan Murdoch Sent: Saturday, February 20, 2021 9:41 AM To: Richard M. Heiberger; r-sig-mac@r

Re: [R-SIG-Mac] [External] Re: more rgl problems

2021-02-18 Thread Richard M. Heiberger
ERROR: can't bind glx context to window Process R finished at Thu Feb 18 17:57:37 2021 From: Duncan Murdoch Sent: Thursday, February 18, 2021 3:20 PM To: Richard M. Heiberger; r-sig-mac@r-project.org Subject: [External] Re: more rgl problems I

[R-SIG-Mac] more rgl problems

2021-02-17 Thread Richard M. Heiberger
This is repeatable when the lines are all pasted in at once. The example works if I allow some time delay between lines. This is might be a relative of the one from a few months ago. But this message is about invalid permissions. = R version 4.0.4 RC (2021-02-12 r79998) -- "Lost Library

Re: [R] [External] Concatenation?

2021-02-17 Thread Richard M. Heiberger
> paste(c("A","B","C"), c(1,2,3), sep="") [1] "A1" "B2" "C3" in your example paste(site, depth, sep="") From: R-help on behalf of Parkhurst, David Sent: Wednesday, February 17, 2021 4:09 PM To: r-help@r-project.org Subject: [External] [R]

Re: [R] [External] Dimensioning lists.

2021-02-14 Thread Richard M. Heiberger
Use double [[ ]] > xxx[[2,3]] $a [1] "n" $b [1] 20 > From: R-help on behalf of Rolf Turner Sent: Sunday, February 14, 2021 10:35 PM To: "r-help@R-project.org\" "@r-project.org Subject: [External] [R] Dimensioning lists. I have a setting in which

Re: [R-SIG-Mac] [External] Re: [External] Re: [External] Re: [External] Please test R 4.0.4 RC

2021-02-13 Thread Richard M. Heiberger
Thank you. dragging the org.xquartz.startx.* to Trash and reinstalling 2.7.11 restored my system to sanity. From: Duncan Murdoch Sent: Saturday, February 13, 2021 8:42 PM To: Richard M. Heiberger; R-SIG-Mac Subject: Re: [External] Re: [R-SIG-Mac

Re: [R-SIG-Mac] [External] Re: [External] Re: [External] Re: [External] Please test R 4.0.4 RC

2021-02-13 Thread Richard M. Heiberger
achine, and specifically not in /Library/Developer/CommandLineTools/ From: Dr Eberhard W Lisse Sent: Saturday, February 13, 2021 6:50 PM To: Duncan Murdoch; R-SIG-Mac; Richard M. Heiberger Cc: e...@lisse.na Subject: Re: [External] Re: [R-SIG-Mac] [External] Re: [External] Re: [Ext

Re: [R-SIG-Mac] [External] Re: [External] Re: [External] Re: [External] Please test R 4.0.4 RC

2021-02-13 Thread Richard M. Heiberger
; Richard M. Heiberger Cc: e...@lisse.na Subject: [External] Re: [R-SIG-Mac] [External] Re: [External] Re: [External] Please test R 4.0.4 RC the Xcode Command line tools are missing. Install them and see what happens. Did you recently upgrade MacOS? el — Sent from Dr Lisse’s iPhone On 13 Feb

Re: [R-SIG-Mac] [External] Re: [External] Please test R 4.0.4 RC

2021-02-13 Thread Richard M. Heiberger
ore importantly your XQuartz doesn't work - or at least is not running at the time you are trying to run X11() in R. Make sure you start XQuartz first (from Applications -> Utilities) and it works. If in doubt, you can wipe it (it lives in /opt/X11) and re-install. Either way, neither s

  1   2   3   4   5   6   7   8   9   10   >