similar to: Help with sub functions

Displaying 20 results from an estimated 4000 matches similar to: "Help with sub functions"

2009 Oct 02
2
how to fill out the empty spots when using rbind or cbind?
I have uneven vectors I want to use cbind or rbind to combine them into a matrix. Is there a way to make it so that R would not return error msg saying they're uneven? Thanks. Edward Chen Email: tkedch@msn.com Cell Phone: 510-371-4717 [[alternative HTML version deleted]]
2007 Jun 05
7
Chinese, Japanese, Korean Tokenizer.
Hi, I am looking for Chinese Japanese and Korean tokenizer that could can be use to tokenize terms for CJK languages. I am not very familiar with these languages however I think that these languages contains one or more words in one symbol which it make more difficult to tokenize into searchable terms. Lucene has CJK Tokenizer ... and I am looking around if there is some open source that we
2009 Sep 11
2
help with for loop
example code: P = function(whichday,columns){ y = which(pvalue[,whichday]<Pvaluetest, arr.ind=TRUE) dayarb = raw_urine[y,day1_ind] daystand = raw_urine[y,columns] meandayxx = geometricmeanRow(dayarb) meandayyy = geometricmeanRow(daystand) diff = meandayyy - meandayxx for(i in 1:nrow(diff)){ if(diff[i]>0){ #diffbig = meandayxx<meandayyy x_index[i] = which(diff[i]>0) x[i] =
2009 Oct 06
2
Help file doesn't display correctly
Dear R Developer, It seems to be a problem with help file. Not sure if it is related to the new format of Rd parser. Multiple lines are joined together without proper line break. > ?mean There were 14 warnings (use warnings() to see them) ## All lines are joined together and not easy to read. > warnings() Warning messages: 1: In grepl("^[[:blank:]]*$", buffer[length(buffer)]) :
2010 Jun 29
5
More than two font in a plot
Hi there, I am a Chinese R user. I hope to display Chinese character in a plot, and than save it in PostScript format. I have read the article titled "Non-Standard Fonts in PostScript and PDF Graphics", especially the section about CJK fonts. I also tried the code: > pdf("chinese.pdf", width=3, height=1) > grid.text("\u4F60\u597D", y=2/3,
2011 Apr 21
2
Chinese segmentation
hello, I have finished reading the papers, and i think it is time to design my project. First step will be determine the input characters are Chinese. i see the past post that cjk-tokenizer is just dealing with UTF-8 and unicode, but i see some other code system such as gbk and big5. i am wondering that should i just deal with UTF-8 and unicode?
2003 May 21
6
fixme:font:LFD_InitFontInfo DBCS fonts like...
I get these errors when running winex on paltalk.exe, what can I do? Building font metrics. This may take some time... fixme:font:LFD_InitFontInfo DBCS fonts like '-default-kai-medium-r-normal--8-80-72-72-c-80-big5-0' are not working correctly now. fixme:font:LFD_InitFontInfo DBCS fonts like '-default-kai-medium-r-normal--8-80-72-72-c-80-gb2312.1980-0' are not working correctly
2019 Mar 07
3
Ask for advice on exact requirements to fix #699 mixed CJK numbers
I am working on "#699 Better tokenisation of mixed CJK numbers", and have implemented a partial patch of Chinese for this ticket. Current code works well with special test cases and all tests in xapian-core could still pass. But I'm confused with exact requirements of the question, for how much we could pay with performance on enabling more cases, and if there are better methods to
2003 May 22
4
grep, gsub, sub have problems with NA values (PR#3078)
In a string context, grep, gsub, sub are improperly treating NA (missing) as the string "NA", and returning unexpected results > grep("A", c(NA,"NA")) [1] 1 2 # expected: # [1] 2 > gsub("A", "X", c(NA,"NA")) [1] "NX" "NX" # expected # [1] NA "NX" > sub("A", "X",
2011 Apr 07
1
GSOC 2011- CJK Support
Hello, erver one, I am Yongzhi Zhang, a chinese student. I'm interested in CJK Support(also known as Chinese, Japanese, and Korean Support), I have 6 years experience in software development (c/C++ and java) . I want to work on this project "CJK Support", I come from Beijing of china. Chinese is my native language. This is my advantage for ?CJK Support? . I have fixed a bug for
2011 Oct 26
1
set different font family for strings in mtext or text?
Hi there, Is it possible to set different font family for strings in mtext or text? For example, on windows platform with windows() device: plot(1:10, type = "n") text(5,5, "Chinese (English)") #Chinese for Chinese characters it will give the correct Chinese and English characters with two different font family, i.e., English character in default sans family, and Chinese
2019 Mar 09
2
Ask for advice on exact requirements to fix #699 mixed CJK numbers
Thanks for your patience. I'm still confused of what I should do next. If it's not worth changing anything here as it's a rare case, sorry for my PR to github before the reply, maybe you need to close it on github. For another case, should I optimize current code with replacing set to a static array? Or rollback current modification to cjk-tokenizer and try to do some work with the
2001 Oct 19
3
Type1 Fonts
I've narrowed the my Cups printing problem down to Wine not loading my Type 1 fonts. I have several Type 1 fonts installed in 3 places, all of which are in my fontpath ("xset q" lists them). I can use the Type 1 fonts in X and with KDE-2.2.1 even as AntiAliased, however, when I try to print from an app under wine I get a memory error and a message at the command line stating
2006 Aug 21
4
indexing multiple languages with acts_as_ferret
I have an applicaiton where I''m indexing content in a number of languages, all encoded in UTF8. I would think that having my locale set to en_US.utf8 would be sufficient to make this work in ferret/acts_as_ferret, but I keep running into problems, even with english text. What have others done to cope with these encoding difficulties? -ryan
2002 Jul 08
1
addenda to wordperfect
I did find a say to get to the directory holding wpwin9 and it strarted but then froze with the splash screen. Not sure how to get the error message in here; seems to have to do with the keyboard and X11driver; hope I am abusing this bulletin board, but I am hoping someone can help me with the next step. Thanks
2019 Jan 02
2
Broken wiki
Hi all, I've made a minor change (changed one CJK character) on https://wiki.centos.org/zh-tw/SpecialInterestGroup and https://wiki.centos.org/zh/SpecialInterestGroup , and now the whole CentOS wiki is broken.? Can someone undo the changes to fix the wiki? I've maintained the wiki's Chinese translation for 7 years, and this is not the first time the same thing has happened to
2002 Feb 21
2
SlowView Windows clipart viewer
I have tried to run this unsuccessfully, the error log being as follows: Building font metrics. This may take some time... fixme:font:LFD_InitFontInfo DBCS fonts like '-daewoo-gothic-medium-r-normal--16-120-100-100-c-160-ksc5601.1987-0' are not working correctly now. fixme:font:LFD_InitFontInfo DBCS fonts like '-daewoo-mincho-medium-r-normal--16-120-100-100-c-160-ksc5601.1987-0'
2013 Mar 13
2
patch - Some CJK codepoints are also punctuation
-- Greg. -------------- next part -------------- A non-text attachment was scrubbed... Name: xapian-some-cjk-codepoints-are-also-punctuation.patch Type: text/x-patch Size: 1499 bytes Desc: not available URL: <http://lists.xapian.org/pipermail/xapian-devel/attachments/20130313/4da8b0f9/attachment.bin>
2001 Sep 18
1
help me
Hi! my wine installation was running quite well, until, unexpected, toady i am getting thie error if i try to run any windows program: bash-2.05# /usr/local/wine/bin/wine /win98/win98/sol.exe -winver win95 Building font metrics. This may take some time... fixme:font:LFD_InitFontInfo DBCS fonts like '-daewoo-gothic-medium-r-normal--16-120-100-100-c-160-ksc5601.1987-0' are not working
2006 Jul 07
4
How to add Asia token analyzer to ferret simply?
Hi,David Can you give me an example of how to add analyzer to ferret to Asian languages? My web application will have to support multi language search,which means,for example,both Chinese and English will be searched through the form. Currently,I have decided to use the simple token principles,which means that every Chinese character will be a token,although this is not so well in some