Re: [R] Bug? Index output of C functions R_qsort_I and R_qsort_int_I is not modified

2021-04-16 Thread Evangelos Evangelou via R-help
Thanks for your input Bill. I also realised that the second argument must be initialised to 1:n, which is not mentioned in the documentation. So, if I define void mysort2i (int *x, int *i, int *n) { R_qsort_int_I(x,i,1,*n); } Then > .C("mysort2i",4:1,integer(4),4L) [[1]] [1] 1 2 3 4 [[2]]

[R] [Rd] R 4.1.0 scheduled for May 18

2021-04-16 Thread Peter Dalgaard via R-help
Full schedule is available on developer.r-project.org. -- Peter Dalgaard, Professor, Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark Phone: (+45)38153501 Office: A 4.23 Email: pd@cbs.dk Priv: pda...@gmail.com

[R] New French translations fro foreign and nlme

2021-04-16 Thread SciViews
Dear packages maintainer, Here are new and much improved French translation files for foreign and nlme recommended package. Best, Philippe Grosjean ..<°}))>< ) ) ) ) ) ( ( ( ( (Prof. Philippe Grosjean ) ) ) ) ) ( ( ( ( (Numerical

[R] Matrix::solve() with 1-d arrays

2021-04-16 Thread Deepayan Sarkar
I get what I initially thought was unexpected behaviour from: x <- tapply(runif(100), sample(5, 100, TRUE), mean) solve(Diagonal(5), x) # Error: not-yet-implemented method for solve(, ). # ->> Ask the package authors to implement the missing feature. This is because x is a 1-D array, so the