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] [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] 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] 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] 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-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-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] 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] 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] 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] 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] 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 >>

[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] 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

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

[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

[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=

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] 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] 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] 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] 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

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
) 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-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] 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-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] 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

[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] 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] 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] 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

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] 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-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-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] 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] 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] 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] 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] 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] 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
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

[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] 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

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] 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] 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

[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

[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

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

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
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] 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] 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] 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] 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] 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] 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] 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] 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

[Rd] scoping goes wrong when some functions are used within others.

2010-10-01 Thread Joris Meys
-to-a-function http://stackoverflow.com/questions/3574858/values-not-being-copied-to-the-next-local-environment http://stackoverflow.com/questions/2646402/using-functions-and-environments -- Joris Meys Statistical consultant Ghent University Faculty of Bioscience Engineering Department of Applied

Re: [Rd] scoping goes wrong when some functions are used within others.

2010-10-01 Thread Joris Meys
gave some pseudo-code to illustrate the general pattern of the errors, to indicate why I thought they were linked. Sorry if I wasn't clear enough on that one. Cheers Joris On Fri, Oct 1, 2010 at 7:21 PM, Erik Iverson wrote: > > > Joris Meys wrote: >> >> Dear, >> >&

Re: [Rd] Unexpected behabiour of min, tapply and POSIXct/POSIXlt classes?

2010-10-28 Thread Joris Meys
gt; > other attached packages: > [1] RODBC_1.3-2 plotrix_3.0 > > loaded via a namespace (and not attached): > [1] tools_2.12.0 > > I am running R on a Windows XP Box. > > > Thank you very much, > > Carlos J. Gil Bellosta > http://www.data

Re: [Rd] Bug in agrep computing edit distance?

2010-11-17 Thread Joris Meys
t;x","xy","xyz","xyza"),max=list(insertions=2)) > agrep("x",c("x","xy","xyz","xyza"),max=list(deletions=2)) > agrep("x",c("x","xy","xyz","xyza"),max=lis

Re: [Rd] Bug in agrep computing edit distance?

2010-11-18 Thread Joris Meys
On Thu, Nov 18, 2010 at 12:23 AM, Dickison, Daniel wrote: > On 11/17/10 6:06 PM, "Joris Meys" wrote: > > It looks like R's agrep defaults max.distance$all to 0.1 if unspecified by > the argument, so that explains these examples (the first and last one have >

Re: [Rd] Unexpected behavior with \r in Rgui 2.12.0

2010-11-25 Thread Joris Meys
ist. >> >> Best, >> >> Russell Pierce >> >> __ >> R-devel@r-project.org mailing list >> https://stat.ethz.ch/mailman/listinfo/r-devel >> > > -- > Brian D. Ripley,                  rip.

Re: [Rd] [Rcpp-devel] GPL and R Community Policies (Rcpp)

2010-12-01 Thread Joris Meys
le who need to know what I'm worth, will see that in my recent and ongoing work. About all the rest, I couldn't be bothered less. Seems more healthy for the heart to me. Then again, I don't care that much about reputation anyway. I'd like to see my work used, rather than being praised

Re: [Rd] GPL and R Community Policies (Rcpp)

2010-12-02 Thread Joris Meys
of any package that would be able to compete with the rcpp as it is now. Great package by the way, Dirk, Romain and the other contributors made something really nice from it. Cheers Joris -- Joris Meys Statistical consultant Ghent University Faculty of Bioscience Engineering Department of

Re: [Rd] Terminology clarification (Re: GPL and R Community Policies (Rcpp)

2010-12-02 Thread Joris Meys
re pretty clear if you ask me. Mud slinging can be done at 4chan.com Goodnight. -- Joris Meys Statistical consultant Ghent University Faculty of Bioscience Engineering Department of Applied mathematics, biometrics and process control tel : +32 9 264 59 87 j

[Rd] possible bug in chron packages

2010-12-08 Thread Joris Meys
;) [1] 01/01/10 > chron("20100101",format="Ymd",out.format="day mon year") [1] 01 Jan 2010 I would expect the outcome of both functions to be the same, or am I overlooking something? Kind regards Joris -- Joris Meys Statistical consultant Ghent University

[Rd] Warning message when items of Hmisc are masked by loading a package.

2010-12-21 Thread Joris Meys
] "2" $minor [1] "12.1" $year [1] "2010" $month [1] "12" $day [1] "16" $`svn rev` [1] "53855" $language [1] "R" $version.string [1] "R version 2.12.1 (2010-12-16)" > Sys.info() sysname release

Re: [Rd] Warning message when items of Hmisc are masked by loading a package.

2010-12-21 Thread Joris Meys
PS : This did not happen in R 2.12.0, it just occured when I installed the new R version today. Cheers Joris On Tue, Dec 21, 2010 at 2:50 PM, Joris Meys wrote: > I've noticed that I get a warning message every time a package masks > some functions from Hmisc. The warning m

Re: [Rd] Warning message when items of Hmisc are masked by loading a package.

2010-12-21 Thread Joris Meys
required package: plyr > > Attaching package: 'plyr' > > The following object(s) are masked from 'package:Hmisc': > >    is.discrete, summarize > > > Attaching package: 'reshape' > > The following object(s) are masked from 'package:plyr

Re: [Rd] matrix multiplication speed R

2011-01-14 Thread Joris Meys
ailing list archive at Nabble.com. > > __ > R-devel@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel > -- Joris Meys Statistical consultant Ghent University Faculty of Bioscience Engineering Department of Applied mathemat

[Rd] terribly annoying bug with POSIXlt : one o'clock is midnight?

2011-02-04 Thread Joris Meys
1970-01-01 23:59:59") [1] "1970-01-02 00:59:59 CET" Cheers -- Joris Meys Statistical consultant Ghent University Faculty of Bioscience Engineering Department of Applied mathematics, biometrics and process control tel : +32 9 264 59 87 joris.m...@ugent.be

Re: [Rd] terribly annoying bug with POSIXlt : one o'clock is midnight?

2011-02-04 Thread Joris Meys
our is not going to be changed, but it's causing very hard-to-track-down bugs nonetheless. Cheers Joris On Fri, Feb 4, 2011 at 4:21 PM, Joris Meys wrote: > Apparently, as.POSIXlt takes one o'clock as the start of the day : > >> as.POSIXlt(0,origin="1970-01-01") >

[Rd] readPNG gives warnings and doesn't execute sample code from help files

2011-02-14 Thread Joris Meys
l_2.36-2 loaded via a namespace (and not attached): [1] cluster_1.13.2 grid_2.12.1 lattice_0.19-13 svMisc_0.9-61 tools_2.12.1 -- Joris Meys Statistical consultant Ghent University Faculty of Bioscience Engineering Department of Applied mathematics, biometrics and process control tel : +32

Re: [Rd] readPNG gives warnings and doesn't execute sample code from help files

2011-02-15 Thread Joris Meys
11 at 5:30 PM, Simon Urbanek wrote: > Joris, > > On Feb 14, 2011, at 10:05 AM, Joris Meys wrote: > >> Dear all, >> >> I noticed in the latest R version (R.2.12.1) that the readPNG gives >> following warning when running the example code in the help file (

Re: [Rd] readPNG gives warnings and doesn't execute sample code from help files

2011-02-15 Thread Joris Meys
Thx again for your answer. I've tried X11() - which is supposed to support alpha per pixel as well, but on Windows that's still no avail. So basically, on Windows I can forget about alpha? Cheers Jors On Tue, Feb 15, 2011 at 2:20 PM, Ben Bolker wrote: > Joris Meys gmail.com> w

Re: [Rd] readPNG gives warnings and doesn't execute sample code from help files

2011-02-15 Thread Joris Meys
Sorry, correction. X11() is not supposed to do that. So on Windows, per-pixel alpha is no option apparently. Any chance this will be implemented in the future? Cheers Joris PS : also thx to Simon for his helpful answer earlier. On Tue, Feb 15, 2011 at 2:40 PM, Joris Meys wrote: > Thx again

[Rd] Using rasterImage on a CairoWin device prevents adding further elements to device?

2011-02-15 Thread Joris Meys
e="png")) r = as.raster(img[,,1:3]) r[img[,,4] == 0] = "white" CairoWin() plot(1:2,1:2,type="l") rasterImage(r,1,1,2,2) points(seq(1,2,by=0.1),seq(2,1,by=-0.1),col="black") The points are not plotted anymore. If I use the normal plotting device, I s

[Rd] Invalid connection after closing?

2011-04-08 Thread Joris Meys
onnection' atomic [1:1] 3 ..- attr(*, "conn_id")= Why do I get an error, indicating an invalid connection, after I closed a connection? Is this to be expected? Cheers Joris -- Joris Meys Statistical consultant Ghent University Faculty of Bioscience Engineering Department of Appl

Re: [Rd] Invalid connection after closing?

2011-04-08 Thread Joris Meys
Thx for the information. I read it, but I wasn't sure what was going on inside. Is there a way to close a connection without destroying it? Guess not, but you never know... Cheers Joris On Fri, Apr 8, 2011 at 5:09 PM, Duncan Murdoch wrote: > On 08/04/2011 10:56 AM, Joris Meys wrote: &g

[Rd] proposal for adapting code of function gl()

2011-04-11 Thread Joris Meys
em.time(X2 <- gl2(5,100,1e7,labels=letters[1:5],ordered=T)) user system elapsed 0.220.040.25 > all.equal(X1,X2) [1] TRUE reference to SO : http://stackoverflow.com/questions/5627264/how-can-i-efficiently-construct-a-very-long-factor-with-few-levels -- Joris Meys Statistical

Re: [Rd] proposal for adapting code of function gl()

2011-04-12 Thread Joris Meys
is On Tue, Apr 12, 2011 at 8:51 AM, peter dalgaard wrote: > > On Apr 11, 2011, at 23:53 , Joris Meys wrote: > >> Based on a discussion on SO I ran some tests and found that converting >> to a factor is best done early in the process. Hence, I propose to >> rewrite the gl(

[Rd] bug in hist.POSIXt , hist.Date

2011-04-13 Thread Joris Meys
cannot be passed unwantedly to other functions. Maybe this should be done with hist.POSIXt as well. The same goes for hist.Date Cheers Joris -- Joris Meys Statistical consultant Ghent University Faculty of Bioscience Engineering Department of Applied mathematics, biometrics and process control tel

[Rd] readTableHead refers to itself as readTableHeader in some messages

2011-05-13 Thread Joris Meys
dTableHeader on '%s'"), data.con->description); } else error(_("incomplete final line found by readTableHeader on '%s'"), data.con->description); } Cheers Joris -- Joris Meys Statistical consultant Ghen

[Rd] Possible bug in termplot function (stats package) ?

2011-06-06 Thread Joris Meys
able. If both lines mentioned earlier are erased from the function, it works as expected in this example code. Using the model frame seems the logic choice here, I have no clue why one would want to look in the global environment for the data related to a model. Cheers Joris -- Joris Meys St

Re: [Rd] Possible bug in termplot function (stats package) ?

2011-06-06 Thread Joris Meys
On Mon, Jun 6, 2011 at 6:29 PM, peter dalgaard wrote: > > On Jun 6, 2011, at 17:15 , Joris Meys wrote: > **snip** >> If nothing is found, an error is returned. If >> anything is found, data won't be NULL, so line 20, when reached, will >> always return FALSE. Can i

Re: [Rd] Possible bug in termplot function (stats package) ?

2011-06-06 Thread Joris Meys
> NULL > I see... indeed, thx for the answer and sorry for my stupidity. Should have thought about that case. Still, I wonder why it is necessary to go look for the data in a calling environment if it should be contained in the model frame of the fitted object. Or am I again wrong in

[Rd] all.equal doesn't work for POSIXlt objects

2011-08-07 Thread Joris Meys
;- unclass(target) current <- unclass(current) NextMethod("all.equal.list") } This seems to work bugfree, but I'm not sure about it. So am I doing it correct, and if so, can this be added to the next R release? I'm not sure where else I should drop this proposal...

Re: [Rd] build 32-bit R on x86_64?

2011-08-09 Thread Joris Meys
ng both 32-bit and 64-bit > versions of R on my Linux machine?  Thank you! > > -- Vinh > > __ > R-devel@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel > -- Joris Meys Statistical consultant Ghent Unive

[Rd] problems with connections when applied in tryCatch

2011-08-18 Thread Joris Meys
ething odd happening with the connections. For the record, I am aware that the use of the warning handler in that call is rather peculiar. But even then, R shouldn't crash. Cheers Joris -- Joris Meys Statistical consultant Ghent University Faculty of Bioscience Engineering Department of A

Re: [Rd] problems with connections when applied in tryCatch

2011-08-23 Thread Joris Meys
Bug committed with number 14660 Cheers Joris 2011/8/22 Uwe Ligges : > > > On 18.08.2011 17:53, Joris Meys wrote: >> >> Recently on stackoverflow following problem came up : >> >> >> http://stackoverflow.com/questions/7103429/all-the-connections-are-in-use-e

Re: [Rd] Bugzilla activity?

2015-06-16 Thread Joris Meys
,") > https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=16411 > > > Regards > > __ > R-devel@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel > -- Joris Meys Statistical consultant Ghent University Faculty of Bioscience Engineering Depar

[Rd] Error generated by .Internal(nchar) disappears when debugging

2015-10-05 Thread Joris Meys
#x27;m not sure of the origin of this problem. 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 --- Di

Re: [Rd] Error generated by .Internal(nchar) disappears when debugging

2015-10-06 Thread Joris Meys
On Tue, Oct 6, 2015 at 1:57 AM, Duncan Murdoch wrote: > On 05/10/2015 7:24 PM, Matt Dowle wrote: > > Joris Meys gmail.com> writes: > > > >> > >> Hi all, > >> > >> I have a puzzling problem related to nchar. In R 3.2.1, the internal &

Re: [Rd] Error generated by .Internal(nchar) disappears when debugging

2015-10-06 Thread Joris Meys
rdoch wrote: > On 05/10/2015 8:25 PM, Matt Dowle wrote: > > > > On Mon, Oct 5, 2015 at 4:57 PM, Duncan Murdoch > <mailto:murdoch.dun...@gmail.com>> wrote: > > > > On 05/10/2015 7:24 PM, Matt Dowle wrote: > > > Joris Meys gmail.com <http://gm

Re: [Rd] Error generated by .Internal(nchar) disappears when debugging

2015-10-06 Thread Joris Meys
On Tue, Oct 6, 2015 at 3:02 PM, Duncan Murdoch wrote: > On 06/10/2015 8:48 AM, Joris Meys wrote: > > > The reason I wouldn't count your original post as a simple reproducible > example (and the same applies to what I saw on Stack Overflow), was that > it required a fairl

  1   2   >