[R] weird install package error

2014-09-11 Thread Yuan Luo
Hi, I am getting an error installing the MASS package. Googling suggests restarting R, but it didn't help. Anyone has a clue? Many thanks, Yuan > install.packages("MASS") Installing package into ‘/PHShome/yl960/R/3.0’ (as ‘lib’ is unspecified) trying URL 'http://lib.stat.cmu.edu/R/CRAN/src/cont

[R] multi-threading

2014-09-09 Thread Yuan Luo
Hi, I am merging large data frames and it would be great if I can run merge in multi-threading/parallel mode. Can someone point me to the right way to do it? Best, Yuan [[alternative HTML version deleted]] __ R-help@r-project.org mailing list h

[R] A question on IRanges package

2014-04-03 Thread Yuan Luo
Hi All, Sorry for possible spam, but I am trying to customize IRanges package locally. For what I am doing, I introduced another option to type parameters to the findOverlaps method. In the file findOverlaps-methods.R, I modified every instance of type = c("any", "start", "end", "within", "equal"),

Re: [R] Find the package of a class given classname

2014-01-11 Thread Yuan Luo
This is exactly what I am looking for. Thanks all for your help! Best, Yuan On Sat, Jan 11, 2014 at 1:28 AM, Hervé Pagès wrote: > Hi Yuan, > > > On 01/10/2014 06:49 PM, Yuan Luo wrote: > >> How to find the package of a class given classname? >> For example, there is

[R] Find the package of a class given classname

2014-01-10 Thread Yuan Luo
How to find the package of a class given classname? For example, there is a class called GAlignments, I want to do something like attr("GAlignments", "package") that gives you the package where the class is defined? But of course, attr("GAlignments", "package") won't work... Thanks for any help! Y