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.

117 results for “from:Naresh Gurbuxani”

autocorrelation function plot in lattice
Naresh Gurbuxani · Aug 20, 2016 · r-help

Using lattice package, is it possible to plot autocorrelation functions similar to acf in stats? Thanks, Naresh [[alternative HTML version deleted]]

data.table installation on intel macOS Ventura 13.6
Naresh Gurbuxani · Sep 24, 2023 · r-help

My data.table installation uses single thread only. Instruction on this site do not apply to Ventura 13.6 https://github.com/Rdatatable/data.table/wiki/Installation Has anyone got data.table working with multi-thread? Thanks, Naresh

Installing littler package on MacOS
Naresh Gurbuxani · Mar 20, 2019 · r-sig-mac

When installing littler using install.packages('littler'), I got below message: * new binary r installed in bin/ subdirectory * consider adding a symbolic link from, e.g., /usr/local/bin * on OS X, you may have to name this 'lr' instead...

Matching when each subject has multiple records
Naresh Gurbuxani · Sep 18, 2025 · r-help

? > mydf <- data.frame(date = as.Date("2010-01-01") + sample(500, size = 20), subject = sample(c("A", "B", "C"), 20, replace = TRUE), first = FALSE) > mydf <- mydf[order(mydf$date),] > df_split <- split(mydf, f = mydf$subject) > df_split <- lapply(df...

Installing littler package on MacOS
Naresh Gurbuxani · Mar 20, 2019 · r-help

I just installed littler package on my Mac. I got the message * new binary r installed in bin/ subdirectory * consider adding a symbolic link from, e.g., /usr/local/bin * on OS X, you may have to name this 'lr...

plot and keep R session as active window
Naresh Gurbuxani · Mar 23, 2022 · r-help

When I plot a graph plot(norm(10)) R plots the graph and makes the graph window the active window. It is straightforward to type Cmd-TAB and go back to R session. Is it possible to change default settings...

R CMD check says no visible binding for global variable
Naresh Gurbuxani · Jan 27, 2025 · r-help

I have written a function which returns an SQL query result as a data.frame. Each column of data.frame is a variable not explicitly defined. For every column name, R CMD check says ?no visible binding for global variable...

Plot R graphs in aws
Naresh Gurbuxani · Apr 20, 2023 · r-help

In my Amazon Web Services (AWS) account, I use R via emacs launched from terminal. While R computations work well, viewing graphs is inconvenient. I am not able to use screen device. I can send graphs to a png or...

suppress labels in lattice barchart
Naresh Gurbuxani · Oct 15, 2016 · r-help

I would like to print a barchart without labels for categorical variables. ?What change should be made to below command? Thanks, Naresh boy.age <- data.frame(name = c("alpha", "beta", "charlie", "gerald"), age = c(7, 9, 6, 5)) boy.age...

Info files in Windows and Mac distributions
Naresh Gurbuxani · Jan 22, 2023 · r-help

Recently I installed Linux on my desktop. I discovered that R for Linux ships with info files of manuals. R for Windows and Mac only ship with html and pdf files of manuals. Why not include info files in R...

where is .emacs file?
Naresh Gurbuxani · Mar 1, 2017 · r-help

I am trying to install ESS so that it can be used when EMACS is launched from Mac Terminal. ?After running "make" from the directory where ESS files are saved, the instructions ask the following to be added to .emacs...

print only a few lines of an object
Naresh Gurbuxani · Mar 23, 2022 · r-help

In an R session, when I type the name of an object, R prints the entire object (for example, a 20000 x 5 data.frame). Is it possible to change the default behavior so that only the first five and...

expression input to a function
Naresh Gurbuxani · May 4, 2016 · r-help

I am trying to write a function, which can be made very general if one of the inputs can be an expression. ?How can this be done? For example, to find root of a function, I would like to say...

expression in lattice panel strip
Naresh Gurbuxani · Mar 2, 2025 · r-help

Is it possible to include expression in lattice panel strip? Thanks, Naresh cs <- 2 * cos(2 * pi * (1:500) / 50 + 0.6 * pi) w <- rnorm(500) xyplot(ts(cbind(x1 = cs, x2 = cs + w)), screens = list(x1 = expression(2 * cos...

Jump between figures in multifigure environment
Naresh Gurbuxani · Nov 12, 2025 · r-help

After drawing multiple figures, I want to select an earlier figure to add some low level commands. Using mfg parameter runs all commands in the most recent figure only. How can an earlier figure be selected? Thanks, Naresh par(mfrow...

Project in emacs + ess
Naresh Gurbuxani · Oct 18, 2018 · r-help

I have switched from RStudio to emacs. In emacs, how can I create a project like in RStudio? Within the project directory, I would like to create different directories for code, data, results, figures, documents, etc. In RStudio project, relative...

A simple lattice histogram
Naresh Gurbuxani · Apr 20, 2022 · r-help

I am struggling with a simple histogram where scales of x-axis should be free. ?Each panel should only show the range relevant for data plotted in that panel. ? library(lattice) library(AER) data(CreditCard) histogram( ~ card + reports, data = CreditCard...

better loop for simulation
Naresh Gurbuxani · Jun 18, 2016 · r-help

I want to calculate a function many times over. My solution below works, but does not seem very elegant. # my function to run many times over stud.score <- function(n.questions, mult.choice = 2) { prob.success <- 1 / mult.choice answers...

implicit loop for nested list
Naresh Gurbuxani · Jan 26, 2023 · r-help

> > I am looking for a more elegant way to write below code. > > #Simulation results have different dimensions > mysim <- lapply(1:10, function(y) { > two.mat <- matrix(rnorm(4), nrow = 2) > four.mat <- matrix(rnorm(16), nrow = 4) > list(two.mat...

data.table installation on intel macOS Ventura 13.6
Naresh Gurbuxani · Sep 26, 2023 · r-help

> Sys.info() sysname "Darwin" release "22.6.0" version "Darwin Kernel Version 22.6.0: Fri Sep 15 13:39:52 PDT 2023; root:xnu-8796.141.3.700.8~1/RELEASE_X86_64" nodename [deleted] machine "x86_64" login...

Can't find what you're looking for? Try searching with Google .