similar to: Highlighting Text in Console

Displaying 20 results from an estimated 1000 matches similar to: "Highlighting Text in Console"

2010 Jun 18
2
nchar( NA )
Hello, Is this expected ? > nchar( c( "", NA ) ) [1] 0 2 Should not the second one be NA ? Romain -- Romain Francois Professional R Enthusiast +33(0) 6 28 91 30 30 http://romainfrancois.blog.free.fr |- http://bit.ly/98Uf7u : Rcpp 0.8.1 |- http://bit.ly/c6YnCi : graph gallery collage `- http://bit.ly/bZ7ltC : inline 0.3.5
2010 Jun 09
1
minor tick marks
Hi ! I need a plot for data extending over several orders of magnitude on the y axis. The following command generates a nice looking semi-log plot for my data: plot(x,y,log="y",type="l",lty=3, ylim=c(0.01,2),yaxp=c(0.01,1,1),las=1) I would appreciate having also minor tick marks in-between the 3 major ticks obtained with the above command. The "minor.tick" function
2010 Jun 15
1
Error when callin g C-Code
Hi when I call the function below in R, i get the error: Object 'pairlist' can't be converted to 'double'. #include <R.h> #include <Rdefines.h> #include <Rmath.h> SEXP CSimPoisson(SEXP lambda, SEXP tgrid, SEXP T2M, SEXP Ni, SEXP NT) { double sign, EVar; double *xlambda, *xtgrid, *xT2M, *xNi, *xNT, *xtau; SEXP tau; int ltgrid =0; int i = 0; int j = 0;
2010 Jul 05
2
nested for loops
Dear Admin, I will appreciate if you advise me an effective way to write the following R code including nested for loops. I cannot do it by using expand.grid function because it results with memory allocation problems. Thanks for your time and consideration. for(d1 in 0:n){ for(d2 in 0:n){ for(d3 in 0:n){ for(d4 in 0:n){ for(d5 in 0:n){ for(d6 in 0:n){ for(d7 in 0:n){ for(d8 in 0:n){ for(d9 in
2010 Jun 03
2
sig for R and C++
Dear R People: Is there a sig for people using R and C++, please? Thank you in advance, Sincerely, Erin -- Erin Hodgess Associate Professor Department of Computer and Mathematical Sciences University of Houston - Downtown mailto: erinm.hodgess at gmail.com
2010 Jun 19
2
Call by reference or suggest workaround
I have written code to compute multi-indices in R [1] and due to the recursive nature of the computation I need to pass around the *same* matrix object (where each row corresponds to one multi-index). As pass by reference wasn't the default behavior I declared a global matrix (mat) and used the <<- operator to write to the global matrix. So the usage would be to call genMultiIndices(3,2)
2010 Jun 18
3
C interface
Greetings, I am trying to call simple C-code from R. I am on Windows XP with RTools installed. The C-function is #include <R.h> #include <Rinternals.h> #include <Rmath.h> #include <Rdefines.h> // prevent name mangling extern "C" { SEXP __cdecl test(SEXP s){ SEXP result; PROTECT(result = NEW_NUMERIC(1)); double* ptr=NUMERIC_POINTER(result); double t =
2010 Jul 09
2
Defining a method that behaves like '$'?
Hi, is there a way to define a method say '$$' that would behave like '$' and allow calls like 'a$$name'? Thanks. Renaud -- Renaud Gaujoux Computational Biology - University of Cape Town South Africa ### UNIVERSITY OF CAPE TOWN This e-mail is subject to the UCT ICT policies and e-mail disclaimer published on our website at
2010 Feb 23
3
colour highlighting inputs and outputs in the R terminal?
Dear all Is it possible to get basic colour highlighting for inputs and outputs in the R terminal? I am looking for something similar to what GUIs provide, such as JGR and (I think) the Windows R GUI: colouring all inputs in red, and all outputs in blue. All this in a colour-aware console (in my case, on Linux). I've been looking into xterm256 and highlight, but I am sofar unable to do with
2009 Jun 30
4
conditional coloring of output text in console or in GUI
suppose I have some logical vector x <- as.logical(c(0,0,0,1,0,0,1,1,0)) x How would I make the words TRUE appear on the screen in a different color from the words FALSE? Thanks. --Chris -- Christopher W. Ryan, MD SUNY Upstate Medical University Clinical Campus at Binghamton 40 Arch Street, Johnson City, NY 13790 cryanatbinghamtondotedu "If you want to build a ship, don't drum
2003 Oct 13
7
PrePaid Application!!!!!
Hello, Here in our office we are testing Asterisk. My collage Igor created to Asterisk PrePaid application with Postgresql. It is not in Perl. We would like to release it to the group.... as soon as it will work ok. It will have authentication, different rates for users, different rates for destinations and so on. Is there anybody who would like to improve it ? -- Bart -------------- next part
2009 Dec 05
1
R brush for SyntaxHighlighter
Hello, I've written a brush for R for the SyntaxHighlighter JavaScript library. It allows you to display R code on a web page with the proper syntax highlighting. It's available here: http://demitri.com/code Comments and suggestions for improvement are welcome! Cheers, Demitri
2007 Mar 06
1
photo_gallery
Hi, I''m trying to build the photo_gallery (example), but receive the following error: $ webgen /home/ov/work/photo_gallery/plugin/collage.rb:90:in `load_plugin'': uninitialized constant #<Module:0xb7153b48>::Collage::FileHandlers (NameError) ? ? ? ? from /usr/lib/ruby/gems/1.8/gems/webgen-0.4.2/lib/webgen/plugin.rb:224:in `load_from_file'' ? ? ? ? from
2011 Apr 01
3
Syntax coloring in R console
Dear all, I am a happy user of R console, but I would like to see syntax coloring. I use R 2.12 in Ubuntu Linux. I have found the packages "xterm256" and "highlight", but I was not able to figure out how to use it to highlight the syntax in console output. Also, I tried several GUI interfaces, but I was not able to find something that suits me better than the default R
2006 Oct 29
2
Rgui.exe fix for "console not found" buffer overflow problem
I'm using R on Windows XP Professional SP2. I figured out the fix for my buffer overflow problem that did not allow me to use Rgui.exe for about two weeks. I would keep getting "console not found" and even when I uninstalled and re-installed got the same problem. Here's how the problem started. In Rgui.exe, I attempted to get more visible output in the buffer (I wanted
2002 Jun 13
1
Problem about Rconsole: R for Windows Version 1.5.0 Patched (2002-06-05 and 2002-06-12)
R (Windows version) users/developers: While I have checked R-help/-devel mailing lists and R-bug-tracking system, this problem has not been reported so far. I would like to know whether this problem is specific to my machine. Lately I downloaded the version 1.5.0 patched [for windows] from http://www.stats.ox.ac.uk/pub/bdr/RWin/Rpre/ [patched: 2002-06-05] and
2009 Mar 17
2
link in base help file fails.
I run R on MS Windows. In R2.9.0dev, I type ?base to get "R help for package base" to open. I then select ".First" from the list of contents, getting a page headed: "Initialization at Start of an R Session". About half way down there is a sentence: The command-line flag --vanilla implies --no-site-file, --no-init-file, --no-restore and --no-environ. Under
2003 Jul 17
2
Minor nuisance with rw1071
Hola! Starting with rw1071, just after starting Rgui the scope is not with Rconsole, but some other place. This means I have to do a mouse click in the Rconsole before starting to write the first command. Since I always forget this, I end up writing the first command twice. This is of course only a minor nuisance, but why is focus no longer set to Rconsole window when start-up? This is on
2012 Apr 27
1
Rconsole file fails to remember GUI settings, and script window text colour option is missing
Am encountering two related problems since the 2.15 release. Apologies in advance for a mundane non code-related post, but you know how it is. I'm using the basic R GUI. 1: I use a black environment for no glare, so pre-version 2.15 I've had black backgrounds and white text. Since the 2.15 release my script window text has colour turned itself black (so is now invisible) and now I
2006 Aug 17
3
file_column do download from URL
Is there a simple way of forcing file_column to download file from given (ex. in form) url instead of uploading it manualy? I know: http://blog.caboo.se/articles/2006/01/09/file_column-magick-and-versions require ''open-uri'' Attachment.find_first.filename = open(url) if not working as expected... what is interesting is that: >> @a =