Search Archives
Search tips
from:Name
Search by author name, e.g. from:Duncan Murdoch
"exact phrase"
Match an exact phrase
word1 word2
Match messages containing both words
Date range
Use the date pickers to filter results to a time period
Use the list dropdown to narrow results to a specific mailing list. Combine from: with other terms to filter by author and content.
Hello, I've been trying to translate some of my slow R code into C code, and I need the complex math functions to be able to do this. I assumed I could access them with #include <R_ext/Complex...
Hello, I was wondering if anyone has a way to test if a package is currently being installed. My solution was to check if environment variable "R_INSTALL_PKG" was unset, something like: "R CMD INSTALL-ing" <- function () !is.na...
I noticed in the Writing R Extensions manual, it says that within a NAMESPACE file, "Only very simple conditional processing of if statements is implemented.". I tried it out myself by importing a Windows exclusive function: if (.Platform$OS.type...
Hello, I have a C function in which I want to return a result visibly or invisibly (depends on the arguments provided). My current implementation was to return a list like 'withVisible' does, where element "value" is the value the...
I like package openxlsx, with the function openxlsx::read.xlsx() Another common package that people use readxl On Tue., Aug. 23, 2022, 7:51 p.m. Anas Jamshed, <anasjamshed1994 at gmail.com> wrote: > I have .xlsx files with gene names...
You can use getAnywhere On Sun, Jun 19, 2022, 13:23 Christofer Bogaso <bogaso.christofer at gmail.com> wrote: > Hi, > > I am trying to see the source code of rstandard function. I tried below, > > > methods('rstandard') > > [1] rstandard.glm* rstandard...
Hello, I can't provide too much help without knowing which packages `hotspot` and `levelplot` come from. It might be something as simple as `as.data.frame(matrixaaaaaa)` instead of `matrixaaaaaa`. On Wed, Jul 7, 2021 at 10:04 AM...
Hello, I've written two functions to emulate do while/until loops seen in other languages, but I'm having trouble documenting its usage. The function is typically used like: do ({ expr1 expr2 ... }) %while% (cond) so I want to document...
1 and 2 are not valid identifiers in R, so you need to surround them with backticks to make them valid, the same as quoting a string: switch(Stst, `1` = print("NO"), `2` = print("YES")) On Wed., Sep. 7, 2022...
put print() around x^2 On Mon, Nov 7, 2022, 12:18 akshay kulkarni <akshay_e4 at hotmail.com> wrote: > Dear members, > I have the following code and output: > > > TP <- 1:4 > > lapply(TP,function(x){print(x);x^2...
It might not be random, depending upon a seed being used (usually by set.seed or RNGkind). However, it's the best method for generating a random number within a specified range without weights. If you want weights, there are...
Hello everyone, R package 'this.path' has received an update, the current version number is 0.5.0 You can find this package at: https://CRAN.R-project.org/package=this.path Updates include: (1) added this.path::here (similar...
Hello everyone, R package 'this.path' has received an update, the current version number is 0.5.0 You can find this package at: https://CRAN.R-project.org/package=this.path Updates include: (1) added this.path::here (similar...
Hello, I'm working on a function envvars() which I'd like to get, set, and remove environment variables in a manner similar to options(). At the R level, I have this function: envvars <- function (...) .External2(C_envvars, pairlist(...)) and...
There's no fees for using R in publications, but most people will include citations for the R language and any R packages used. You can use function citation() (it might be called citations(), I'm not entirely sure) to...
Hello, @Martin Maechler: %until% and %while% use R's builtin repeat function. Something like do(expr) %until% (cond) repeat { expr if (cond) break } are identical. After %until% and %while% check the arguments look correct, it makes a call to repeat...
exists() is for bindings in an environment, not for names in a list. try "T1A1" %in% names(E$L[[i]]) instead On Tue, Dec 27, 2022, 12:36 akshay kulkarni <akshay_e4 at hotmail.com> wrote: > Dear members, > I have...
Hello everyone, R package 'this.path' has received an update, the current version number is 0.5.0 You can find this package at: https://CRAN.R-project.org/package=this.path Updates include: (1) added this.path::here (similar...
Hello everyone, R package 'this.path' has received an update, the current version number is 0.5.0 You can find this package at: https://CRAN.R-project.org/package=this.path Updates include: (1) added this.path::here (similar...
Hi, I'm changing my name and my email address. I've got an update I'd like to submit to CRAN, I've changed my name and email in my DESCRIPTION. I couldn't find any details about changing...
Can't find what you're looking for? Try searching with Google .