similar to: Annoteting graphs using text

Displaying 20 results from an estimated 300 matches similar to: "Annoteting graphs using text"

2003 Nov 19
1
Specifying arguements in user defined functions
Dear R subscribees, First, I am new to R and I apologize if the question is naive. I am trying to find out where arguments specifications can be found. For example, the code below (at the very bottom of this email) contains the argument 'digits' in the function 'lin' which printout my output to the 3rd decimal place. Somebody showed me the 'digits' argument, but did
2012 May 03
1
bwplot: using a numeric variable to position boxplots
[Env: R 2.14.2 / Win Xp] In the examples below, I'm using lattice::bwplot to plot boxplots of 4 variables, grouped by a factor 'epoch' which also corresponds to a numeric year. I'd like to modify the plots to position the boxplots according to the numeric value of year, but I can't figure out how to do this. Also, I'd to modify the strip labels that give the variable
2005 Oct 15
4
Voicemail 2
Hi list, I'm trying, as usual, to set up voicemail. It works, but signaling to phones, doesn't. Into XLite logs, I have: -- Messages-Waiting: yes Message-Account: sip:voicemail@mydomain.com Voice-Message: 1/0 (0/0) -- but nothing appear on the XLite screen. So, I understand that I'm able to send the right signal, but something is still wrong. Ideas? Thanks in advance -- .:FaberK:.
2011 May 19
5
identical function names from 2 packages
Hi, If I load 2 packages that have a function with the same name, how do I tell R to run one or the other? (Instead of having R automatically use the first- or last-loaded one, whichever it is. (Which is it, by the way.)) Cheers! Nick -- ==================================================== Nicholas J. Matzke Ph.D. Candidate, Graduate Student Researcher Huelsenbeck Lab Center for
2010 Jun 05
2
380x380 dataframe to list
Hi, This can't be hard, but I can't find the solution. I have a 380x380 data frame of numbers. I would like to turn it into a single column so I can do e.g. hist and mean on it without writing my own function. There must be a simple function for this, but I'm stumped -- reshape, dim, etc. don't seem to do it... Help appreciated! Thanks!! Nick --
2006 Jun 09
3
SuperOdoctor for super-micro
Rats... found some hardware monitoring from the vendor and it's broken, or I'm missing some pieces. No mention of CentOS specifically, but RH is supported, so figured it *ought* to work. I'm apparently missing a library -- liblinc.so.1, and a net search reveals several sources, both for x86 and 64-bit. Tried them both, after the x86 did not work, and the 64-bit I thought was
2012 Feb 25
1
Fw: Same problem as last time, with IPv6 off
-----Originalmeddelande----- Fr?n: "Per Gunnarsson" <per at 80-244-81-186.customer.t3.se> Till: per.gunnarsson at lappstockholm.se Datum: 2012-02-25 15:20 ?mne: [Icecast] Same problem as last time, with IPv6 off OK, this is my configuration file: <icecast> ? ?<limits> ? ? ? ?<clients>100</clients> ? ? ? ?<sources>2</sources> ? ? ?
2013 Jun 16
2
extract all numbers from a string
Hi all, I have been beating my head against this problem for a bit, but I can't figure it out. I have a series of strings of variable length, and each will have one or more numbers, of varying format. E.g., I might have: tmpstr = "The first number is: 32. Another one is: 32.1. Here's a number in scientific format, 0.3523e10, and another, 0.3523e-10, and a negative,
2002 Aug 22
1
R-1.5.1 (X11/Darwin), Mac OS 10.1.5 (PR#1924)
I can't get it to run. On launch I get this: dyld: /usr/local/lib/R/bin/R.bin multiple definitions of symbol _PC /sw/lib/libreadline.4.2.dylib(terminal.so) definition of _PC /sw/lib/libncurses.dylib.5(lib_tputs.o) definition of _PC Thanks. Linc Davis -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-devel mailing list -- Read
2010 Sep 10
8
convert "1", "10", and "100" to "0001", "0010", "0100" etc.
Hi, Is there an easy way to convert numbers into a form such that they all have the same number of digits? e.g.: "1", "10", and "100" ...become... "0001", "0010", "0100" etc. I ask because I am producing a large number of files that need to sort consistently by filename. Currently I get this kind of sorting: filename1 filename10
2010 Apr 03
2
histogram-like barplot? (or reverse?)
Hi, I have a simple task I can't figure out. I'd like to take some measurements I made, e.g.: year (y-axis) 1 2 3 4 5 6 counts (x-axis) 10 10 20 30 40 50 And then, make a barplot with the x-axis ticks (representing the borders between years) between the bars. However, barplot seems to force you to make the x-axis arbitrary categories. I want it to be continuous (as in a
2012 Feb 19
1
parse .ps files with R?
Hi, Is there a way to parse a postscript (*.ps) file with R (or perhaps with some other command-line utility)? E.g., I have a map in postscript format with lots of features, but I just want to extract the coastline and it's coordinates. Any help very much appreciated! Cheers! Nick -- ==================================================== Nicholas J. Matzke Ph.D. Candidate, Graduate
2010 Jun 19
1
weird error: Coercing LHS to a list
Hi all! I'm trying to build a simple class, but I'm getting a weird error. E.g. if I do: ========== gregion = setClass("gregion", contains = "data.frame", representation(name = "character", poly.x = "numeric", poly.y = "numeric" )) gregion$name = "North America" ========== Then I get this message: Warning message: In
2009 Jan 29
2
tab characters
Hi all, Working at the R command line, how do I get strings to display e.g. tab or newline characters as they should be displayed, rather than as e.g. \n or \t? e.g.: > x="\t" > x="\t" > x [1] "\t" > print(x) [1] "\t" -- ==================================================== Nicholas J. Matzke Ph.D. student, Graduate Student Researcher
2009 Jan 23
3
last result
Hi, Let's say one has just run a command line command that took an hour and produced a huge matrix as an output. However, one forgot to store the output in a variable. Is there a hidden variable somewhere that stores the result, so that one doesn't have to re-run the analysis for an hour? E.g., x <- whatever_the_last_output_was Thanks! Nick --
2011 Feb 03
3
how to check if an attribute exists
I am dealing with an object that sometimes has a certain attribute, sometimes doesn't. How do I check for this? "exists" doesn't work... ======================= > z=c() > z$a = c("c", "d", "f") > z $a [1] "c" "d" "f" > exists("z") [1] TRUE > exists("z$a") [1] FALSE
2009 Sep 15
2
R console line-wrapping
Hi all, a quick question I couldn't find the answer to in the usual places: Is there a way to turn off line-wrapping in the R console? Or set the line width-before-wrapping manually? Currently it looks like the console linewraps after about 70 characters, this occurs even if I increase the window size. (I want to output some simple tables to screen for students in a computer lab
2011 Feb 01
2
how to check if a library is loaded, from a function
Hi, I've written a function which I load with a source command. The function requires a certain library, phangorn, to work. I would like the function to check if phangorn is loaded as a library before running. For some reason, just putting require(phangorn) into the sourced function doesn't do anything. This must be simple, but I can't figure it out! Any help appreciated...
2009 Jan 27
2
sorting matrix to match an ordered list
Hi all, This can't be very hard, but it is sticking me because I am a beginner. Setup: x = rbind(c(0,1,1), c(2,3,1), c(4,5,1)) y = as.matrix(x) rownames(y) = c("a","b","c") colnames(y) = c("a","b","c") ordered_list = c("b", "c", "a") How do I produce a new matrix, z, with the rows and columns both
2009 Sep 19
3
eval(expr) without printing to screen?
Hi, I have a script which I source, which evaluates a changing expression call hundreds of times. It works, but it prints to screen each time, which is annoying. There must be simple way to suppress this, or to use a slightly different set of commands, which will be obvious to those wiser than I... Here is a simpler mockup which shows the issue: x = data.frame(rbind(c(1,2,3),c(1,2,3)))