Re: [Rd] A bug understanding F relative to FALSE?

2020-01-20 Thread Joris Meys
) > > I would expect that token for F is the same as token for FALSE. > > > Thank you! > > Iago > > > [[alternative HTML version deleted]] > > __ > R-devel@r-project.org mailing list > https://stat.ethz.ch

Re: [Rd] Get memory address of an R data frame

2020-01-09 Thread Joris Meys
arameter. > > The question: how can we get the memory address of the R data frame? > > Thank you! > > L. > > __ > R-devel@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel > -- Joris Meys Statis

Re: [Rd] New matrix function

2019-10-11 Thread Joris Meys
PM Morgan Morgan wrote: > I think you are confusing package and function here. Plus some of the R > Core packages, that you mention, contain functions that should probably be > replaced by functions with better implementation from packages on CRAN. > > Best regards > Mo

Re: [Rd] New matrix function

2019-10-11 Thread Joris Meys
age like utils, stats, ...) was added as a drop-in replacement of the packages snow and multicore for parallel computing. That's one example, but sure there's more. Kind regards Joris -- Joris Meys Statistical consultant Department of Data Analysis and Mathematical Modelling Ghent Unive

Re: [Rd] should base R have a piping operator ?

2019-10-06 Thread Joris Meys
> >> > > > >> > How is your argument different to, say, "Should dplyr or data.table > > be > > >> > part of base R as they are the most popular data science packages > and > > >> they > > >> > are used by a large n

Re: [Rd] R 3.5.3 having trouble spawning a new process on my Windows 10 machine

2019-03-25 Thread Joris Meys
s\R\R-3.5.3\bin" for 3.5.3 > and "C:\Program Files\R\R-3.5.2\bin" for 3.5.2 > - R 3.5.3 works final if I just open the default console that ships with R. > But then anytime I try to launch a new process I get the above error. > > A similar issue has been raised up before >

Re: [Rd] Improved Data Aggregation and Summary Statistics in R

2019-02-27 Thread Joris Meys
age would be a worthwhile consideration. I am happy for your feedback. > > Best regards, > > Sebastian Krantz > __ > R-devel@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel > -- Joris Meys Statistical consultant Department of Data Analys

Re: [Rd] OfficeScan deletes Rterm as malware

2018-12-20 Thread Joris Meys
d File Encryption" by Rterm.exe. > > I've deinstalled R 3.5.2 for now and switched back to 3.5.1, which works > fine. > > Best, > > Roland Fuß > > ______ > R-devel@r-project.org mailing list > https://stat.ethz

Re: [Rd] Dealing with .git folder when using R CMD INSTALL

2018-12-06 Thread Joris Meys
hould have been more careful before bothering you all. Cheers Joris On Thu, Dec 6, 2018 at 4:14 PM Dirk Eddelbuettel wrote: > > On 6 December 2018 at 15:59, Ralf Stubner wrote: > | On 06.12.18 15:19, Joris Meys wrote: > | > I know this R CMD build ignores these files and folders by

Re: [Rd] Dealing with .git folder when using R CMD INSTALL

2018-12-06 Thread Joris Meys
On Thu, 6 Dec 2018, 16:04 Ralf Stubner On 06.12.18 15:19, Joris Meys wrote: > > I know this R CMD build ignores these files and folders by default, but R > > CMD INSTALL doesn't apparently. > > to me this is not apparent. I just tried "R CMD INSTALL ." in

Re: [Rd] Dealing with .git folder when using R CMD INSTALL

2018-12-06 Thread Joris Meys
On Thu, 6 Dec 2018, 15:37 Dirk Eddelbuettel > > These have been auto-ignored by R CMD build for a loong time. Are you > maybe making the mistake of installing from a _directory_ as opposed to > first > creating a tarball? > > Dirk > > -- > http://dirk.eddelbuettel.com | @eddelbuettel | e...@de

[Rd] Dealing with .git folder when using R CMD INSTALL

2018-12-06 Thread Joris Meys
MD INSTALL. I know this R CMD build ignores these files and folders by default, but R CMD INSTALL doesn't apparently. Is there a way to tell R CMD INSTALL to ignore at least the .git folder, or are there plans to add this the R CMD INSTALL? And if so, where do I file the request best? Cheers

[Rd] Checksums of packages change on CRAN without change in version number

2018-11-07 Thread Joris Meys
ing to do in an IT context and which they like to avoid. github report on the issue (this time it's mgcv) : https://github.com/easybuilders/easybuild-easyconfigs/pull/7122#pullrequestreview-172031060 Cheers Joris -- Joris Meys Statistical consultant Department of Data Analysis and Mathemat

Re: [Rd] Suggestion: Make CRAN source URLs immutable

2018-11-03 Thread Joris Meys
xtension? If not, is there any potential issue with the trick > above? > > Regards, > -- > Iñaki Ucar > > __ > R-devel@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel > -- Jori

Re: [Rd] A different error in sample()

2018-09-20 Thread Joris Meys
hing like > if(length(x) == 1 && !all.equal(x, as.integer(x))) warning("It is a bad > idea to use vectors of length 1 in the x argument that are not integers.") > Hope that helps,luke > > [[alternative HTML version deleted]] > > ___

Re: [Rd] A different error in sample()

2018-09-19 Thread Joris Meys
gt; [1] compiler_3.5.1 tools_3.5.1 > > __ > R-devel@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel > -- Joris Meys Statistical consultant Department of Data Analysis and Mathematical Modelling Ghent University

Re: [Rd] memory footprint of readRDS()

2018-09-18 Thread Joris Meys
ze=8e6,replace=TRUE)) > obj/file size > 0.9998433 > > f(rep(as.raw(0:255),length=8e6)) > obj/file size > 254.5595 > > f(as.character(1:1e6)) > obj/file size > 23.5567 > > > > Bill Dunlap > TIBCO Software > wdunlap tibco.com > > On T

[Rd] memory footprint of readRDS()

2018-09-18 Thread Joris Meys
y would be enough to read in that file, but apparently I was wrong. I checked the memory.limit() and that one gave me a value of more than 13Gb. So I wondered if this was to be expected, or if there could be an underlying reason why this file doesn't want to open. Thank you in advance Joris

Re: [Rd] ROBUSTNESS: x || y and x && y to give warning/error if length(x) != 1 or length(y) != 1

2018-08-30 Thread Joris Meys
well after going through the source code. I didn't want to state it as I don't know enough of the code base and couldn't see if there were complications I missed. Thank you for confirming! Cheers Joris -- Joris Meys Statistical consultant Department of Data Analysis and Math

Re: [Rd] ROBUSTNESS: x || y and x && y to give warning/error if length(x) != 1 or length(y) != 1

2018-08-30 Thread Joris Meys
mance penalty, adding the error could indeed make some bugs more obvious. Cheers Joris -- Joris Meys Statistical consultant Department of Data Analysis and Mathematical Modelling Ghent University Coupure Links 653, B-9000 Gent (Belgium) <https://maps.google.com/?q=Coupure+links+653,%C2%A0B-9

Re: [Rd] ROBUSTNESS: x || y and x && y to give warning/error if length(x) != 1 or length(y) != 1

2018-08-30 Thread Joris Meys
gical(0) > [1] NA > > logical(0) && logical(0) > [1] NA > > I don't know the background for this behavior, but I'm sure there is > an argument behind that one. Maybe it's simply that '||' and '&&' > should always

Re: [Rd] conflicted: an alternative conflict resolution strategy

2018-08-24 Thread Joris Meys
concern that my emails are inappropriate. > > Hadley > > -- > http://hadley.nz > -- Joris Meys Statistical consultant Department of Data Analysis and Mathematical Modelling Ghent University Coupure Links 653, B-9000 Gent (Belgium) <https://maps.google.com/?q=Coupure+links

Re: [Rd] conflicted: an alternative conflict resolution strategy

2018-08-24 Thread Joris Meys
` : [usethis] > #> * `use_cran_comments` : [usethis] > #> ... > > Finally, as mentioned above, the user can declare preferences: > > conflict_prefer("select", "MASS") > #> [conflicted] Will prefer MASS::select over any o

Re: [Rd] vctrs: a type system for the tidyverse

2018-08-09 Thread Joris Meys
would have stricter behaviour, but > my sense is that imposing this strictness now will be onerous to most > analysts. > > Hadley > > -- > http://hadley.nz > -- Joris Meys Statistical consultant Department of Data Analysis and Mathematical Modelling Ghent University Coup

Re: [Rd] vctrs: a type system for the tidyverse

2018-08-09 Thread Joris Meys
7;t throw, so I get there's room for improvement. Cheers Joris -- Joris Meys Statistical consultant Department of Data Analysis and Mathematical Modelling Ghent University Coupure Links 653, B-9000 Gent (Belgium) <https://maps.google.com/?q=Coupure+links+653,%C2%A0B-9000+Gent,%C2%A0Be

Re: [Rd] Date class shows Inf as NA; this confuses the use of is.na()

2018-06-12 Thread Joris Meys
t; internally for dates and date-times in POSIXct. > > Martin > > That would be perfect and tackles both consistency with other formats and the confusing print() output. I'm all for it. Cheers Joris -- Joris Meys Statistical consultant Department of Data Analysis and Mathematical

Re: [Rd] Date class shows Inf as NA; this confuses the use of is.na()

2018-06-11 Thread Joris Meys
understand the value of having Inf dates. The trade-off to consider here is whether we strive for consistency among the different datetime classes, or strive for correct representation of the actual value of the date. Cheers Joris -- Joris Meys Statistical consultant Department of Data Analysis a

Re: [Rd] Date class shows Inf as NA; this confuses the use of is.na()

2018-06-09 Thread Joris Meys
nt being "atomic vector" here. On Sat, Jun 9, 2018 at 1:41 PM, Joris Meys wrote: > Hi Werner, > > on ?is.na it says: > > > The default method for anyNA handles atomic vectors without a class and > NULL. > > I hear you, and it is confusing to say the least.

Re: [Rd] Date class shows Inf as NA; this confuses the use of is.na()

2018-06-09 Thread Joris Meys
_______ > R-devel@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel > -- Joris Meys Statistical consultant Department of Data Analysis and Mathematical Modelling Ghent University Coupure Links 653, B-9000 Gent (Belgium) <https://map

Re: [Rd] CRAN checks give errors when no tests are included

2018-05-30 Thread Joris Meys
Never mind my previous mail. It was his local check, not CRAN. My apologies for not paying enough attention. Cheers Joris On Wed, May 30, 2018 at 5:33 PM, Joris Meys wrote: > Dear all, > > as a follow-up to the question asked on R-package-devel (see link below): > > Someone se

[Rd] CRAN checks give errors when no tests are included

2018-05-30 Thread Joris Meys
s. Is this a hiccup at CRAN's side or am I missing something obvious? Cheers Joris link to the original mail on r-package-devel : https://stat.ethz.ch/pipermail/r-package-devel/2018q2/002782.html -- Joris Meys Statistical consultant Department of Data Analysis and Mathematical Modelling

Re: [Rd] Creating S3 methods for S4 classes (coming from r-package-devel)

2018-05-24 Thread Joris Meys
I would personally prefer to use dispatching that's tailored to the type of class I work with, as that seems more consistent. But I agree we should avoid defining generics for the same function in different packages, hence my proposal about stats4. -- Joris Meys Statistical consultant

[Rd] Creating S3 methods for S4 classes (coming from r-package-devel)

2018-05-24 Thread Joris Meys
is (Original mail on r-package-devel : https://stat.ethz.ch/pipermail/r-package-devel/2018q2/002757.html ) -- Joris Meys Statistical consultant Department of Data Analysis and Mathematical Modelling Ghent University Coupure Links 653, B-9000 Gent (Belgium) <https://maps.google.com/?q=Coupure

Re: [Rd] download.file does not process gz files correctly (truncates them?)

2018-05-12 Thread Joris Meys
000 Frederiksberg, Denmark > Phone: (+45)38153501 > Office: A 4.23 > Email: pd@cbs.dk Priv: pda...@gmail.com > > ______ > R-devel@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel > -- Joris Meys Statistical

Re: [Rd] download.file does not process gz files correctly (truncates them?)

2018-05-07 Thread Joris Meys
ension, one can put "wb" as default and change to "w" if it is a text file instead of the other way around. That would not change the concept of the behaviour, but ensures that the function doesn't fail to detect a binary file. Not detecting a text file is far les

Re: [Rd] length of `...`

2018-05-04 Thread Joris Meys
orrectly > >>> prints > >>> > >>> [1] "global" "f" > >>> > >>> You can get the first element of ... without evaluating the rest > using ..1, > >>> but I don't know a way to do this for g

Re: [Rd] download.file does not process gz files correctly (truncates them?)

2018-05-04 Thread Joris Meys
e line in download.file() that does this check to: if (missing(mode) && length(grep("\\.(gz|bz2|xz|tgz|zip|rda|RData)$", URLdecode(url using URLdecode() ensures that .gz, .RData etc will be detected correctly in an encoded URL. Che

Re: [Rd] download.file does not process gz files correctly (truncates them?)

2018-05-03 Thread Joris Meys
) experience the only program that fails to properly display \n as a line ending, is Notepad. But it can still open the file regardless. If line ending conflicts cause bugs, it's almost always a unix-like OS struggling with Windows-style endings. I have yet to meet the first one the ot

Re: [Rd] download.file does not process gz files correctly (truncates them?)

2018-05-03 Thread Joris Meys
andard gzipped files. These files are a specific format for Affymetrix Human Gene 1.0 ST Arrays. If I need to run other tests, please let me know. Kind regards Joris On Wed, May 2, 2018 at 9:21 PM, Joris Meys wrote: > Dear all, > > I've noticed by trying to download gz files

Re: [Rd] download.file does not process gz files correctly (truncates them?)

2018-05-03 Thread Joris Meys
Using the correct mode absolutely solves it. Apologies for not trying the obvious. Cheers Joris On Thu, May 3, 2018 at 2:10 PM, Martin Morgan wrote: > > > On 05/02/2018 03:21 PM, Joris Meys wrote: > >> Dear all, >> >> I've noticed by trying to dow

[Rd] download.file does not process gz files correctly (truncates them?)

2018-05-03 Thread Joris Meys
3] grid_3.5.0 BiocParallel_1.13.3 [25] blob_1.1.1 codetools_0.2-15 [27] matrixStats_0.53.1 GenomicRanges_1.31.23 [29] splines_3.5.0 SummarizedExperiment_1.9.17 [31] RCurl_1.95-4.10 affyio_1.49.2 -- Joris Meys Statistical consultant Department of Data Anal

Re: [Rd] predict.glm returns different results for the same model

2018-04-27 Thread Joris Meys
> Is this a bug? > > (Motivating issue from this ggplot2 bug report: > https://github.com/tidyverse/ggplot2/issues/2426) > > Thanks! > > Hadley > > > > -- > http://hadley.nz > > __ > R-devel@r-project.org mailing list > https

[Rd] Compile issues when building survival package from source

2018-04-24 Thread Joris Meys
hat error doesn't pop up. I've hurt my brains trying to come up with an explanation, but I can't come up with something that makes sense. Anyone an idea? Cheers Joris -- Joris Meys Statistical consultant Department of Data Analysis and Mathematical Modelling Ghent University Coupur

Re: [Rd] data.table not available as win binary for R 3.5 yet?

2018-04-24 Thread Joris Meys
My apologies for sending this twice, serious brainfart from my side. Cheers Joris On Tue, Apr 24, 2018 at 2:31 PM, Joris Meys wrote: > Dear all, > > to my astonishment data.table cannot be installed on R 3.5 Windows. When > checking the package page, the Windows binary is available

[Rd] data.table not available as win binary for R 3.5 yet?

2018-04-24 Thread Joris Meys
ws? PS: I obviously set my repos to the official CRAN server to rule out sync issues between mirrors. Cheers Joris -- Joris Meys Statistical consultant Department of Data Analysis and Mathematical Modelling Ghent University Coupure Links 653, B-9000 Gent (Belgium) <https://maps.google.com/?q=

[Rd] data.table not available as win binary for R 3.5

2018-04-24 Thread Joris Meys
ws? PS: I obviously set my repos to the official CRAN server to rule out sync issues between mirrors. Cheers Joris -- Joris Meys Statistical consultant Department of Data Analysis and Mathematical Modelling Ghent University Coupure Links 653, B-9000 Gent (Belgium) <https://maps.google.com/?q=Coup

Re: [Rd] Possible bug: file.exists() always returns TRUE for prn.us.txt

2018-03-24 Thread Joris Meys
tickers, so I can imagine this could happen to other people too. Cheers Joris On Sat, Mar 24, 2018 at 11:38 AM, Joris Meys wrote: > Thank you. I was just replying my own message with the same information. > Sorry for not doing the research properly before filing. > > Cheers > J

Re: [Rd] Possible bug: file.exists() always returns TRUE for prn.us.txt

2018-03-24 Thread Joris Meys
Thank you. I was just replying my own message with the same information. Sorry for not doing the research properly before filing. Cheers Joris On Sat, Mar 24, 2018 at 11:36 AM, Duncan Murdoch wrote: > On 24/03/2018 6:16 AM, Joris Meys wrote: > >> Dear all, >> >> while

[Rd] Possible bug: file.exists() always returns TRUE for prn.us.txt

2018-03-24 Thread Joris Meys
s a bug, or I must be missing something completely. Cheers Joris -- Joris Meys Statistical consultant Department of Data Analysis and Mathematical Modelling Ghent University Coupure Links 653, B-9000 Gent (Belgium) <https://maps.google.com/?q=Coupure+links+653,%C2%A0B-9000+Gent,%C2%A0Belgiu

Re: [Rd] Apparent bug in behavior of formulas with '-' operator for lm

2018-03-16 Thread Joris Meys
the response variable conitains missings and 'z' > is unique (I have tested several other cases to confirm this). > > -Mark > > Op vr 16 mrt. 2018 om 13:03 schreef Joris Meys : > >> It's not a bug per se. It's the effect of removing all observations >>

Re: [Rd] Apparent bug in behavior of formulas with '-' operator for lm

2018-03-16 Thread Joris Meys
LC_TELEPHONE=C > LC_MEASUREMENT=nl_NL.UTF-8 LC_IDENTIFICATION=C > > attached base packages: > [1] stats graphics grDevices utils datasets methods base > > loaded via a namespace (and not attached): > [1] compiler_3.4.3 tools_3.4.3yaml_2.1.16 > > [[alternative HTML versi

Re: [Rd] truncation/rounding bug with write.csv

2018-03-14 Thread Joris Meys
on't see the issue here. It would be helpful if people would report > their sessionInfo() when reporting whether or not they see this issue. > Mine is > > > sessionInfo() > R version 3.4.3 (2017-11-30) > Platform: x86_64-pc-linux-gnu (64-bit) > Running under: Arch Linux >

Re: [Rd] truncation/rounding bug with write.csv

2018-03-14 Thread Joris Meys
; 0594558380544186,0.124592808773741,0.289328144863248,0.524508266709745,0. > 84306427766569,0.317027662880719,0.273440480465069,0.111866136547178,0. > 217484838794917,0.354757327819243,0.973936082562432,0.673076402861625,0. > 300948366522789,0.219195493729785,0.912278874544427,0.2767684

Re: [Rd] model.frame strips class as promised, but fails to strip OBJECT in C

2018-03-05 Thread Joris Meys
)$y) > # [1] "numeric" > is.object(na.omit(DF)$y) > # [1] FALSE > > > That is, similarly presented with a classed object, na.omit strips the > class *and* the OBJECT attribute. > > Thanks, > Michael Chirico > > [[alternative HTML version deleted]] > > _

Re: [Rd] Best practices in developing package: From a single file

2018-02-02 Thread Joris Meys
roxygen) that aren't necessarily tied to a function. And each time I come to the same conclusion: we have multiple tools to do this. We just need package developers to care enough to do it. -- Joris Meys Statistical consultant Department of Data Analysis and Mathematical Modelling Ghent Un

Re: [Rd] Best practices in developing package: From a single file

2018-02-01 Thread Joris Meys
correct usage section and use the correct Rd makeup etc. At least that's my understanding of it. Hadley will hopefully correct me if I'm wrong. I haven't checked all the options and possibilities yet in the latest iterations of the package. Cheers Joris -- Joris Meys Statistical cons

Re: [Rd] Best practices in developing package: From a single file

2018-01-31 Thread Joris Meys
On Wed, Jan 31, 2018 at 1:41 PM, Duncan Murdoch wrote: > On 31/01/2018 6:33 AM, Joris Meys wrote: > > 3. given your criticism, I'd like your opinion on where I can improve the >> documentation of https://github.com/CenterForStatistics-UGent/pim. I'm >> currently b

Re: [Rd] Best practices in developing package: From a single file

2018-01-31 Thread Joris Meys
holding this point of view. I'd actually like to be > proven wrong. So to anyone who disagrees with me: rather than just > calling me names, how about some examples of Roxygen-using packages that > have good help pages with good explanations, and good examples in them? > > Back

Re: [Rd] Why R should never move to git

2018-01-25 Thread Joris Meys
to tell Github about this > new branch. I ran > > git push origin upstreamMaster > > and got > > Total 0 (delta 0), reused 0 (delta 0) > To https://github.com/dmurdoch/manipulateWidget > * [new branch] upstreamMaster -> upstreamMaster > > but that branch do

Re: [Rd] [R-win] Bug 17159 - recursive dir.create() fails on windows shares due to permissions (MMaechler: Resending to R-windows@R-pr..)

2018-01-17 Thread Joris Meys
e are also options involving > environment variables and LFS naming. E.g., map the networked user > directory to, say, a P: "drive" and make sure that the environment is set > up to reflect this. > > > >-pd > > > >> On 16 Jan 2018, at 17:52 , Joris M

Re: [Rd] Bug 17159 - recursive dir.create() fails on windows shares due to permissions

2018-01-16 Thread Joris Meys
ceived (e.g., computer, mobile device, etc.). Thank you. > __ > R-devel@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel -- Joris Meys Statistical consultant Department of Data Analysis and Mathematical Modelling

Re: [Rd] How to represent two-dimensonal data in R?

2017-10-26 Thread Joris Meys
You are on the R devel list. Please use R help and provide people with more detail, like the code you tried and the actual file format. Kind regards Joris On 26 Oct 2017 11:52, "Morkus via R-devel" wrote: > I asked this question yesterday, but since I didn't receive any responses, > I thought I

[Rd] Duncan's retirement: who's taking over Rtools?

2017-09-28 Thread Joris Meys
-- --- Biowiskundedagen 2017-2018 http://www.biowiskundedagen.ugent.be/ --- Joris Meys Statistical consultant Ghent University Faculty of Bioscience Engineering Department of Mathematical Modelling, Statistics and Bio-Informatics tel : +32 (0)9 264 61 79 joris.m...@ugent.be

Re: [Rd] S4 method implementation for S3 class

2017-09-24 Thread Joris Meys
> Michael > > Thanks for your kind help and suggestions, Michael. I think I'll take > the last option as a workaround, at least until I evaluate the > advantages and drawbacks of a complete redesign. > > Iñaki > > __ >

Re: [Rd] Wrongly converging glm()

2017-07-20 Thread Joris Meys
ll be missed. And I wouldn't dare to speak in the name of the R core team, but I can imagine they have a little more urgent issues than helping my students to pass their statistics course ;-) Cheers Joris -- Joris Meys Statistical consultant Ghent University Faculty o

Re: [Rd] Wrongly converging glm()

2017-07-20 Thread Joris Meys
even if they know what they're doing). > If R would do that, it wouldn't start the fitting procedure but just return an error "Your analysis died due to a lack of useable data." . Because that's the problem here. > > > With kind regards, > > >

Re: [Rd] Wrongly converging glm()

2017-07-20 Thread Joris Meys
t converge, or at > least to show a warning message. > > > Please let me know whether you believe this is an issue, and whether I can > provide additional information. > > > With kind regards, > > > Harm-Jan Westra > > > > > > > > > > [[alternative HTM

Re: [Rd] write.csv

2017-07-04 Thread Joris Meys
, R is open source. You can and should contribute code (and > therefore become one of the developers) if you are working in unusual > conditions. > > R states quite clearly in the welcome message every time it starts: "R > is free software and comes with ABSOLUTELY

Re: [Rd] texi2pdf doesn't find the correct MikTex installation due to erroneous Sys.which()

2017-06-27 Thread Joris Meys
:\\PROGRA~2\\MIKTEX~1.9\\miktex\\bin\\texify.exe" > > normalizePath(Sys.which("texify")) > [1] "C:\\Program Files (x86)\\MiKTeX 2.9\\miktex\\bin\\texify.exe" > > Cheers, > > Rich Calaway > Microsoft R Product Team > 24/1341 > +1 (425) 4219919 X19919 > >

[Rd] texi2pdf doesn't find the correct MikTex installation due to erroneous Sys.which()

2017-06-27 Thread Joris Meys
ch() is looking in the wrong place. What could cause this? Kind regards Joris -- Joris Meys Statistical consultant Ghent University Faculty of Bioscience Engineering Department of Mathematical Modelling, Statistics and Bio-Informatics tel : +32 (0)9 264 61 79 joris.m...@ugent.be --

Re: [Rd] LC_TIME not set correctly by Sys.setlocale() ?

2017-06-23 Thread Joris Meys
Dear prof. Ripley, thank you for your answer. A few additional questions below. On Fri, Jun 23, 2017 at 5:25 PM, Prof Brian Ripley wrote: > On 23/06/2017 15:35, Joris Meys wrote: > >> Related to the following question on Stackoverflow: >> https://stackoverflow.com/questions/4

[Rd] LC_TIME not set correctly by Sys.setlocale() ?

2017-06-23 Thread Joris Meys
elgium.1252 LC_NUMERIC=C [5] LC_TIME=French_Belgium.1252 attached base packages: [1] stats graphics grDevices utils datasets methods base other attached packages: [1] shiny_1.0.3 loaded via a namespace (and not attached): [1] compiler_3.4.0 R6_2.2.1htmltools_0.3.6 tools_3.

Re: [Rd] duplicated factor labels.

2017-06-23 Thread Joris Meys
rely on any package or retype the same construct over and over again but with different values. But a clean and logical way to recode/group different levels when constructing the factor, would be at least for me be very convenient. But I'm just a guy and I'm not writing the code, so in t

Re: [Rd] 'ordered' destroyed to 'factor'

2017-06-18 Thread Joris Meys
a < c < b < d > a < b < c < d > a < b < d < c > b < a < c < d > b < a < d < c > b < d < a < c > > ). > > -pd > -- > Peter Dalgaard, Professor, > Center for Statistics, Copenhagen Business School > Solbjerg Plads 3, 200

Re: [Rd] duplicated factor labels.

2017-06-16 Thread Joris Meys
mething. So I add my (totally insignificant) vote for adding the possibility of assigning the same label to multiple levels in factor() itself. Cheers and thank you for bringing this up! On Fri, Jun 16, 2017 at 6:02 PM, Paul Johnson wrote: > On Fri, Jun 16, 2017 at 2:35 AM, Joris Meys

Re: [Rd] 'ordered' destroyed to 'factor'

2017-06-16 Thread Joris Meys
_ > platform x86_64-pc-linux-gnu > arch x86_64 > os linux-gnu > system x86_64, linux-gnu > status > major 3 > minor 4.0 > year 2017 > month 04 > day21 > svn rev72570 >

Re: [Rd] duplicated factor labels.

2017-06-16 Thread Joris Meys
To extwnd on Martin 's explanation : In factor(), levels are the unique input values and labels the unique output values. So the function levels() actually displays the labels. Cheers Joris On 15 Jun 2017 17:15, "Martin Maechler" wrote: > Paul Johnson > on Wed, 14 Jun 2017 19:00:

Re: [Rd] [WISH / PATCH] possibility to split string literals across multiple lines

2017-06-14 Thread Joris Meys
tle as if you have a line-breaking character within string literals. > > Op wo 14 jun. 2017 om 14:18 schreef Joris Meys : > >> Mark, that's actually a fair statement, although your extra operator >> doesn't cause construction at parse time. You still call paste0(), but just &g

Re: [Rd] [WISH / PATCH] possibility to split string literals across multiple lines

2017-06-14 Thread Joris Meys
also implemented by this patch. > > > > > > > > > > > > An alternative approach could be to have something like > > > > > > > > ("aaa " > > > > "bbb") > > > > > > > > or &g

Re: [Rd] stats::line() does not produce correct Tukey line when n mod 6 is 2 or 3

2017-05-31 Thread Joris Meys
e: > > Should I be exiled to Excel department for this sin? That's tough ;) > Serguei. > You're right, that was really rude of me. My apologies ;) -- Joris Meys Statistical consultant Ghent University Faculty of Bioscience Engineering Department of Mathematical Modelli

Re: [Rd] stats::line() does not produce correct Tukey line when n mod 6 is 2 or 3

2017-05-31 Thread Joris Meys
And with "equally spaced" I obviously meant "of equal size". It's getting too hot in the office here... On Wed, May 31, 2017 at 4:39 PM, Joris Meys wrote: > Seriously, if a method gives a wrong result, it's wrong. line() does NOT > implement the algorith

Re: [Rd] stats::line() does not produce correct Tukey line when n mod 6 is 2 or 3

2017-05-31 Thread Joris Meys
But I can honestly not understand why anyone in his right mind would defend a method that is clearly wrong while not working at Microsoft's spreadsheet department. Cheers Joris On Wed, May 31, 2017 at 4:03 PM, Serguei Sokol wrote: > Le 31/05/2017 à 15:40, Joris Meys a écrit : > >&

Re: [Rd] stats::line() does not produce correct Tukey line when n mod 6 is 2 or 3

2017-05-31 Thread Joris Meys
gt; quantile > definition to use. It turns out that the line()'s version (you are right, > _after_ the patch > but my patch left this definition untouched) is consistent with the R's > one. > If you do in R sum(dfr$time <= quantile(dfr$time, 1./3.)) you get 8, not 6 &g

Re: [Rd] Rounding in print.summaryDefault()

2017-05-28 Thread Joris Meys
| outputs of summary() on different computers? > | > | Best, > | Arne > | > | -- > | Arne Henningsen > | http://www.arne-henningsen.name > | > | __ > | R-devel@r-project.org mailing li

Re: [Rd] Rounding in print.summaryDefault()

2017-05-28 Thread Joris Meys
? > > Does anybody know how one can avoid to get different roundings in the > outputs of summary() on different computers? > > Best, > Arne > > -- > Arne Henningsen > http://www.arne-henningsen.name > > __ > R-devel@r-pr

Re: [Rd] stats::line() does not produce correct Tukey line when n mod 6 is 2 or 3

2017-05-28 Thread Joris Meys
> year 2015 > month 12 > day10 > svn rev69752 > language R > version.string R version 3.2.3 (2015-12-10) > nickname Wooden Christmas-Tree > > [[alternative HTML version deleted]] > > __

Re: [Rd] Inconsistency in handling of numeric input with %d by sprintf

2017-05-23 Thread Joris Meys
gt; > > > Michael Chirico > > > > [[alternative HTML version deleted]] > > > > __ > > R-devel@r-project.org mailing list > > https://stat.ethz.ch/mailman/listinfo/r-devel > > > > > &

Re: [Rd] help pages base R not rendered correctly?

2017-05-23 Thread Joris Meys
Hi Duncan, that explains, thank you. If nobody finds the time to fix that, I might give it a shot myself this summer. Barbeque is overrated. Cheers Joris On Tue, May 23, 2017 at 3:10 PM, Duncan Murdoch wrote: > On 23/05/2017 8:39 AM, Joris Meys wrote: > >> Hi all, >> >&g

[Rd] help pages base R not rendered correctly?

2017-05-23 Thread Joris Meys
. Cheers Joris -- Joris Meys Statistical consultant Ghent University Faculty of Bioscience Engineering Department of Mathematical Modelling, Statistics and Bio-Informatics tel : +32 (0)9 264 61 79 joris.m...@ugent.be --- Disclaimer : http://helpdesk.ugent.be/e-mai

Re: [Rd] [R] R-3.4.0 fails test

2017-05-18 Thread Joris Meys
, Joris Meys wrote: > This has to do with your own timezone. If I run that code on my computer, > both formats are correct. If I do this after > > Sys.setenv(TZ = "UTC") > > Then: > > > cbind(format(dlt), format(dct)) > [,1] [,2] > [

Re: [Rd] [R] R-3.4.0 fails test

2017-05-18 Thread Joris Meys
7" > > [8,] "2016-12-06 21:45:48" "2016-12-06 22:45:48" > > [9,] "2016-12-06 21:45:49" "2016-12-06 22:45:49" > > [10,] "2016-12-06 21:45:50" "2016-12-06 22:45:50" > >> > > > > > So exactly 1

Re: [Rd] A few suggestions and perspectives from a PhD student

2017-05-09 Thread Joris Meys
rlin > GERMANY > > Phone: + 49 30 28460 430 > Fax:+ 49 30 28460 401 > E-Mail: ber...@mpiib-berlin.mpg.de > Web : www.mpiib-berlin.mpg.de > > > __ > R-devel@r-project.org mailing list > https://stat.e

Re: [Rd] tempdir() may be deleted during long-running R session

2017-04-21 Thread Joris Meys
mp/user/1069138/RtmpGc9M5z/Rtxt3dbb65870ad4': No >> such file or directory >> b <- print(tempdir()) >> # [1] "/tmp/user/1069138/RtmpGc9M5z" >> identical(a, b) >> # [1] TRUE >> dir.exists(b) >> # [1] FALSE >> >> > > -- > Brian D. Ripley, rip...@stats.o

Re: [Rd] `[` not recognized as a primitive in certain cases.

2017-03-28 Thread Joris Meys
gt; mc2 <- as.call(list(quote(`[`),iris,2,"Species")) > > > > The `[` would _not_ be evaluated, quote() would return the symbol, and > > the symbol would end up in the call. > > > > The two forms have virtually identical behavior as long as the call > >

[Rd] `[` not recognized as a primitive in certain cases.

2017-03-28 Thread Joris Meys
s.call() ), the function `[` is or is not recognized as a primitive by is.primitive() The behaviour is counterintuitive and -unless I miss something obvious here- likely to be a bug imho. I immediately admit that my C chops aren't sufficient to come up with a patch. Cheers Joris -- Joris Meys St

Re: [Rd] non-infectious license for R package?

2017-03-24 Thread Joris Meys
On Fri, Mar 24, 2017 at 5:24 PM, Dirk Eddelbuettel wrote: > > On 24 March 2017 at 17:04, Joris Meys wrote: > | attached. So including the closed source libraries as Mario wanted to do, > | is not accepted on CRAN. > > He never said he wanted to upload to CRAN. > > He aske

Re: [Rd] non-infectious license for R package?

2017-03-24 Thread Joris Meys
ary > software without a license, but it is incumbent on the user to respect the > license of the underlying library. > > -Original Message- > From: R-devel [mailto:r-devel-boun...@r-project.org] On Behalf Of Joris > Meys > Sent: Friday, March 24, 2017 8:14 AM > To: Mar

Re: [Rd] non-infectious license for R package?

2017-03-24 Thread Joris Meys
t; > licensed additionally under a non-infectious license? > > > > Furthermore, can I avoid infecting my full software stack, for example > > by making only the package open source under a permissive license? Are > > there any guidelines how to legally bridge between the proprie

Re: [Rd] rnbinom Returns Error that says optional argument is missing

2017-01-31 Thread Joris Meys
> else .Call(C_rnbinom, n, size, prob) > > } > > > > > > -- > Thomas Roh > thms...@gmail.com > > [[alternative HTML version deleted]] > > __ > R-devel@r-project.org mailing list > https://stat.et

Re: [Rd] The use of match.fun

2016-09-06 Thread Joris Meys
3.3.1 under MacOS, and tested before with > 3.3.0 with the same result. > > > On Tue, Sep 6, 2016 at 4:25 PM, Joris Meys wrote: > >> Dear gurus, >> >> I was utterly surprised to learn that one of my examples illustrating the >> need of match.fun() doesn&#x

  1   2   >