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.

180 results for “from:Hao”

extracting the last row of each group in a data frame
Hao Cen · Nov 16, 2009 · r-help

Thanks to all who helped. These are all great suggestions. Jeff -----Original Message----- From: Gabor Grothendieck [mailto:ggrothendieck at gmail.com] Sent: Monday, November 16, 2009 6:27 PM To: Hao Cen Cc: r-help at r-project.org Subject...

checking for "viability" of a GUI component
Hao Liu · May 30, 2007 · r-help

Dear All: The question: How do I check for existance of the GUI, instead of checking the variable of the GUI? I created a log window for several applications, they will check for the existance of log window, if it...

[Rcpp-devel] Call by reference
Hao Ye · Jul 29, 2015 · rcpp-devel

The data.table package might also be worth looking into. Best, -- Hao Ye hye at ucsd.edu > On Jul 29, 2015, at 10:37 AM, Dirk Eddelbuettel <edd at debian.org> wrote: > > > On 29 July 2015 at 17:28, Rguy...

sort a data frame by a vector
Hao Cen · Dec 2, 2009 · r-help

Thanks to all who replied. Issue solved Jeff On Wed, December 2, 2009 12:52 am, Don MacQueen wrote: > This looks like a job for match(). > > >> vec = c("C", "A", "B") >> >> dataDF = data.frame(A1 = c("B", "A", "C"), A2...

how to link C code with gsl from R CMD and dyn.load
Hao Cen · Nov 19, 2009 · r-help

Hi, I am writing a function in C that is meant to be called by R. In the C function, I used a gsl function gsl_stats_mean. The code is as simple as below void gsl(double *m, int...

[Bioc-devel] error in bioconductor package DSS
Wu, Hao · Sep 30, 2022 · bioc-devel

Hello, I recently received an email regarding an error for DSS: https://bioconductor.org/checkResults/3.15/bioc-LATEST/DSS/palomino3-buildsrc.html. The error is about the parallel computing in Windows. However, I have corrected this error a while...

[Rcpp-devel] rsession memory consumption blows up
Hao Ye · Jun 23, 2015 · rcpp-devel

I?m not that familiar with R?s garbage collection, but maybe you can call something manually to free up memory? > rewrite your program to work more incrementally and releasing memory as needed. Or the simple alternative solution is to...

dividing a matrix by positive sum or negative sum depending on the sign
Hao Cen · Nov 11, 2009 · r-help

Hi, I have a matrix with positive numbers, negative numbers, and NAs. An example of the matrix is as follows -1 -1 2 NA 3 3 -2 -1 1 1 NA -2 I need to compute a scaled version of...

r-help search
hao chen · Sep 27, 2002 · r-help

The way I do it is to use google. Type in google search box: search terms site:www.r-project.org In fact, you can use this for any site. Hao On Fri, 2002-09-27 at 13:40, Pierre...

equivalent to source() inside a package
Wei Hao · May 25, 2012 · r-devel

Hi all: I'm working on a project that I have packaged for ease of distribution. The different simulations in the package share code, so obviously I have those parts organized as functions. Now, I want to show people my...

Problem with the Rmpi package
Hao Yu · Dec 2, 2008 · r-sig-hpc

It is related to MPI_INITIALIZE and MPI_FINALIZE. Either one can only be called once. Hence once detach() is used, R is no longer to be a MPI aware process and cannot be a MPI process again. Hao Blanchette...

a question of conducting contrast in lme4 (not pairwise contrast)
Gu Hao · Sep 2, 2016 · r-sig-mixed-models

Hello, I am trying to do some contrasts using a mixed model, but don?t know how to use it in lme4. I've done the multiple contrast, but I believe the power of this method is lower than ideal...

Automatic creation of file names
Hao Chen · Sep 22, 2005 · r-help

On Thu, Sep 22, 2005 at 10:21:06AM -0400, Leite,Walter wrote: > > Dear R-Help members, > > > I have a question about how to save to the hard drive the one thousand > datasets I generated in a simulation. The datasets...

Problems Installing Rmpi
Hao Yu · May 14, 2009 · r-sig-hpc

Rick, I noticed you were using mpicc. If mpicc is from /usr/lib64/openmpi/1.2.7-gcc, then it knows where to find mpi.h and other header files. Maybe mpicc is not setting properly and it appends mpi...

how can I use R functions in Fortran 90
Guo-Hao Huang · Dec 28, 2009 · r-help

You can read the manual below. good luck! http://www.biometrics.mtu.edu/CRAN/doc/manuals/R-exts.html#The-R-API For example, suppose we want to call R's normal random numbers from FORTRAN. We need a C...

[Rcpp-devel] best way of documenting Rcpp Modules
Hao Ye · Aug 15, 2017 · rcpp-devel

Hi Luis, I recall having this problem, and I, too, had solved it by creating .Rd files for the c++ class objects. I don't have this error anymore, and I believe the main difference is that I am curating...

R GUI programming
Hao Liu · Feb 16, 2007 · r-help

Hi, All: I am having a problem with handling global variable value in GUI programming, I hope R gurus can give me some advice on it. What I want to do is to read in a dataset, display some information...

[R-pkg-devel] FW: [CRAN-pretest-archived] CRAN submission bwt 1.1.0
khoong Wei Hao · May 30, 2018 · r-package-devel

Hi Everyone, I encountered an issue during my submission of my package (see original message below). I ran checks and tests with testthat::test_dir("tests/") and devtoos::check(), and all seemed fine except some issues with undocumented objects which...

barplot: different colors for the bar and the strips
Hao Chen · Sep 7, 2006 · r-help

Hello Marc Schwartz On Thu, Sep 07, 2006 at 07:54:05AM -0500, Marc Schwartz wrote: > On Thu, 2006-09-07 at 06:18 -0500, Hao Chen wrote: > > Hi, > > > > I am using barplot and would like to know if it...

Rmpi matrix manipulation
Hao Yu · Apr 19, 2010 · r-sig-hpc

The first argument of mpi.parLapply is x which is mixed with your x. Change your x to a different one and your codes should work. Hao Xiaochun Sun wrote: > Hi, > > I am using Rmpi and met a problem about...

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