search for: hyunchul

Displaying 20 results from an estimated 23 matches for "hyunchul".

2010 Aug 16
5
how to test if a vector contain a value?
Hi all, How to convert following simple python script to R if x in a_list: print x OR simply, how to test if a vector contain a value? Thank you in advance, Hyunchul [[alternative HTML version deleted]]
2010 Sep 03
4
function to compare numbers
...s there a built-in function to compare two numbers? something like following function cmp <- function(x, y){ value <- 0 if (x > y){ value <- 1 }else if (x == y){ value <- 0 }else { value <- -1 } return(value) } Thanks in advance, Hyunchul [[alternative HTML version deleted]]
2010 Aug 30
2
listing files recursively
Hi, all how to get all filenames in a directory and its all subdirectories? something like filenames <- c(Sys.glob('/path/to/directory/*'), Sys.glob('/path/to/directory/*/*'), Sys.glob('/path/to/directory/*/*/*'), ...) Thanks in advance, Hyunchul [[alternative HTML version deleted]]
2010 Aug 29
2
take component names of a list
Hi, all I want to take a vector of component names of a list. list.a <- list('x'=1, 'y'=2) how to get a c('x','y') from list.a? Thanks in advance, Hyunchul [[alternative HTML version deleted]]
2008 May 01
3
elseif syntax
Hi, all How to use elseif ? For example, like following short python examples. ********* x = 1 if x == 1: print 'same' *elif* x > 1: print 'bigger' else: print 'smaller' ********* Thanks in advance, Hyunchul Kim [[alternative HTML version deleted]]
2010 Sep 19
2
get time as a number
...running, I want to print the elapsed time something like TIME_AS_SECOND() in the following script inittime <- TIME_AS_SECOND() for (i in 1:100){ do_something(i) curtime <- TIME_AS_SECOND() elapsedtime <- curtime-inittime print(paste(i, elapsedtime)) } Thanks in advance, Hyunchul [[alternative HTML version deleted]]
2008 Aug 11
2
How to specify the type and size of font in bitmap format output?
Hi, all I need to specify a font (for example, type=helvetica and size=10) in bitmap output (for example, dev.print(bitmap, 'test.png'). How can I do this? Thanks. Hyunchul [[alternative HTML version deleted]]
2010 Sep 04
1
how to free memory? (gc() doesn't work for me)
Hi, all I have a huge object that use almost all of available memory. R> rm(a_huge_object) R> gc() doesn't free memory and ?gc doesn't show anything. Are there any suggestion? Thanks in advance, Regards, Hyunchul [[alternative HTML version deleted]]
2010 Aug 29
1
how to take a os.path.basename
...- strsplit('/path/to/a_basename', '/') path.length <- length(path.splitted[[1]]) basename <- path.splitted[[1]][path.length] # basename <- 'a_basename' Is there a simple function for this? something like os.path.basename(a_filename) of python? Thanks in advance, Hyunchul [[alternative HTML version deleted]]
2008 Feb 19
4
How to join path with arguments
Hi, all How to format and join strings ? For example, like following short python examples. ********* name1 = 'sample-plot' filename = '%s.png' % name1 inputdir = '/path/to/dir' os.path.join(inputdir, filename) ********** Best, Hyunchul Kim [[alternative HTML version deleted]]
2008 Feb 19
1
How to count from larger value to smaller value in ecdf (Empirical Cumulative Distribution Function)
..." package counts from smaller values to larger values. However, I want to draw it by counting from larger value to smaller values and I couldn't find options for this purpose. How can I draw ecdf or ecdf like graph by counting from larger values to smaller values. Thank you in advance. Hyunchul Kim [[alternative HTML version deleted]]
2008 Mar 06
1
histogram like x labels in barplot
Hi, all I drew a barplot with > barplot(data1, beside=TRUE) and then, I want to labels with hist() like x-axis ticks. How can I do this? Thanks in advance, Hyunchul
2008 Feb 15
0
tests of lognormal distribution
...e 1.0GB" and I cannot increase the computer spec. 2) I don't know what is "t test" of lognormal. What I am thinking is 1) Is it OK to convert the data in log scale and do perform t test to say these dataset has same mean? How can I solve my problem? Thank you for any comments. Hyunchul [[alternative HTML version deleted]]
2008 Dec 10
0
how to set font size in 'pt'
...I tried dev2bitmap(... , pointsize= ) and pdf(... , pointsize= ) but I couldn't do what I want. I heard that many people use R to plot publication quality figures and tried. How did you write given font size in "pt" (for example, font-size 10pt in arial font) Thank you in advance. Hyunchul Kim [[alternative HTML version deleted]]
2013 Mar 18
0
[linux-linus test] 17325: regressions - trouble: broken/fail/pass
...Wang <jason77.wang@gmail.com> Huisung Kang <hs1218.kang@samsung.com> Hunt Xu <mhuntxu@gmail.com> Hyeoncheol Lee <hyc.lee@gmail.com> Hyeonjun Lim <hjoon0510@gmail.com> Hyeonsu Kim <hyeonsu.kim@samsung.com> Hynwoong Kim <khw0178.kim@samsung.com> Hyunchul Lee <hyc.lee@gmail.com> Hyungwoo Yang <hyungwooy@nvidia.com> Iain Paton <ipaton0@gmail.com> Ian Abbott <abbotti@mev.co.uk> Ian Campbell <ian.campbell@citrix.com> Ian Campbell <ijc@hellion.org.uk> Ian Chen <ian.cy.chen@samsung.com> Ian Coolidge...
2013 Mar 29
0
[linux-linus test] 17454: regressions - FAIL
...Wang <jason77.wang@gmail.com> Huisung Kang <hs1218.kang@samsung.com> Hunt Xu <mhuntxu@gmail.com> Hyeoncheol Lee <hyc.lee@gmail.com> Hyeonjun Lim <hjoon0510@gmail.com> Hyeonsu Kim <hyeonsu.kim@samsung.com> Hynwoong Kim <khw0178.kim@samsung.com> Hyunchul Lee <hyc.lee@gmail.com> Hyungwoo Yang <hyungwooy@nvidia.com> Iain Paton <ipaton0@gmail.com> Ian Abbott <abbotti@mev.co.uk> Ian Campbell <ian.campbell@citrix.com> Ian Campbell <ijc@hellion.org.uk> Ian Chen <ian.cy.chen@samsung.com> Ian Coolidge...
2013 Apr 10
0
[linux-linus test] 17612: regressions - FAIL
...Wang <jason77.wang@gmail.com> Huisung Kang <hs1218.kang@samsung.com> Hunt Xu <mhuntxu@gmail.com> Hyeoncheol Lee <hyc.lee@gmail.com> Hyeonjun Lim <hjoon0510@gmail.com> Hyeonsu Kim <hyeonsu.kim@samsung.com> Hynwoong Kim <khw0178.kim@samsung.com> Hyunchul Lee <hyc.lee@gmail.com> Hyungwoo Yang <hyungwooy@nvidia.com> Iain Paton <ipaton0@gmail.com> Ian Abbott <abbotti@mev.co.uk> Ian Campbell <ian.campbell@citrix.com> Ian Campbell <ijc@hellion.org.uk> Ian Chen <ian.cy.chen@samsung.com> Ian Coolidge...
2013 May 05
0
[linux-linus test] 17901: regressions - FAIL
...om> Huzefa Kankroliwala <huzefa.nomanx.kankroliwala@intel.com> Hyeoncheol Lee <hyc.lee@gmail.com> Hyeonjun Lim <hjoon0510@gmail.com> Hyeonsu Kim <hyeonsu.kim@samsung.com> Hynwoong Kim <khw0178.kim@samsung.com> Hyok S. Choi <hyok.choi@samsung.com> Hyunchul Lee <hyc.lee@gmail.com> Hyungwoo Yang <hyungwooy@nvidia.com> Iain Paton <ipaton0@gmail.com> Ian Abbott <abbotti@mev.co.uk> Ian Campbell <ian.campbell@citrix.com> Ian Campbell <ijc@hellion.org.uk> Ian Chen <ian.cy.chen@samsung.com> Ian Coolidge...
2013 May 07
0
[linux-linus test] 17916: regressions - FAIL
...om> Huzefa Kankroliwala <huzefa.nomanx.kankroliwala@intel.com> Hyeoncheol Lee <hyc.lee@gmail.com> Hyeonjun Lim <hjoon0510@gmail.com> Hyeonsu Kim <hyeonsu.kim@samsung.com> Hynwoong Kim <khw0178.kim@samsung.com> Hyok S. Choi <hyok.choi@samsung.com> Hyunchul Lee <hyc.lee@gmail.com> Hyungwoo Yang <hyungwooy@nvidia.com> Iain Paton <ipaton0@gmail.com> Ian Abbott <abbotti@mev.co.uk> Ian Campbell <ian.campbell@citrix.com> Ian Campbell <ijc@hellion.org.uk> Ian Chen <ian.cy.chen@samsung.com> Ian Coolidge...
2013 Jun 16
0
[linux-linus test] 18150: regressions - FAIL
...om> Huzefa Kankroliwala <huzefa.nomanx.kankroliwala@intel.com> Hyeoncheol Lee <hyc.lee@gmail.com> Hyeonjun Lim <hjoon0510@gmail.com> Hyeonsu Kim <hyeonsu.kim@samsung.com> Hynwoong Kim <khw0178.kim@samsung.com> Hyok S. Choi <hyok.choi@samsung.com> Hyunchul Lee <hyc.lee@gmail.com> Hyungwoo Yang <hyungwooy@nvidia.com> Iain Paton <ipaton0@gmail.com> Ian Abbott <abbotti@mev.co.uk> Ian Campbell <ian.campbell@citrix.com> Ian Campbell <ijc@hellion.org.uk> Ian Chen <ian.cy.chen@samsung.com> Ian Coolidge...