Re: [R] Looping

2024-02-19 Thread Marc Girondot via R-help
In my package HelpersMG, I have included a function to read in one time all the files of a folder and they are stored in a list: read_folder(   folder = try(file.choose(), silent = TRUE),   file = NULL,   wildcard = "*.*",   read = read.delim,   ... ) In your case, for example: library("Helper

Re: [R] Capturing Function Arguments

2024-02-19 Thread Reed A. Cartwright
Thanks Ivan and Iris for your solutions, I'll look over them. The solution that I came up with last night involves creating a function that has the same formals signature as the wrapped function and relying on `environment()` and `list(...)` to return a function's variables at the beginning of the

Re: [R] Packages sometimes don't update, but no error or warning is thrown

2024-02-19 Thread peter dalgaard
Is it possible that there is a version skew between binaries and source packages? If you try the RStudio Update option, which versions does it claim that you have installed? If it is the same versions that you download, then no wonder that the update doesn't change anything. E.g. I see that yo