Re: [R] md5sum issues

2021-02-02 Thread Ivan Krylov
On Tue, 2 Feb 2021 17:01:05 +0100 Ivan Calandra wrote: > This happens to all text-based files (Rmd, MD, CSV...) but not to > non-editable files (PDF, XLSX...). This is probably caused by Git helpfully converting text files from LF (0x10) line endings to CR LF (0x13 0x10) when checking out the r

Re: [R] md5sum issues

2021-02-02 Thread Ivan Calandra
Thank you Jeff for the pointer. If it's not an R issue, I guess it will be difficult to solve... But maybe there is a workaround using R, like using another function or editing the files...? Does anyone have any idea? Ivan -- Dr. Ivan Calandra TraCEr, laboratory for Traceology and Controlled

Re: [R] Dalex function in mlr3

2021-02-02 Thread Bert Gunter
Please note per the posting guide linked below: "For questions about functions in standard packages distributed with R (see the FAQ Add-on packages in R ), ask questions on R-help. If the question relates to a *contributed package

[R] Dalex function in mlr3

2021-02-02 Thread Neha gupta
Hi to everyone I just wanted to know if the dalex package of the mlr3 provides the same functions (i.e. variable importance) as provided by the scott-knott-esd test? Warm regards [[alternative HTML version deleted]] __ R-help@r-project.org mai

Re: [R] Error when calling (R 4.0.x on Windows) from Python

2021-02-02 Thread Bill Dunlap
R/Rterm now has shell-independent ways to specify its standard input file, --file=file.R, and environment variables, VAR=VALUE. Should it also have shell-independent arguments to specify files to contain stdout and stderr or both? Then its help message could omit the '> output' (it can already le

Re: [R] Regarding fitted value

2021-02-02 Thread Md. Moyazzem Hossain
Dear Partho Sarkar and Rui Barradas Thanks a lot. Take care. On Tue, Feb 2, 2021 at 12:34 PM Partho Sarkar wrote: > My pleasure! > > *Best regards,* > *Partho Sarkar* > > On Tue, Feb 2, 2021 at 5:55 PM Rui Barradas wrote: > >> Hello, >> >> Thanks for the links, they are very helpful. >> >> Ru

Re: [R] md5sum issues

2021-02-02 Thread Jeff Newmiller
Sounds like a newline discrepancy issue. Highly unlikely to be an R issue. On February 2, 2021 8:01:05 AM PST, Ivan Calandra wrote: >Dear useRs, > >I have some kind of a weird issue with md5sum() and I'm not sure where >I >should start. > >I have a repository on GitHub, with a local Git installa

[R] md5sum issues

2021-02-02 Thread Ivan Calandra
Dear useRs, I have some kind of a weird issue with md5sum() and I'm not sure where I should start. I have a repository on GitHub, with a local Git installation and connected with RStudio. I am working on Windows 10 and a colleague of mine works on Linux. We both pull the latest commits of al

[R] [R-pkgs] ethnobotanyR 0.1.8

2021-02-02 Thread Cory Whitney
The newest release of the ethnobotanyR package (v0.1.8) calculates common quantitative ethnobotany indices to assess the cultural significance of plant species based on informant consensus. The package closely follows two papers, one on cultural importance indices (Tardio and Pardo-de-Santayana

[R] Alternative to mapply to select samples

2021-02-02 Thread Chao Liu
Dear R-Help, I created a mapply function to select samples from a dataset but are there any faster ways to do it by avoiding mapply because it is slow and I have a larger dataset? My goal is to use more matrix / vector operations and less in terms of lists (the format of the output can be flexible

Re: [R] Error when calling (R 4.0.x on Windows) from Python

2021-02-02 Thread Tomas Kalibera
A reproducible example: system("\"C:\\Program Files\\R\\R-4.0.3\\bin\\R.exe\" -e commandArgs() >out")  # does not create "out" system("\"C:\\Program Files\\R\\R-3.6.3\\bin\\R.exe\" -e commandArgs() >out")  # creates "out" Note that this does not create "out", either: system("\"C:\\Program Fi

Re: [R] dependent nested for loops in R

2021-02-02 Thread Shaami
Hi Prof. David Thank you. I will always follow your advice. The suggested code worked. It gives either 1 or 0 depending on the condition to be true. I want index of z for which the condition is true (instead of 1) else zero. Could you please suggest? Thank you Shaami On Tue, Feb 2, 2021 at 10:1

Re: [R] Regarding fitted value

2021-02-02 Thread Partho Sarkar
My pleasure! *Best regards,* *Partho Sarkar* On Tue, Feb 2, 2021 at 5:55 PM Rui Barradas wrote: > Hello, > > Thanks for the links, they are very helpful. > > Rui Barradas > > Às 11:36 de 02/02/21, Partho Sarkar escreveu: > > In case further clarification is needed, this from Rob Hyndman, author

Re: [R] Regarding fitted value

2021-02-02 Thread Rui Barradas
Hello, Thanks for the links, they are very helpful. Rui Barradas Às 11:36 de 02/02/21, Partho Sarkar escreveu: In case further clarification is needed, this from Rob Hyndman, author of the Forecast package, may be helpful: "fitted produces one-step in-sample (i.e., training data) "forecasts"

Re: [R] Regarding fitted value

2021-02-02 Thread Partho Sarkar
In case further clarification is needed, this from Rob Hyndman, author of the Forecast package, may be helpful: "fitted produces one-step in-sample (i.e., training data) "forecasts". That is, it gives a forecast of observation t using observations up to time t-1 for each t in the data. ... So fitt