Displaying 20 results from an estimated 10000 matches similar to: "output selectively change the font"
2011 Feb 01
3
R string help
Dear R guru:
If I got a variable
aaa<- "up.6.11(16)"
how can I extract 16 out of the bracket?
I could use substr, e.g.
substr(aaa, start=1, stop=2)
[1] "up"
But it needs start and stop, what if my start or stop is not fixed, I
just want the number inside the bracket, how can I achieve this?
Many thanks
yan
2011 Feb 24
2
debugging
Dear R user
How to make the program stop at the spot where the error occurs? I mean
inside the iterations,.
Many thanks
yan
**********************************************************************
This email and any files transmitted with it are confide...{{dropped:10}}
2011 Feb 10
1
extracting characters from string
Dear R gurus,
If I got a vector with string characters like "abcd_efgh_12ab3_dfsfd",
how could I extract "12ab3", which is the characters after second
underscore and before the third underscore?
Tons of thanks
yan
**********************************************************************
This email and any files transmitted with it are confide...{{dropped:10}}
2011 Feb 14
1
Bron-Kerbosch algorithm
Dear R users
I need to solve the finding all cliques in a graph problem, is there a R
package implementing Bron-Kerbosch algorithm?
Many thanks
YAn
**********************************************************************
This email and any files transmitted with it are confide...{{dropped:10}}
2011 Jan 28
1
axis name editing
Dear All,
I'm generating a heatmap, is there a way to make Y axis name display
horizontally, X axis name display vertically?
I tried using "horiz=TRUE":
axis(1,at=1:dim(cor.meta.m)[1],labels=gsub("module","",pw.names),horiz=T
RUE)
but got warning message and the name is not displayed as I wish:
Warning message:
In axis(1, at = 1:dim(cor.meta.m)[1],
2011 Apr 04
3
add zero in front of numbers
Dear R users,
I need to add 0 in front of a series of numbers, e.g. 1->001, 19->019,
Is there a fast way of doing that?
Many thanks
yan
[[alternative HTML version deleted]]
2011 Apr 06
3
function order
Dear All
I'm trying to sort a matrix using function order,
Some thing really odd:
e.g.
abc<-cbind(c(1,6,2),c(2,5,3),c(3,2,1))## matrix I want to sort
if I do
abc[ order(abc[,3]), increasing = TRUE]
the result is correct
[,1] [,2] [,3]
[1,] 2 3 1
[2,] 6 5 2
[3,] 1 2 3
But if I want to sort in decresing order:
abc[ order(abc[,3]), decreasing = TRUE]
the
2011 May 17
2
submit R package
Dear all,
I'm just wondering how to submit a package to cran?
I followed the instruction, using anonymous as username and my email address as password, but it didn't connect.
Any hints?
Yan
[[alternative HTML version deleted]]
2012 Jan 24
5
function for grouping
Dear All,
I'm wondering if there is a R function could give me all the
combinations of the grouping/cluster result, given the number of the groups.
e.g.
3 objects: x1 x2 x3, number of groups is 2
so the result will be
group1:x1,x2; group2: x3
group1: x1;group2: x2,x3
group1: x1,x3;group2: x2
many thanks
yan
2011 Apr 01
2
regression line on boxplots
Dear R users,
I'm trying to add a regression line on my boxplots (something like:boxplot(c(1:3),c(4:6),c(5:8)))
But I can't see it.
Please help !!!
It's not a April fool's joke!!!
Yan
[[alternative HTML version deleted]]
2012 Jan 25
1
function restrictedparts
I am using function restrictedparts, but got error:
restrictedparts(281,10)
Error in integer(len) : vector size specified is too large
Calls: restrictedparts -> integer
In addition: Warning message:
In restrictedparts(281, 10) : NAs introduced by coercion
Error in integer(len) : vector size specified is too large
Calls: restrictedparts -> integer
is there a similar function can deal with
2012 Jul 12
1
using glmnet for the dataset with numerical and categorical
Dear R users,
if all my numerical variables in my datasets having the same units, may I
leave them unnormalized, just do cv.glmnet
directly(cv.glmnet(data,standardize=FALSE))?
i know normally if there is a mixture of numerical and categorical , one has
to standardize the numerical part before applying cv.glmnet with
standardize=fase, but that's due to the different units in the numerical
2011 Apr 01
1
mean in the boxplot
Dear R users,
How to show mean in the boxplot instead of median ?
Many thanks
Yan
[[alternative HTML version deleted]]
2006 Feb 09
4
Ruby 1.8.4 trouble
Hi!
The ruby installation on my FreeBSD-6 box have been upgraded from
1.8.2 to 1.8.4 by accident. And now all my rails have stopped working.
I can''t produce any cool debug info since I have none. running script/
server just coredumps. Running the sites through apache isn''t an
option since apache won''t start (get lots of these in my log: [Thu
Feb 09 10:38:19
2009 Jan 21
1
Italics in svg output display as bold (PR#13463)
Full_Name: Yan Wong
Version: 2.8.1
OS: Mac OS X 10.4
Submission from: (NULL) (78.149.167.246)
When printing a plot to and svg file, text intended to be in italics is rendered
in bold (svg file viewed using both Safari 3.2.1 and Firefox 2.0.0.9.
For example, try viewing the test.svg file generated by
svg("test.svg", width=4,4,8)
plot.new();
2003 Apr 16
4
good source for explaining input and output parameters of R functions
Hello,
thank you all for answering my previous Qs.. I have a new Q:
I am wondering is there good source for explaning input and output
parameters of R function?
In that aspect, I found the help documents in R is not that helpful:)
I am struggling with trying to understand what some of the returned value
means..
for example, for surf.ls() function, the help in R only describes 3
fields(the
2018 Dec 04
2
[Unsafe-fp-math] Merge attribute for inlining
Hal,
Thanks for the reply. I am trying to understand the underlying concern. That means the inlining of a callee without unsafe-fp-math attribute set will block the unsafe optimization in its caller, right?
Thanks,
Yan
From: Finkel, Hal J. [mailto:hfinkel at anl.gov]
Sent: Tuesday, December 4, 2018 11:34 AM
To: Yan Luo <yan.luo2 at synopsys.com>; llvm-dev at lists.llvm.org
Subject: Re:
2003 Apr 30
5
change voicemail.conf, how to make it work
hi:
after change voicemail.conf. instead of "restart now", is there any other way to let it take effect?
thanks.
yan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20030430/d9701dca/attachment.htm
2018 May 17
1
Creating a bootable USB to install CentOS 7
Use Rufus if you are creating from windows workstation. https://rufus.akeo.ie/
Sent from my iPhone
On May 16, 2018, at 10:23 PM, Yves Bellefeuille <yan at storm.ca<mailto:yan at storm.ca>> wrote:
<info4km at yahoo.com<mailto:info4km at yahoo.com>> wrote:
I need to copy CentOS 7 to a USB to boot from and install on
servers. I have searched and there are a lot of
2020 May 26
1
[PATCH 4/6] mm/hmm: add output flag for compound page mapping
On 8 May 2020, at 16:06, Ralph Campbell wrote:
> On 5/8/20 12:51 PM, Christoph Hellwig wrote:
>> On Fri, May 08, 2020 at 12:20:07PM -0700, Ralph Campbell wrote:
>>> hmm_range_fault() returns an array of page frame numbers and flags for
>>> how the pages are mapped in the requested process' page tables. The PFN
>>> can be used to get the struct page with