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.

313 results for “from:Charlie Sharpsteen”

How to make Mac 64-bit version feature complete?
Charlie Sharpsteen · Dec 10, 2011 · r-sig-mac

Another important thing to note is that the multi-lib approach works well on other platforms like Windows and Linux where "universal binaries" do not exist. Using the same approach on OS X makes for one less special case to...

how to profile R interpreter?
Charlie Sharpsteen · May 16, 2010 · r-help

Erich Neuwirth wrote: > > Look for Rprof in the utils package. > This was already suggested- but the original poster clarified that he is looking to profile the R interpreter it's self, not R scripts. ----- Charlie Sharpsteen Undergraduate-- Environmental Resources Engineering...

Speed of accessing list element by index or name
Charlie Sharpsteen · Dec 3, 2009 · r-help

pengyu.ut wrote: > > I'm wondering if the speed of accessing list element by index is the > same as that of accessing list element by name. > > l[[1]] > l[['name']] > Have you tried answering this question yourself using the system...

Adressing multiple cores (CPUs)
Charlie Sharpsteen · Feb 15, 2010 · r-help

Benilton Carvalho-2 wrote: > > http://cran.r-project.org/web/views/HighPerformanceComputing.html > Also, of the links at the bottom of that page, I found the journal article: "State of the Art in Parallel Computing with R" To be a...

Printing 2 digits after decimal point [SOLVED]
Charlie Sharpsteen · Feb 15, 2010 · r-help

T.Wunder wrote: > > Hi, > > I'm sorry, I've found the right answer: >> x <- 0 >> formatC(x,digits=2, format="f") > [1] "0.00" > > The above worked perfectly! > Thanks & Best wishes ;) > Tom > That old warhorse, sprintf(), can also be a...

SSH Through R Script
Charlie Sharpsteen · Apr 12, 2010 · r-help

Sorry about the double post, but this line: Sharpie wrote: > > ssh user at webserver.com -e "cd ~/.ssh;cat webKey.pub >> authorized_keys" > Should be: ssh user at webserver.com "cd ~/.ssh;cat webKey.pub >> authorized_keys" I.e., omit...

Naming conventions for R?
Charlie Sharpsteen · Dec 3, 2009 · r-help

pengyu.ut wrote: > > There are documents for naming conventions for other languages. I'm > wondering if there is a document that clearly describes the > recommended naming convention for R. > You should browse this thread: http://n4.nabble.com/Google-s...

Creating loops with strings
Charlie Sharpsteen · Sep 23, 2009 · r-help

cls59 wrote: > > > data.file <- paste( set.name, sep='' ) > > assign( set.name, read.dta( file.name ), envir = .GlobalEnv ) > > Opps, those lines should have been: data.file <- paste( set.name, '.dta', sep='' ) assign( set.name, read.dta( data.file ), envir = .GlobalEnv ) Sorry...

Executable expressions
Charlie Sharpsteen · Jan 18, 2012 · r-help

On Wed, Jan 18, 2012 at 1:18 PM, Ajay Askoolum <aa2e72e at yahoo.co.uk> wrote: > > Given > > a<-"c(1,2,3,4,5)" > > How can? I evaluate the variable a to return a (numeric) vector comprising of 1...

netlabR package in English
Charlie Sharpsteen · Mar 25, 2010 · r-help

Keith McMillan wrote: > > Dear R users, > > > > Is documentation for the netlabR package available in English? > > > > If not does anyone know if or when it will be? > > > > Regards, > > > > Keith > I don't see a package named netlab or netlabR on CRAN...

space in column name
Charlie Sharpsteen · Jul 19, 2009 · r-help

cls59 wrote: > > The following might work: alltime[grep("MIDDLE EAR EXPLORE",alltime[[ "CPT Desc ]] ] -Charlie ACK! Terribly sorry about the double post- but I forgot to close the quote. It should be: alltime[grep("MIDDLE EAR EXPLORE",alltime[[ "CPT Desc...

How to get the source code for the assignment of a variable?
Charlie Sharpsteen · Feb 11, 2010 · r-help

Sharpie wrote: > >> model$call > lm(formula = demand ~ Time, data = BOD) > > This object could be passed to the eval() function to basically re-run the > operation that generated `lm`. > That would be re-run the operation that generated `model`. I think...

How to profile an R program?
Charlie Sharpsteen · Dec 10, 2009 · r-help

Peng Yu wrote: > > Is there a way to profile an R program similar to valgrind > (valgrind.org), in the sense that I can easily see which function is > the bottleneck of an R program? > See writing R-Extensions, Section 3...

Creating a vector of categories
Charlie Sharpsteen · Mar 26, 2010 · r-help

Sharpie wrote: > > testData$bin <- cut( testData$count, binBreaks, include.lowest = TRUE ) > I also made a slight mistake, you will want to replace inclde.lowest = TRUE with right = FALSE to the call to cut() to preserve the greater-than-or-equal...

Fast string comparison
Charlie Sharpsteen · Jul 11, 2010 · r-help

Ralf B wrote: > > What is the fastest way to compare two strings in R? > > Ralf > Which way is not fast enough? In other words, are you asking this question because profiling showed one of R's string comparison operations is...

Command completion of the R binary / Ubuntu
Charlie Sharpsteen · Jan 11, 2012 · r-devel

Deepayan Sarkar-3 wrote > > I believe only Debian/Ubuntu package it (and this would have been more > appropriate for r-sig-debian). I'll coordinate with Dirk et al to > update the relevant files. > > -Deepayan > The bash completion script is...

How to export a function from a package and access it only by specifying the namespace?
Charlie Sharpsteen · Dec 2, 2009 · r-help

Peng Yu wrote: > > Is there a way to list all the functions in a namespace? I tried the > following one, but it is not working. > >> showMethods(where=getNamespace('try.package')) > No applicable functions > See: http://n4.nabble.com/Check-functions...

Whats happening to the forum???
Charlie Sharpsteen · Nov 28, 2009 · r-help

DispersionMap wrote: > > Whats happening? everthings changing round here...plus alot less > posts/users.. > R-Help is a mailing list which is independent of Nabble. Nabble is only one of many front-ends that provides a "forum-like" interface to the...

Why .Diag and .asSparse are not accessible in R sessions?
Charlie Sharpsteen · Nov 29, 2009 · r-help

Peng Yu wrote: > > How to control what functions/classes are exported to a given namespace? > Namespace exports are set by package authors in the NAMESPACE file of an R package. You could alter the NAMESPACE and rebuild the package yourself...

Modify base R functions in Rprofile.site
Charlie Sharpsteen · Oct 4, 2009 · r-help

Duncan Murdoch-2 wrote: > > > Why not just modify their source, and rebuild R? > > Duncan Murdoch > > In my case, the IT guys don't always provide the necessary tools and/or permissions to do this. Which is why we are fortunate...

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