Re: [Rd] hist(..., log="y")

2023-08-06 Thread David Winsemius
I guess my memory was off slightly. Densities are only plotted with freq=TRUE. Still there the ever present conundrum that 0 counts cannot be sensibly represented. Why not: hist( log(x), …) #? In situations where it might make sense. Sent from my iPhone > On Aug 6, 2023, at 9:01 AM, Da

Re: [Rd] hist(..., log="y")

2023-08-06 Thread David Winsemius
hist() is designed so that the total area sums to 1. You should build you desired behavior using a barchart. — David Sent from my iPhone > On Aug 5, 2023, at 11:50 PM, Ott Toomet wrote: > > Sorry if this topic has been discussed earlier. > > Currently, hist(..., log="y") fails with > >>

Re: [Rd] Recycling in arithmetic operations involving zero-length vectors

2023-01-16 Thread David Winsemius
s the value 0. I suggested that many interpretations were possible and that a warning was given for NA generation. I stand with Roland in thinking a warning is appropriate. David Winsemius > > Duncan Murdoch > > __ > R-devel@r-project.

Re: [Rd] How to get utf8 string using R externals

2021-06-02 Thread David Winsemius
First; you should configure yopu mail client to send plain text. Can you explain what is meant by: the characters are unicodes () instead of utf8 encoding of the korean characters 부실. As far as I can tell those two unicodes _are_ the utf8 encodings of 부실. You may need to consult a couple of R

Re: [Rd] Inconsistency in median()

2021-05-05 Thread David Winsemius
It would almost trivial to make a wrapper tha first captures attributes, runs median, and then returns the Re-attribute-ed value. David. Sent from my iPhone > On May 5, 2021, at 8:29 AM, Gustavo Zapata Wainberg > wrote: > > Hi, thanks Dr. Mächler for your prompt response! > > I agree with

Re: [Rd] replicate evaluates its second argument in wrong environment

2021-02-15 Thread David Winsemius
On 2/15/21 1:10 PM, Hadley Wickham wrote: This is a nice example of the motivation for tidy evaluation — since enquo() captures the environment in which the promise should be evaluated, there's no need for an additional explicit argument. library(rlang) replicate2 <- function (n, expr, simpli

Re: [Rd] Allowing S3 methods of rounding functions to take `...`

2021-01-29 Thread David Winsemius
On 1/28/21 10:56 PM, Abby Spurdle wrote: I've been writing functions for block matrices and more generally, arrays of matrices. Presumably, the default transpose operation would transpose everything. But there are situations where one might want to transpose the top-level matrix (of submatrice

Re: [Rd] CRAN metadata broken?

2020-09-15 Thread David Winsemius
On 9/11/20 6:03 AM, Gábor Csárdi wrote: E.g. in https://cran.r-project.org/bin/macosx/contrib/4.0/PACKAGES there is Package: stringi Version: 1.5.3 but there is no such binary at https://cran.r-project.org/bin/macosx/contrib/4.0/ Using my browser I found: https://cran.r-project.org/bin/ma

Re: [Rd] dput()

2020-02-29 Thread David Winsemius
On 2/28/20 11:42 PM, Rui Barradas wrote: Hello, FAQ 7.31 See also this StackOverflow post: https://stackoverflow.com/questions/9508518/why-are-these-numbers-not-equal That was going to be my initial response, but then I realized that the question might be why the dput representation of

Re: [Rd] point size in svg

2019-06-19 Thread David Winsemius
On 6/19/19 8:19 AM, Spencer Graves wrote: Hello, All:   I'm unable to control the font size in plots to svg. Consider the following: svg('cex-svg.svg') cex. <- 5 plot(1:2, cex.axis=cex.) text(1:2, 1:2, c('as', 'DF'),   cex=cex.) dev.off()   When I open this in Gimp 2.10.

Re: [Rd] code for sum function

2019-02-21 Thread David Winsemius
On 2/20/19 2:55 PM, Rampal Etienne wrote: Dear Tomas, Where do I find these files? Do they contain the code for the sum function? Yes. https://svn.r-project.org/R/trunk/ David What do you mean exactly with your point on long doubles? Where can I find documentation on this? Cheers, Ram

Re: [Rd] odd behavior of names

2018-07-29 Thread David Winsemius
64-bit) > > > > -- > Statistics & Software Consulting > GKX Group, GKX Associates Inc. > tel: 1-877-GKX-GROUP > email: ggrothendieck at gmail.com > > ______ > R-devel@r-project.org mailing list > https://stat.ethz.ch/

Re: [Rd] embeded R application on Windows prints broken character.

2018-04-26 Thread David Winsemius
3e290f17fd7914f > Randy > > [[alternative HTML version deleted]] > > __ > R-devel@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel David Winsemius Alameda, CA, USA 'Any technology distinguishable from magic is insufficiently advanced.

Re: [Rd] strange warning: data() error?

2018-04-16 Thread David Winsemius
> On Apr 16, 2018, at 3:20 PM, David Winsemius wrote: > >> >> On Apr 16, 2018, at 2:58 PM, Therneau, Terry M., Ph.D. via R-devel >> wrote: >> >> A user asked me about this and I can't figure it out. >> >> tmt% R >> R Unde

Re: [Rd] strange warning: data() error?

2018-04-16 Thread David Winsemius
uot; "DE" "FL" "GA" "HI" "ID" "IL" "IN" "IA" "KS" "KY" "LA" "ME" "MD" "MA" ... > data(stack.loss) Warning message: In data(stack.loss) : data set ‘stack

Re: [Rd] alpha transparency doesn't work for lines when xpd=TRUE

2018-04-16 Thread David Winsemius
to see if T and F were still TRUE and FALSE at the time. It's possible that they were not in your session. Only TRUE and FALSE are reserved words.) > > Thank you. > > Jim > > > [[alternative HTML version deleted]] All the R mailing lists are plain text.

Re: [Rd] lm considers removed predictors when finding complete cases

2017-12-19 Thread David Winsemius
istant professor > Department of Statistics > Carlos III University of Madrid > > Office: 7.3.J21 (Leganés) > Phone: (+34) 91624 8836 > > [[alternative HTML version deleted]] > > __ > R-devel@r-project.org mailing list &

Re: [Rd] Array changing address unexpectedly

2017-11-12 Thread David Winsemius
dim = c(5)) # reset add = address(data) for(x in 1:5) { data[x] <- as.integer(0) } if (add == address(data)) { print("Address did not change") } else { print("Address changed") } # changes in both situations.

Re: [Rd] what do you think about write.table(... qmethod = "excel")?

2017-09-20 Thread David Winsemius
"a,0.660769736644892" > [3] "\"b,c\",-2.052983003941" > [4] "b,-1.49920605110092" > [5] "\"The \"\"Washington, DC\"\"\",1.4712331168047" >> x2 <- read.table(fn, sep = ",", header = TRUE,

Re: [Rd] Natural vs National in R signon banner?

2017-09-01 Thread David Winsemius
of 'Natural'? >>>>>> Meaning that LOCALE support is enabled, not that the interface >>>>>> understands >>>>>> human language? >>>>>> >>>>>> >>>>>> No, "natural language" re

Re: [Rd] wish list: generalized apply

2016-12-08 Thread David Winsemius
)} ) Or: result <- sapply( seq.int( dim(A)[3] ) , function(i) { f1( A[,,i], x[,i] , b[i] )} ) (I doubt it will be any faster, but if 'i' is large, parallelism might help. The inner function appears to be fairly efficient.) -- David Winsemius Alameda, CA, USA __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] Undocumented 'use.names' argument to c()

2016-09-20 Thread David Winsemius
> R-devel@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel David Winsemius Alameda, CA, USA __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] "plot.ts" doesn't respect the value of "pch" (+ blocked from Bugzilla signups)

2016-08-25 Thread David Winsemius
latform x86_64-apple-darwin15.5.0 > arch x86_64 > os darwin15.5.0 > system x86_64, darwin15.5.0 > status > major 3 > minor 3.1 > year 2016 > month 06 > day21 > svn rev70800 &g

Re: [Rd] Suggestion: pdf.options(embed=TRUE)

2016-05-31 Thread David Winsemius
ips. To write directly, > address me at pauljohn > at ku.edu. > > __ > R-devel@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel David Winsemius Alameda, CA, USA __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] Is it possible to retrieve the last error? (not error *message*)

2016-05-04 Thread David Winsemius
eback` > I'm wondering if this delivers what you expect: .traceback()[1] > Thanks, > > Henrik > > __ > R-devel@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel David Winsemius Alameda

Re: [Rd] R-3.2.5 Mac OS X package

2016-05-02 Thread David Winsemius
hile with only relative minor and mostly expected difficulties relating to packages that have external dependencies. > > Mick Jordan > > __ > R-devel@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] R-3.2.4 Mac/Linux different in < on characters

2016-03-11 Thread David Winsemius
re set to en_US.UTF-8 > > In Java,FWIW, I get the Mac answer if I use String.compareTo and the Linux > answer if I use Collator.compareTo, but the result is consistent on Mac and > Linux. > > Mick Jordan > > __ > R-devel@r-p

Re: [Rd] In plot.ts, las=1 applies to ylab with multiple series and not to axis labels

2016-02-01 Thread David Winsemius
nfo() >> R version 3.2.3 (2015-12-10) >> Platform: x86_64-apple-darwin13.4.0 (64-bit) >> Running under: OS X 10.11.2 (El Capitan) > > > > __ > R-devel@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel David Winsemius Alameda, CA, USA __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] Hidden files problem in R CMD check

2015-09-26 Thread David Winsemius
ource_ R packages work correctly. It can be run on one or more >>directories, or compressed package 'tar' archives with extension >>'.tar.gz', '.tgz', '.tar.bz2' or '.tar.xz'. >> >> It is stro

Re: [Rd] bquote/evalq behavior changed in R-3.2.1

2015-07-15 Thread David Winsemius
>> given environment, fenv. In 3.2.1 the code throws an error: >>>> >>>> Error in eval(substitute(expr), envir, enclos) : object 'X' not found >>>> >>>> I could not find anything in the release notes that would explain this >>>> change. Changing evalq to eval works in 3.2.1, but eval does not store x >>>> in >>>> the given environment in 3.1.2. >>>> >>>> Thanks, >>>> >>>> Dayne >>>> >>>>[[alternative HTML version deleted]] >>>> >>>> __ >>>> R-devel@r-project.org mailing list >>>> https://stat.ethz.ch/mailman/listinfo/r-devel >>>> >>> >>> >> > > [[alternative HTML version deleted]] > > __ > R-devel@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel David Winsemius Alameda, CA, USA __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] Expected error with help.search in R 3.2.0

2015-06-14 Thread David Winsemius
On Jun 13, 2015, at 10:59 PM, Berend Hasselman wrote: > >> On 14-06-2015, at 06:47, David Winsemius wrote: >> >> Using the Mavericks/Yosemite version of R 3.2.0, I see this: >> >>> utils::help.search("linear models") >> Error in help(db[i,

[Rd] Expected error with help.search in R 3.2.0

2015-06-13 Thread David Winsemius
call is the same in both versions. I do not see where `help.search` calls `help`. Tracing help is unrevealing. The first call to `help` throws the error and the call looks exactly like the calls in R 3.1.2 -- David Winsemius Alameda, CA, USA ___

Re: [Rd] Why my messages are filtered from the list?

2015-05-28 Thread David Winsemius
y published to the list? If so - big apology. > Yes they were, to r-devel. Just not the r-help mailing list Archive I looked in. Sorry for my noise, too. -- David. > Regards, > Ivan > > On Fri, May 29, 2015 at 12:43 AM David Winsemius > wrote: > > On May

Re: [Rd] Why my messages are filtered from the list?

2015-05-28 Thread David Winsemius
ator might have simply discarded it without even looking at it. I do not see any posting from your address in the Archives for May or April. > [[alternative HTML version deleted]] > > __ > R-devel@r-project.org mailing list > http

Re: [Rd] parallel::detectCores(TRUE) gives: Error in system(cmd, TRUE) : error in running command

2014-08-22 Thread David Winsemius
er R 3.1.1 >> >>> parallel::detectCores(TRUE) >> Error in system(cmd, TRUE) : error in running command > > I'm Using R 3.1.1 on Windows 7 and it works. > > > parallel::detectCores(TRUE) > [1] 4 > > sessionInfo() > R version 3.1.1 (2014-07-10)

Re: [Rd] Historical NA question

2014-05-06 Thread David Winsemius
;> >>>>> __ >>>>> R-devel@r-project.org mailing list >>>>> https://stat.ethz.ch/mailman/listinfo/r-devel >>> >>> >>> -- >>> Hervé Pagès >>> >>> P

Re: [Rd] [RFC] A case for freezing CRAN

2014-03-19 Thread David Winsemius
ntrast > to what some people here are suggesting it does not introduce any > limitations. If you want to get the latest stuff, you either grab a > copy of r-devel, or just enable the testing branch and off you go. > Debian 'testing' works in a similar way, see > http://www.

Re: [Rd] [R] freetype 2.5.2, problem with the survival package, build R 2.15.x with gcc 4.8.x

2013-12-13 Thread David Winsemius
; affects the cairo-based functionalities in R. So a rebuild is needed. >> >> Most unix users should just upgrade their system's libfreetype, and >> dynamic-linking should take care of the rest. > > __ > r-h...@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. David Winsemius Alameda, CA, USA __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] [R] freetype 2.5.2, problem with the survival package, build R 2.15.x with gcc 4.8.x

2013-12-13 Thread David Winsemius
; statically >> linked with rather dated versions of freetype with a few known issues. This >> affects the cairo-based functionalities in R. So a rebuild is needed. >> >> Most unix users should just upgrade their system's libfreetype, and >> dynamic-linkin

[Rd] Suggestion for help page for ?plotmath

2013-11-03 Thread David Winsemius
tants." Add: "Digits entered as text will be affected by bold, italic and bolditalic." "The paste function in plotmath does not have a 'sep' argument, and if any value other than sep="" is used with paste, that text will appear at the end of the plotted

Re: [Rd] read.table() with quoted integers

2013-10-01 Thread David Winsemius
is=TRUE), not how read.table might > convert them once they're read into R. > >> >> Regards >> >> __ >> R-devel@r-project.org mailing list >> https://stat.ethz.ch/mailman/listinfo/r-devel > > -- > Joshua Ulrich | about.me/joshuaulrich > FOSS Trading | www.fosstrading.com > > __ > R-devel@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel David Winsemius Alameda, CA, USA __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] broken link in docs for Binormial functions

2013-08-10 Thread David Winsemius
CNG2mDFe3iE0Xahyl0d6f2cazTKgFQ&sig2=Ghc7H91rILXLrBLlJjQTJA Ugggh. Does anyone else hate the Google encoding that was adopted a couple of years ago? http://projects.scipy.org/scipy/raw-attachment/ticket/620/loader2000Fast.pdf‎ > > As Berners-Lee says, URIs should be perm

[Rd] Documentation request Re: [R] recode categorial vars into binary data

2013-05-13 Thread David Winsemius
1:10, fac = sample(L3, 10, replace = TRUE))) ## The same with automatic column names: data.frame( 1, 1:10, sample(L3, 10, replace = TRUE)) -- David Winsemius Alameda, CA, USA __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

[Rd] mean.data.frame: R 3.0.0 help page wrong?

2013-03-26 Thread David Winsemius
not numeric or logical: returning NA I read in news(): o mean() for data frames and sd() for data frames and matrices are defunct. Shouldn't the help page be amended? -- David Winsemius Alameda, CA, USA __ R-devel@r-project.org mailing

Re: [Rd] Bugs due to naive copying of list elements

2013-03-12 Thread David Winsemius
] 2 [[3]] [1] 2 [[1]] [1] 2 [[2]] [1] 2 [[3]] [1] 2 > X[1]<-99 > print(A) [[1]] [1] 99 [[2]] [1] 99 [[3]] [1] 99 > Similar bugs exist in eapply, rapply, and vapply. > -- David Winsemius Alameda, CA, USA __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] Recommended way to call/import functions from a Suggested package

2013-02-22 Thread David Winsemius
On Feb 22, 2013, at 6:39 PM, David Winsemius wrote: > > On Feb 22, 2013, at 6:13 PM, Hadley Wickham wrote: > >> Hi Davor, >> >> To the best of my knowledge, there's only one way to use functions >> from a suggested package: with require:

Re: [Rd] Recommended way to call/import functions from a Suggested package

2013-02-22 Thread David Winsemius
on than importing when calling into a suggested >> package? >> >> Davor >> >> >>[[alternative HTML version deleted]] >> >> >> __ >> R-devel@r-project.org mailing list >> https://stat.ethz.ch/mailman/listinfo/r-devel >> > > > > -- > Chief Scientist, RStudio > http://had.co.nz/ > > __ > R-devel@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel David Winsemius Alameda, CA, USA __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] Mac v Windows Mystery

2013-01-30 Thread David Winsemius
_ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel David Winsemius, MD Alameda, CA, USA __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] R CMD SHLIB error bad value (core2) for -mtune= switch

2012-10-23 Thread David Winsemius
_ > R-devel@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel -- David Winsemius, MD Alameda, CA, USA __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] Convenience function to get unevaluated ... function arguments

2012-07-25 Thread David Winsemius
ite: http://pharmadevelopment.roche.com/index/pdb/pdb-functional-groups/pdb-biostatistics/pdb-ncb-home.htm __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel David Winsemius, MD Heritage Laboratories West Hartfo

Re: [Rd] read.spss issues

2012-02-15 Thread David Winsemius
guously match up variables with factor levels for all variables. For big datasets, there might be only a few edits needed to throw out duplicates and save a lot of typing errors. -- David Winsemius, MD West Hartford, CT __ R-devel@r-project.org ma

Re: [Rd] Command completion of the R binary / Ubuntu: result

2012-01-11 Thread David Winsemius
x27;t have anything to do with R - Deepayan told me that as far as he knows, only Debian (and Ubuntu) have it, so R-sig-debian is the appropriate mailing list. Deepayan moved the discussion there. Thanks. Have a nice day, Claudia David Winsemius, MD West Ha

Re: [Rd] Non-free packages in R-Forge

2011-11-18 Thread David Winsemius
aries to this process that are discernable from your writings. That is all. - Jordi G. H. David Winsemius, MD West Hartford, CT __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] Error message library()

2011-10-28 Thread David Winsemius
Mac with R.app the same facility exists which I how I check to see if a package is available in one of four forms (mac-binary, mac- source, Bioc-binary, Bioc-source). -- David Winsemius, MD West Hartford, CT __ R-devel@r-project.org mailing list ht

Re: [Rd] repeatable segfault

2011-09-05 Thread David Winsemius
0.5.8 Also happens with 32 bit R [R.app GUI 1.41 (5874) i386-apple-darwin9.8.0] David Winsemius On Sep 6, 2011, at 12:12 AM, robin hankin wrote: Hi. macosx 10.6.8 With R-2.13.1 and also revision 56948 I get the following repeatable segfault: wt118:~% R --vanilla --quiet R.Versi

Re: [Rd] 'data.frame' method for base::rep()

2011-08-03 Thread David Winsemius
On Aug 3, 2011, at 2:45 AM, Liviu Andronic wrote: Hello David On Tue, Aug 2, 2011 at 4:14 PM, David Winsemius > wrote: x <- data.frame(a = as.Date('2000-01-01'), b=as.Date('2001-01-01')) x$d <- x$a -x$b require(mefa) rep(x, 2) a bd 1 2000

Re: [Rd] 'data.frame' method for base::rep()

2011-08-02 Thread David Winsemius
. $ b: Date, format: ... $ d:Class 'difftime' atomic [1:2] -366 -366 # leap year .. ..- attr(*, "units")= chr "days" Since that works out of the box with fewer potential side-effects, I am not sure a new method is needed. -- David. Please le t me know what y

Re: [Rd] R checks links broken

2011-07-30 Thread David Winsemius
s.com __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel David Winsemius, MD West Hartford, CT __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] apply() returning a list?

2011-07-20 Thread David Winsemius
[2]] [1] 26 [[3]] [1] 30 Probably no one thought it was that difficult to type the more concise and equally expressive: > as.list(apply(x, 1, sum)) [[1]] [1] 22 [[2]] [1] 26 [[3]] [1] 30 -- David Winsemius, MD West Hartford, CT __ R-devel@r-pr

Re: [Rd] [datatable-help] speeding up perception

2011-07-05 Thread David Winsemius
effer Hall email: l...@stat.uiowa.edu Iowa City, IA 52242 WWW: http:// www.stat.uiowa.edu______ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel David Winsemius, MD West Hartford, CT ___

Re: [Rd] Compilation error Mac binary

2011-06-29 Thread David Winsemius
project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel David Winsemius, MD West Hartford, CT __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] Recursive objects

2011-05-05 Thread David Winsemius
ttering Cancer Center | Weill Medical College of Cornell University Contact Info: http://cbio.mskcc.org/~lianos/contact __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel David W

Re: [Rd] R limits documented?

2011-02-11 Thread David Winsemius
On Feb 11, 2011, at 8:46 PM, Simon Urbanek wrote: On Feb 11, 2011, at 8:45 PM, Simon Urbanek wrote: On Feb 11, 2011, at 7:55 PM, David Winsemius wrote: On Feb 11, 2011, at 7:09 PM, Dominick Samperi wrote: Is there documentation on R limits? That is, max matrix size, etc.? Diagnostics

Re: [Rd] R limits documented?

2011-02-11 Thread David Winsemius
gth of an element of type character has been exceeded. Thanks, Dominick __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel David Winsemius, MD West Hartford, CT __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

[Rd] Indexing request

2011-01-06 Thread David Winsemius
. I was looking for the month abbreviations, failing to hit the right name 4 times and then failing 3 more times on variations of what I remembered to be the name of that page and finally ended up typing: ?letters -- David Winsemius, MD West Hartford, CT _

Re: [Rd] "$<-" fails (invalid subscript type 'language')

2010-10-24 Thread David Winsemius
v[[1]], "sdfdsfdsfsd") [[1]] [1] 232 $dsf [1] "sdfdsfdsfsd" The "$" operator does not evaluate the index whereas the "[" function does. And the documentation is quite clear about that distinction. -- David Winsemius. This happens even before the met

Re: [Rd] library verbose option doesn't stop "Loading required package XYZ"

2010-10-20 Thread David Winsemius
d warning.expression One possible work-around is to make packages Suggested instead of Required, but this introduces other issues. Thanks, Dominick [[alternative HTML version deleted]] __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailma

Re: [Rd] Crash report: regexpr("a{2-}", "")

2010-09-21 Thread David Winsemius
ill no crash on a Mac. Did you mean to include a third argument to regexpr() as you did for sub and gsub? -- David. Either way, the crash is there, at on least Windows and Linux. /Henrik On Tue, Sep 21, 2010 at 8:43 PM, David Winsemius > wrote: On Sep 21, 2010, at 11:04 PM, Henrik Bengts

Re: [Rd] Crash report: regexpr("a{2-}", "")

2010-09-21 Thread David Winsemius
On Sep 21, 2010, at 11:04 PM, Henrik Bengtsson wrote: Each of the following calls crash ("core dumps") R (R --vanilla) on various versions and OSes: regexpr("a{2-}", "") sub("a{2-}", "") gsub("a{2-}", "") EXAMPLES: sessionInfo() R version 2.11.1 Patched (2010-09-16 r52949) Platform: i386-

Re: [Rd] [R] scalable < > delimiters in plotmath

2010-09-13 Thread David Winsemius
On Sep 12, 2010, at 11:38 PM, Paul Murrell wrote: Hi [shifting to r-devel] On 13/09/2010 8:43 a.m., David Winsemius wrote: On Sep 12, 2010, at 4:11 PM, Paul Murrell wrote: Hi On 13/09/2010 7:57 a.m., baptiste auguie wrote: Oh, right I see. I was completely off then. Maybe it's n