search for: bibiko

Displaying 20 results from an estimated 21 matches for "bibiko".

Did you mean: bibiano
2006 Jul 06
4
engineering notation format
Hi, How can I format numbers to engineering notation? That is, like scientific but where the exponent is always a multiple of three. Some examples: 1635 000 000 => 1.635E9 163 500 000 => 163.5E6 0.000 000 000 135 => 135E-9 I've tried format and formatC but I couldn't get them to work they I want. Any help is greatly appreciated. Thanks, Sam
2009 Jan 22
4
text vector clustering
Hi, I am a new user of R using R 2.8.1 in windows 2003. I have a csv file with single column which contain the 30,000 students names. There were typo errors while entering this student names. The actual list of names is < 1000. However we dont have that list for keyword search. I am interested in grouping/cluster these names as those which are similar letter to letter. Are there any
2008 Apr 08
1
distance matrix as text file - how to import?
Dear all, I have -hopefully- a tiny problem. I was sent a text file containing a distance matrix ? la: 1 2 3 4 5 6 Now I wanted to import these data into a dist object to, let's say, do 'plot(hclust(v))'. My first na?ve approach was to scan the text file in order to get a vector v. Then I did: class(v) <- "dist" attr(v, "Size") <- 4 But, of course,
2008 Nov 02
1
Wishlist: pass args from demo() to source()
...> demo("gsubfn-si") demo(gsubfn-si) ---- ~~~~~~~~~ Type <Return> to start : > # given number possibly followed by SI letter (e.g. 32.5k where k means 1000) > # replace letter with e followed by appropriate digits. > # (see formatEng2R by Hans-Joerg Bibiko in the R Wiki) > > conv <- list(y = "e-24", z = "e-21", a = "e-18", f .... [TRUNCATED] > gsubfn(".$", conv, c("19", "32.5M")) [1] "19" "32.5e6"
2006 Aug 14
3
Question on .Options$max.print
Hi, I have a tiny question concerning .Options$max.print I have to set up this value to a greater value than 10000 because I want to concatenate my output of a function to one single string (for connivence). I did this via .Options$max.print <- 64000 or options(max.print=64000) Then I call out <- paste(out, blabla) several times, but nchar(out) is never larger than 10000. I read
2008 May 26
2
R 2.7.0: pdf() > pdf.options versus formals
Hi, I have a tiny question about the graphics change in R 2.7.0. If I write a script ? la: options(device="pdf") formals(pdf)[c("file","onefile","width","height")] <- list("~/Rplot %03d.pdf", FALSE, 8, 8) plot(3) plot(4) both plots will be written into ONE pdf file. (not two as expected) This worked fine under 2.6.x In R 2.7.0 I
2008 Apr 09
11
Number of words in a string
Hi R, A quick question: How do we find the number of words in a string? Example: C="Have a nice day" And the number of words should be 4. any built in function or?... Thanks, Shubha Shubha Karanth | Amba Research Ph +91 80 3980 8031 | Mob +91 94 4886 4510 Bangalore * Colombo * London * New York * San José * Singapore * www.ambaresearch.com This e-mail may contain
2006 Aug 16
1
Problem with the special argument '...' within a function
I'm not sure if this is what you want, but simply add ... to the list of arguments for fun1 and fun2 would eliminate the error. Andy From: Hans-Joerg Bibiko > > Dear all, > > I wrote some functions using the special argument '...'. OK, it works. > > But if I call such a function which also called such a > function, then I get an error message about unused arguments. > > Here's an example: > > fun1 <...
2006 Jul 13
2
VERY TINY question: missing function to clear the console?
Hi, for presentation purposes I would like to clear to whole console window (like in a UNIX terminal: 'clear'). Is there such a function? If not, I could image that is not too hard to write such a function. Cheers, Hans
2012 Jan 13
1
checkRd freezes while parsing erroneous preprocessor macros
Dear developers, I came across with a bug while parsing Rd files. Given is the following minimal Rd file: ---- \name{foo} \title{foo} \description{ #ifdef windows win #endifd #ifdef unix unix #endif } ---- By accident I have a typo at line 6, instead of having #endif I typed #endifd. If I run checkRd(), parse_Rd(), Rd2HTML(), or others including the command line "R CMD Rconv" R
2011 Dec 19
1
Possible bug in edit(x) for editing matrices [tested on a Mac]
Hi, it seems there's a possible bug in edit(x) if x is a matrix filled with NA only. To reproduce please do the following: a <- matrix() edit(a) change e.g. the cell value to 1 and close the GUI-based editor. edit(a) returns NA. This also happens for any dimension of the matrix as long as all cell values are NA. If at least one of the cell values is not NA it works correctly. The same
2014 Jan 11
0
Consulta sobre tildes en español
...ia obterner listados con retornos pero esta salida de texto es > suficiente. > > Trabajo en un mac con OSX Mountain Lion. > > Mil y mil gracias. > > Correo 2: > Estimado Javier, > > y este R: > > *R for Mac OS X GUI written by:* > Simon Urbanek > Hans-J?rg Bibiko > Stefano M. Iacus > > *R: Copyright ? 2004-2013* > The R Foundation > for Statistical Computing > http://www.R-project.org > > Respuesta: > > Yo ten?a una computadora apple y utilizaba las versiones disponibles > (hoy obsoletas), solo le puedo comentar que ten?a pr...
2008 Apr 21
1
UTF-8 or Unicode on Windows PC
Dear all, is it possible to set up RGUI or JGR on Windows PC to UTF-8 encoding? I looked for it in mailing lists and in the documentation, but I couldn't figure out it. My problem is e.g. to split a given string containing German and Russian words into characters. example: > a <- "asd?as" > strsplit(a,NULL) [[1]] [1] "a" "s" "d"
2014 Jan 11
2
Consulta sobre tildes en español
Estoy trabajando en dos archivos .txt con el comando setdiff. Infortunadamente se me produce un resultado que no he podido controlar a pesar de cargar el comando system("defaults write org.R-project.R force.LANG en_US.UTF-8") para normalizar el sistema UTF-8 [85]"geomorfolog\222a" [91] "habitu\216s" [121] "\352ndice" Mil
2008 Jun 25
1
avoid using Dingbats symbols for points()
Hi, I came across with a tiny problem. E.g.: pdf() plot(1:5) points(2, 3, cex=10, pch=21, bg="grey", lwd=0.3) points(2, 4, cex=1, pch=21, bg="grey", lwd=0.3) dev.off() If I execute this I'll get a nice PDF. Fine. But I want to edit this PDF with let's say by using Adobe Illustrator. If I try to open it Illustrator shows up an error message: Missing Type 1 fonts
2008 Apr 10
6
How to create a legend without plot, and to use scientific notation for axes label ?
Hi, I have a 3 by 2 plots per page, and would like to place a legend on the last region. How to do that ? Also, is there any way to specify scientific notation for axes label ? [[alternative HTML version deleted]]
2008 Apr 15
2
a question of alphabetical order
Hi all, In Spanish vowels with accent like ?, ?, ... doesn't affect to the alphabetical order of vector of strings. I mean, a or ? don't matter for establishing the alphabetical order. Nevertheless, while working with R order, here is what I get. Given a file transport.txt medio#variable avi?n#34 barco#33 bicicleta#3 ?ngulo#37 cami?n#54 coche#23 tren#67 > toPlot <-
2012 Feb 29
0
R 2.14.2 is released + R anniversary
...the latter trigger an error. (PR#14779) o The text of a function body containing more than 4096 bytes was not properly saved by the parser when entered at the console. o Forgetting the #endif tag in an Rd file could cause the parser to go into a loop. (Reported by Hans-Jorg Bibiko.) o str(*, ....., strict.width="cut") now also obeys list.len = n. (Reported by S"oren Vogel.) o Printing of arrays did not have enough protection (C level), e.g., in the context of capture.output(). (Reported by Herv'e Pag`es and Martin Morgan.)...
2012 Feb 29
0
R 2.14.2 is released + R anniversary
...the latter trigger an error. (PR#14779) o The text of a function body containing more than 4096 bytes was not properly saved by the parser when entered at the console. o Forgetting the #endif tag in an Rd file could cause the parser to go into a loop. (Reported by Hans-Jorg Bibiko.) o str(*, ....., strict.width="cut") now also obeys list.len = n. (Reported by S"oren Vogel.) o Printing of arrays did not have enough protection (C level), e.g., in the context of capture.output(). (Reported by Herv'e Pag`es and Martin Morgan.)...
2012 Sep 27
6
Mac Text editors
Hi everyone, I've recently moved from using a windows machine to a Mac (some might call it an upgrade, others not?I'll let you be the judge). Once I started using Notepad ++ on my windows machine, I really began to like it. Unfortunately, I'm not sure what the free text editor options are for the Mac (Notepad ++ is windows only). I've dabbled with Linux before and used