Re: [Rd] Possible Bug: file.exists() Function. Due to UTF-8 Encoding differences on Windows between R 4.0.1 and R 3.6.3?

2020-06-10 Thread Juan Telleria Ruiz de Aguirre
Thank you Kevin, just checked that the error is solved in the latest development version of "renv", and now it works as expected with R 4.0.1: https://github.com/rstudio/renv/commit/976ae7af6dc348af30eaf2893d886f132a76aba0 Sorry for posting in r-devel, I was not sure if it was a R or "renv"

[Rd] Possible Bug: file.exists() Function. Due to UTF-8 Encoding differences on Windows between R 4.0.1 and R 3.6.3?

2020-06-10 Thread Juan Telleria Ruiz de Aguirre
Dear R Developers, I am having an issue with the renv package and R 4.0.1, which I suspect is related to base R and not the renv package itself, as with R 3.6.3 such an "error" does not appear. The error is raised by a file.exists() path, and path "C:\Users\J-tel\Documents", which in R 3.6.3 is

Re: [Rd] [External] Feature Request: User Prompt + Message First Execution when "Managing Search Path Conflicts"

2020-05-21 Thread Juan Telleria Ruiz de Aguirre
Got it, thank you for pointing out the solution then. Best, Juan __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] [External] Feature Request: User Prompt + Message First Execution when "Managing Search Path Conflicts"

2020-05-21 Thread Juan Telleria Ruiz de Aguirre
Thank you Mr. Tierney! Using globalCallingHandlers() to directly handle "packageConflictError" is an excellent idea! The benefits I see for such an implementation are: * The patch would be contained within the Conflict Error Handler, which should reduce any side effects with an eventual

[Rd] Feature Request: User Prompt + Message First Execution when "Managing Search Path Conflicts"

2020-05-20 Thread Juan Telleria Ruiz de Aguirre
Dear R Developers, ### # Context: ### When managing Search Path Conflicts (See: https://developer.r-project.org/Blog/public/2019/03/19/managing-search-path-conflicts/index.html), with: options(conflicts.policy = "strict") We get the following behaviour when loading a package (Eg: dplyr):

[Rd] Support for Dashes in the Raw String Delimiter

2020-02-20 Thread Juan Telleria Ruiz de Aguirre
Dear R Developers, As regards "Support for Dashes in the Raw String Delimiter" from commit: https://github.com/wch/r-source/commit/4d4781ad19890193d5eb458d71f18d7e53ee73c5 Would it be possible to support in addition to r"" Syntax, for not escaping backlash character in strings, also support """

Re: [Rd] how to check as CRAN with alternative BLAS?

2019-12-31 Thread Juan Telleria Ruiz de Aguirre
Give a try to "rhub": https://cran.r-project.org/web/packages/rhub/index.html https://cran.r-project.org/web/packages/rhub/vignettes/local-debugging.html Which allows to try different os, and system configurations :) Hope it works! El lunes, 30 de diciembre de 2019, Dirk Eddelbuettel

Re: [Rd] reverse dependency checks

2019-09-04 Thread Juan Telleria Ruiz de Aguirre
https://builder.r-hub.io/ El martes, 3 de septiembre de 2019, Therneau, Terry M., Ph.D. via R-devel < r-devel@r-project.org> escribió: > I remember there was advice about a server that one could use for reverse > dependency > checks, but I forgot to write it down. (Or I did save the info and

[Rd] Recommended Reading: Advanced R Second Edition

2019-07-21 Thread Juan Telleria Ruiz de Aguirre
Dear R Developers, After having fully read "Advanced R First Edition" , and having just bought my physical copy of "Advanced R Second Edition", I recommend that: Any community member interested in the development of R reads "Advanced R Second Edition", which explains R Language Core concepts

Re: [Rd] Converting non-32-bit integers from python to R to use bit64: reticulate

2019-06-02 Thread Juan Telleria Ruiz de Aguirre
Thank you Martin for giving to know and developing 'Rmpfr' library for unlimited size integers (GNU C GMP) and arbitrary precision floats (GNU C MPFR): https://cran.r-project.org/package=Rmpfr My question is: In the long term (For R3.7.0 or R3.8.0): Does it have sense that CMP substitutes

Re: [Rd] Converting non-32-bit integers from python to R to use bit64: reticulate

2019-05-30 Thread Juan Telleria Ruiz de Aguirre
and Int-64 seems to only happen in Python2. Best, Juan El miércoles, 29 de mayo de 2019, Gabriel Becker escribió: > Hi Juan, > > Comments inline. > > On Wed, May 29, 2019 at 12:48 PM Juan Telleria Ruiz de Aguirre < > jtelleria.rproj...@gmail.com> wrote

[Rd] Converting non-32-bit integers from python to R to use bit64: reticulate

2019-05-29 Thread Juan Telleria Ruiz de Aguirre
Dear R Developers, There is an interesting issue related to "reticulate" R package which discusses how to convert Python's non-32 bit integers to R, which has had quite an exhaustive discussion: https://github.com/rstudio/reticulate/issues/323 Python seems to handle integers differently from R,

[Rd] Managing Search Path Conflicts in R 3.6.0: Lazy Method Attachment into Search Path

2019-04-19 Thread Juan Telleria Ruiz de Aguirre
Dear R Developers, R 3.6.0 is going to introduce new features for managing search path conflicts, explained in greater detail in the following article, and which are greatly welcome: https://developer.r-project.org/Blog/public/2019/03/19/managing-search-path-conflicts/index.html In addition,

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

2018-11-04 Thread Juan Telleria Ruiz de Aguirre
It would be nice to see such immutable package version links: E.g.: https://cran.r-project.org/package=httr=1.3.1 https://cran.r-project.org/package=httr=1.3.0 In the CRAN package web pages themselves, and specifically in the "Old Sources: httr Section":

[Rd] Native 64 Integers

2018-09-24 Thread Juan Telleria Ruiz de Aguirre
Dear R Developers, I would like to pick up back again the issue of 64 bits integers with R: http://r.789695.n4.nabble.com/Re-R-support-for-64-bit-integers-td2320024.html *** CURRENT SITUATION *** At the moment, as regards integers, all the following are the same type: * length of an R vector

Re: [Rd] compairing doubles

2018-09-03 Thread Juan Telleria Ruiz de Aguirre
Maybe a new Operator could be defined for a fast and easy double Comparison: `~~` `~~` <- function (e1, e2) all.equal(e1, e2) And document it properly. __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] Code Optimization: print.data.frame + as.data.frame(head(x, n = options("max.print")))

2018-07-31 Thread Juan Telleria Ruiz de Aguirre
I polished a little bit more the function: * Used: getOption("max.print") * Added comment at the end: cat('[ reached getOption("max.print") -- omitted ', omitted,' rows ]') function (x, ..., digits = NULL, quote = FALSE, right = TRUE, row.names = TRUE) { n <- length(row.names(x))

[Rd] Code Optimization: print.data.frame + as.data.frame(head(x, n = options("max.print")))

2018-07-30 Thread Juan Telleria Ruiz de Aguirre
Dear R Developers, I would like to propose a simple optimization for print.data.frame base function: To add: x <- as.data.frame(head(x, n = options("max.print"))) This would prevent that, if for example, we have a 10GB data.frame (e.g.: Instead of a data.table), and we accidentally print it,

[Rd] CRAN: R 3.5.0 Not Available

2018-07-23 Thread Juan Telleria Ruiz de Aguirre
In CRAN, R 3.5.0 is not available for download on "Previous Releases of R for Windows". ¿Could it be added? https://cran.r-project.org/ Thanks. __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] Quartz graphic device can be extremely slow in some cases

2018-05-30 Thread Juan Telleria Ruiz de Aguirre
It might be related with this files: https://github.com/wch/r-source/blob/trunk/src/library/grDevices/src/devQuartz.c https://github.com/wch/r-source/blob/trunk/src/include/R_ext/QuartzDevice.h Could we port some of the UNIX optimizations to previous code?

Re: [R-pkg-devel] Fwd: Collaboration Request: h2o R Package Function Cheatsheet

2018-04-14 Thread Juan Telleria Ruiz de Aguirre
The cheatsheet is almost finished, just in case anyone wants to polish final details: PDF: https://github.com/jtelleria/H2O-Cheatsheet/blob/master/H2O%20Cheatsheet%20v2.000.pdf POWER POINT: https://github.com/jtelleria/H2O-Cheatsheet/blob/master/H2O%20Cheatsheet%20v2.000.pptx Will do a pull

[Rd] Reminder: R Project Contributed Documentation Still Frozen

2018-04-14 Thread Juan Telleria Ruiz de Aguirre
Dear R Developers, Just I would like to remind that R Contributed Documentation is still frozen: https://cran.r-project.org/other-docs.html It would certainly be nice to have an official R Project Contributed Documentation Site where we can all contribute :) Kind regards, Juan Telleria *P.D

Re: [Rd] R Lapack – why a subset?

2018-03-26 Thread Juan Telleria Ruiz de Aguirre
> Is the cost really so high as to preclude adding the remaining Lapack > routines to Rlapack? Updating Lapack Libraries shall not break compatibility, and rather provide bug fixes I guess. > the reason is that there would be a significant extra maintenance burden > consisting of things that

Re: [Rd] 64-bit integer type warning on windows

2018-03-14 Thread Juan Telleria Ruiz de Aguirre
It does not answer direcly your question, but have you tried "bit64" CRAN package :) https://cran.r-project.org/web/packages/bit64/index.html __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [R-pkg-devel] Fwd: Collaboration Request: h2o R Package Function Cheatsheet

2018-02-09 Thread Juan Telleria Ruiz de Aguirre
Yes, Thank you for the tips Suzen. I will try to finish it in a couple of weeks from now, hope it is useful. Kind regards, Juan Telleria 2018-02-04 23:49 GMT+01:00 Suzen, Mehmet <su...@acm.org>: > Dear Juan, > > A good start. A suggestion for versioning, instead of versioning

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

2018-02-04 Thread Juan Telleria Ruiz de Aguirre
I attach the Github Flow for teams and projects with regular deployments: https://guides.github.com/pdfs/githubflow-online.pdf https://guides.github.com/introduction/flow/ Tips: * Always Do pull requests based on branches (never on the master). * Keep your Fork Synchronized with the

[R-pkg-devel] Fwd: Collaboration Request: h2o R Package Function Cheatsheet

2018-02-03 Thread Juan Telleria Ruiz de Aguirre
Statistical Algorithms Cheatsheet already exists, but the new one will be focused on R h2o package functions: https://github.com/h2oai/h2o-tutorials/blob/master/training/h2o_algos/h2o_algos_cheat_sheet_04_25_17.pdf Kind regards, Juan Telleria __ R-package-devel@r

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

2018-02-02 Thread Juan Telleria Ruiz de Aguirre
> So I created a branch within my fork, and committed the change there. But > Github provides no way to create a pull request that only includes the new > stuff! > Every attempt I made would have included everything from both bug fixes. I have been doing some tests, and I think that this issue

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

2018-02-02 Thread Juan Telleria Ruiz de Aguirre
R code. Indeed, in some years from now I would like to help to improve base R myself, maybe re-writing some parts of the code in C++, fixing bugs, or who knows :) Kind regards, Juan Telleria __ R-devel@r-project.org mailing list https://stat.ethz.ch/mai

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

2018-01-26 Thread Juan Telleria Ruiz de Aguirre
In case it's useful: A) Git Cheatsheet: ADVANCED (GitHub) https://www.google.es/url?sa=t=web=j=https://services.github.com/on-demand/downloads/github-git-cheat-sheet.pdf=2ahUKEwjkhYmdt_bYAhXIwBQKHXWdBfoQFjAAegQIERAB=AOvVaw3RoN21aynhcDHqKncV31el B) Git Cheatsheet: BASICS (GitHub)

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

2018-01-25 Thread Juan Telleria Ruiz de Aguirre
I do not mind investing as much time as necessary :-) > If you ever need to document issues / coding recipes related to GIT / SVN: > > * I could pick the commands from e-mails. > * Any documentation you send me. > * Or books (http://shop.oreilly.com/product/0636920022862.do), web pages, etc.. > >

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

2018-01-25 Thread Juan Telleria Ruiz de Aguirre
If you ever need to document issues / coding recipes related to GIT / SVN: * I could pick the commands from e-mails. * Any documentation you send me. * Or books (http://shop.oreilly.com/product/0636920022862.do), web pages, etc.. And create a wiki / documentation page in any platform, in order

Re: [Rd] OpenBLAS in everyday R?

2018-01-16 Thread Juan Telleria
ttps://kbrproject.miraheze.org/wiki/BLAS_Libraries Kind regards, Juan Telleria [[alternative HTML version deleted]] __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] OpenBLAS in everyday R?

2018-01-10 Thread Juan Telleria
> In order to document the generated Know-How of Optional BLAS Libraries > Implementation and Tests (For example: OpenBLAS), I have created a > Mediawiki based wiki page in which anyone can document and discuss any > issues he/she encounters: > > https://kbrproject.miraheze.org/wiki/Main_Page/BLAS

Re: [Rd] OpenBLAS in everyday R?

2018-01-10 Thread Juan Telleria
will myself document all observations and attach the papers that have been mentioned in R-devel related to such topic. Hope its useful. Best, Juan Telleria __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel

Re: [Rd] Community Feedback: Git Repository for R-Devel

2018-01-05 Thread Juan Telleria
# R-devel Archives: “Why R-project source code is not on Github" [Summary: Aug 2014]

Re: [Rd] Community Feedback: Git Repository for R-Devel

2018-01-05 Thread Juan Telleria
I attach a basic State of Art: ## # State of Art Analysis of Git vs SVN

Re: [Rd] R CMD check warning about compiler warning flags

2018-01-04 Thread Juan Telleria
I repeat it for all the reason I gave to Duncan on a personal E-mail, It is a lot of text, and I might be wrong, but I attach it in case it is useful: A) I feel Version Control (SVN) is great when there is a little group of people maintaining the code (RCore ~ 20); but Git could allow a bigger

Re: [Rd] Community Feedback: Git Repository for R-Devel

2018-01-04 Thread Juan Telleria
...@gmail.com> escribió: > This question has been discussed before on this list: > http://r.789695.n4.nabble.com/Why-R-project-source-code-is- > not-on-Github-td4695779.html > > See especially Jeroen's answer. > > Best, > Mark > > Op do 4 jan. 2018 om 01:

[Rd] Community Feedback: Git Repository for R-Devel

2018-01-03 Thread Juan Telleria
UNBIASED FACTS: • Bugzilla & R-devel Mailing Lists: Remain unchanged: Understood as Ticketing platforms for bug pull requests on the R-devel Git Repository. • Git Repository Options: A) Github (Cloud with Automated backups from GitHub to CRAN Server): https://github.com B) Gitlab (Selfhosted on

Re: [Rd] R CMD check warning about compiler warning flags

2017-12-25 Thread Juan Telleria
However, and hope not to be off-topic, a git repository (github, gitlab, codeplex, etc., not just solely github) could constitute a tidy approach, and make things easier to R Core :) By putting the focus on version control, the line of changes made with each commit (With the possibility to

Re: [Rd] R CMD check warning about compiler warning flags

2017-12-25 Thread Juan Telleria
M... I see... thank you Suzen. Juan > I strongly disagree. Are you aware that github is a commercial > company, github inc. [1] ? > What about gitlab? or Microsoft's codeplex? There are other services > similar to github, why github? > What happens if github goes out of business? > >

[Rd] Collaborative Wiki: Mediawiki

2017-12-25 Thread Juan Telleria
Dear R Developers, I create this e-mail, linked to "Collaborative Wiki for fostering Open Innovation in R", for going straight into the point: After studing multiple wikies (Confluence, xwiki, Mediawiki) for a collaborative approach to R Documentation, I finally came up that Mediawiki was the

Re: [Rd] R CMD check warning about compiler warning flags

2017-12-25 Thread Juan Telleria
Maybe I'm new, and forgive my ignorance, but maybe in the future (~ X years from now) the R Project could be managed entirely from github, by doing pull requests and only R Core having commit rights... Would make the forking process also easier... And could be a good roadmap. But we're not using

Re: [Rd] Wish List: base::source() + Add Execution Time Argument

2017-12-21 Thread Juan Telleria
all day simply doing Ctrl + Run :) Thank you, Juan 2017-12-21 15:20 GMT+01:00 Iñaki Úcar <i.uca...@gmail.com>: > 2017-12-21 15:05 GMT+01:00 Juan Telleria <jteller...@gmail.com>: > > But by statement in the source file, I mean, for knowing during the > > execution how m

Re: [Rd] Wish List: base::source() + Add Execution Time Argument

2017-12-21 Thread Juan Telleria
But by statement in the source file, I mean, for knowing during the execution how much time is taking, without having to wait till the end. 2017-12-21 13:06 GMT+01:00 Iñaki Úcar <i.uca...@gmail.com>: > 2017-12-21 12:46 GMT+01:00 Juan Telleria <jteller...@gmail.com>: > &

[Rd] Wish List: base::source() + Add Execution Time Argument

2017-12-21 Thread Juan Telleria
the following code for each statement: old <- Sys.time() # get start time at the beginning of source() # source code # print elapsed time new <- Sys.time() - old # calculate difference print(new) # print in nice format Thank you. Kind regards, Juan Telleria [[alternative HTML v

Re: [Rd] Collaborative Wiki for fostering Open Innovation in R

2017-12-18 Thread Juan Telleria
I have found Apache JSPWiki solution, which might work and is open source: https://jspwiki.apache.org In addition, I will test xwiki, and give my insights about the tool on r-devel, as it might just be a resolutive tool for collaboration thanks to it's extensible architecture. Kind regards, Juan

[Rd] Collaborative Wiki for fostering Open Innovation in R

2017-12-17 Thread Juan Telleria
Dear R Developers, I am writing in order to open a constructive debate whether if it is worth it that R Project adopts the Apache Software Foundation & Wikipedia Model for Open Documentation by using a Collaborative Wiki & Document Store (As a complement to Bugzilla and Mailing Lists), for

Re: [Rd] OpenBLAS in everyday R?

2017-12-16 Thread Juan Telleria
Julia Programming Language uses also OpenBlas, and it is actively maintained with bugs being fixed as I have checked it out: http://www.openblas.net/Changelog.txt So I still see it ok to be included as an options(...) feature (by default off, just for safety), over other Blas libraries. R could

Re: [Rd] OpenBLAS in everyday R?

2017-12-16 Thread Juan Telleria
is enabled or disabled. b) And how many cores it uses (Setting also configurable through options(...)) In a shape just as Microsoft R Open does. Kind regards, Juan Telleria El 17/12/2017 12:31 a. m., "Juan Telleria" <jteller...@gmail.com> escribió: > Multi-threaded Math Librari

Re: [Rd] OpenBLAS in everyday R?

2017-12-16 Thread Juan Telleria
is enabled or disabled. b) And how many cores it uses (Setting also configurable through options(...)) In a shape just as Microsoft R Open does. Kind regards, Juan Telleria [[alternative HTML version deleted]] __ R-devel@r-project.org mailing list

Re: [Rd] Debate: Shall some of Microsoft R Open Code be ported to mainstream R?

2017-10-31 Thread Juan Telleria
El 31/10/2017 2:55 p. m., "Iñaki Úcar" <i.uca...@gmail.com> escribió: 2017-10-31 14:34 GMT+01:00 Juan Telleria <jteller...@gmail.com>: > So as long as I can read, OpenBlas, for Windows, might be a worth > considering option: > http://www.openblas.net > > But Inte

Re: [Rd] Debate: Shall some of Microsoft R Open Code be ported to mainstream R?

2017-10-31 Thread Juan Telleria
ehind bugs here and there, especially related > to > > development with Rcpp, so I switched back to vanilla R. > > > > On Mon, Oct 30, 2017, 9:42 AM Juan Telleria <jteller...@gmail.com> > wrote: > > > >> Dear R Developers, > >> > >> First

[Rd] Debate: Shall some of Microsoft R Open Code be ported to mainstream R?

2017-10-29 Thread Juan Telleria
R Open to Mainstream R. There are some beneficts in R Open such as multithreaded performance: https://mran.microsoft.com/documents/rro/multithread/ Maybe, the R Consortium, and in particular, Microsoft R Team, could collaborate, if appropriate, in such duty. Thank you, Juan Telleria

[Rd] source() + dbSendQuery() Returns Incorrect Results - Solved with: dbExecute()

2017-10-19 Thread Juan Telleria
Issue Description and Expected Result When used source() with dbSendQuery(), wrong results are obtained from the Database, probably due to a precision loose at some point. Database MariaDB Solution It was solved by means of using source() + dbExecute(), instead of dbSendQuery(). Question

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

2017-09-29 Thread Juan Telleria
, but always taking special care of company interest independence. Juan El 29/9/2017 2:23 p. m., "Juan Telleria" <jteller...@gmail.com> escribió: > I agree with Moshe. > > It is important to maintain the independence of R as a programming > language by itselft, even if it

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

2017-09-29 Thread Juan Telleria
I agree with Moshe. It is important to maintain the independence of R as a programming language by itselft, even if it could benefit from Microsoft work (C++ Base Code, etc.), it is better in my opinion to keep it independent. Also, Duncan work and know-how shall be transferred to the next

Re: [Rd] R Configuration Variable: Maximum Memory Allocation per R Instance

2017-09-17 Thread Juan Telleria
This variables already exist as I have been said, and are: * memory.size * memory.limit R Documentation: https://stat.ethz.ch/R-manual/R-devel/library/utils/html/memory.size.html Thank you, Juan El 17/9/2017 12:39 a. m., "Juan Telleria" <jteller...@gmail.com> escribió: >

[Rd] R Configuration Variable: Maximum Memory Allocation per R Instance

2017-09-16 Thread Juan Telleria
Dear R Developers, In the same way that MySQL/MariaDB's Engine InnoDB or MyISAM/Aria have the innodb_buffer_pool_size or the key_buffer_size for setting the maximum amount of RAM which can be used by a Server Instance: ¿Would it be possible to create an R Configuration Variable which fixes the

[Rd] Suggestion: Create On-Disk Dataframes

2017-09-04 Thread Juan Telleria
Dear R Developers, I would like to suggest the creation of a new S4 object class for On-Disk data.frames which do not fit in RAM memory, which could be called disk.data.frame() It could be based in rsqlite for example (By translating R syntax to SQL syntax for example), and the syntax and way of