Skip to content

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.

148 results for “from:Andrew Simmons”

[R-pkg-devel] Complex Math Functions in C
Andrew Simmons · Feb 26, 2021 · r-package-devel

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...

Testing for R CMD INSTALL
Andrew Simmons · Jul 24, 2021 · r-help

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...

[R-pkg-devel] if statements in NAMESPACE file
Andrew Simmons · Sep 29, 2021 · r-package-devel

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...

Returning .Call / / .External results invisibly
Andrew Simmons · Aug 15, 2021 · r-help

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...

Read excel specific column
Andrew Simmons · Aug 23, 2022 · r-help

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...

Obtaining the source code
Andrew Simmons · Jun 19, 2022 · r-help

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...

Help in R
Andrew Simmons · Jul 7, 2021 · r-help

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...

[R-pkg-devel] Workaround for code/documentation mismatch
Andrew Simmons · Aug 10, 2021 · r-package-devel

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...

inconsistency in switch statements.....
Andrew Simmons · Sep 7, 2022 · r-help

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...

print and lapply....
Andrew Simmons · Nov 7, 2022 · r-help

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...

generate random numeric
Andrew Simmons · Oct 28, 2021 · r-help

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...

this.path-package: get executing script's path
Andrew Simmons · Jan 25, 2022 · r-packages

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...

this.path-package: get executing script's path
Andrew Simmons · Feb 17, 2022 · r-packages

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...

Returning Visibly / / Invisibly from C Function
Andrew Simmons · Sep 16, 2022 · r-help

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...

Request concerning use in book
Andrew Simmons · Jul 26, 2022 · r-help

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...

[R-pkg-devel] Workaround for code/documentation mismatch
Andrew Simmons · Aug 11, 2021 · r-package-devel

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...

error in exists.....
Andrew Simmons · Dec 27, 2022 · r-help

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...

this.path-package: get executing script's path
Andrew Simmons · Feb 17, 2022 · r-help

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...

this.path-package: get executing script's path
Andrew Simmons · Jan 25, 2022 · r-help

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...

[R-pkg-devel] Changing R Package Maintainer
Andrew Simmons · Apr 7, 2023 · r-package-devel

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 .