Displaying 20 results from an estimated 1000 matches similar to: "Plot labeling question"
2009 Feb 06
1
Tables in legend
I need to create a legend for a simple scatter plot in the following
format.
This is Blah1 number1 number2
This is Blah2 number3 number4
.
.
.
This is Blah6 number11 number12
I looked up these help pages and found the following solution.
lStr<-c(Blah1, Blah2,....Blah6, number 1, number2, ...number12)
legend(x="topright",lStr,ncol=3)
So this creates the tabular format I am
2008 May 29
2
how to use substring match as condition?
Hi,
How can I use a substring match as a condition in a subset command?
Sth like this:
subset(input, field1=="blah1" & field2=="blah2") # but now with substring
match in field2
subset(input, field1=="blah1" & field3 *substringmatch* "blah3")
I've tried with gsub, but it won't work:
subset(input, field1=="blah1" &
2004 Aug 05
0
[Bug 1582] New: rsync dry run cannot find missing folders, contradicts actual run.
https://bugzilla.samba.org/show_bug.cgi?id=1582
Summary: rsync dry run cannot find missing folders, contradicts
actual run.
Product: rsync
Version: 2.6.2
Platform: All
OS/Version: IRIX
Status: NEW
Severity: normal
Priority: P3
Component: core
AssignedTo: wayned@samba.org
2004 Oct 14
5
Photoshop "Disk Full" error, a linux filesystem NOT Samba issue
Hi all.
Thought you would all be interested to know that i, like many others, am
experiencing issues with Samba and Photoshop 7.0.
The problem is specific to Photoshop 7.0 when saving files to a Samba
share via a W2k/XP OS.
Users experience a disk full error when saving from Photoshop but have
no issues copying/moving etc files to/from the share outside of PS.
Well, after some testing, the
2003 Oct 15
2
R-WinEdt, 1.8, deprecating warning
When I load R-WinEdt (>library(RWinEdt), I get the warning:
Warning message:
multi-argument returns are deprecated in: return(InstallRoot,
RWinEdtInstalled)
I have upgraded to R 1. 8 on Windows, by copying non-base libraries into
the 1.8 library folder and updating the help.
I also reinstalled R-WinEdt from the zip file as detailed in RWinEdt
ReadMe file using the recommend (A)
2006 Mar 17
6
Updated the xml code to be more object-oriented
I changed the code to be more prototype-esque, and created a class
called XMLDoc. I may add more functionality to it later, hence the more
generic name, but you do something like this to convert XML to a hash:
XMLDoc = Class.create();
Object.extend(XMLDoc.prototype, {
initialize: function (xmlDoc) {
this.element = xmlDoc;
},
asHash: function () {
if (! this._xmlHash) {
2007 Apr 25
17
Multiple swap partitions
I have a machine with two swap partitions (sda2 and sda8). Both will
have none as mount point. When I try to use puppet (using mount type)
for managing fstab I get problems because "name" in both instances
(i.e. mount path) will be "none". How should I fix this within puppet?
Regards
Halvard Moe
2010 Sep 08
4
Populate combo box from database without repeatness
Hi,
I have a column of data with repeated as mentioned below.
*column_name*
Acer
Lenova
HP
Lenova
Acer
Acer
Lenova
I need to populate this column in a combo box without repeated data as
mentioned below
*combo box*
Acer
Lenova
HP
I tried as
<%= collection_select(:column_name, TableName.all)%>
"table_names" is a table and "column_name" is a column needed to
2009 Sep 10
4
[LLVMdev] tblgen bug in handling case , switch_on
Mikhail Glushenkov wrote:
> Hi Sanjiv,
>
> On Sun, Sep 6, 2009 at 8:13 PM, Mikhail
> Glushenkov<the.dead.shall.rise at gmail.com> wrote:
>
>> Hi Sanjiv,
>>
>> On Sun, Sep 6, 2009 at 8:07 PM, Mikhail
>> Glushenkov<the.dead.shall.rise at gmail.com> wrote:
>>
>>> [...]
>>>
>> [Sorry, the formatting was a
2011 Oct 08
1
Rails view spec expectations/matchers
>From looking at the RSpec Rails documentation
(https://www.relishapp.com/rspec/rspec-rails/docs/view-specs/view-spec) it
seems like rendered is just a string and you can''t really do any
assert_select type stuff out of the box.
After Googling around, it seems that the RSpec authors decided that if you
want that functionality, you should just use Capybara or some such... is
that
2010 Feb 22
3
relative file path
Hello,
Is there a way to find where a script is located within a script? getwd()
doesn't do what I want because it depends on where R was called from. I want
something like source("randomFile") and within randomFile there is a
function called whereAmI() which returns c:\blah\blah2\randomFile.R
In perl there is a library called FindBin and $FindBin::Bin has the
directory of the file
2003 Apr 10
6
How to plot several graphs in a single 2-D figure?
Hi, R-listers
I tried to plot several graphs in a sigle x-y coordinate settings, like the
following:
|(y) s
| ****** s
| ***** s
| sssssssssssssssssss
|_______________________________(x)
where "*" and "s" denote two diffrent plots.
However, when I used
plot(data1); % data1 is the data points of "*"
2002 Dec 18
3
workspace vs. image
Hello [R]ians,
I'm hoping someone can clarify the difference between a Workspace Image
and Working Directory. I created a directory on my PC, say,
"C:\Program Files\R\Project1" and then saved my objects in
"C:\Program Files\R\Project1\.Rdata".
Then, in a subsequent session, I reloaded these objects using
> load("C:/Program Files/R/Project1/.RData")
At
2008 Feb 05
2
dynamically add items to key of lattice xyplot
Hi all,
is it possible to dynamically add key items to an already existing key,
belonging to a lattice xyplot?
This is what I do: I make an xyplot with an initial key. Later on, I
want to extend this key with more items, as more lines are added to the
plot (lines are added using trellis.focus("panel")).
I guess I need some function to access the key panel in order to extend
it,
2005 Oct 03
8
ip address delete bug?
Hi,
it seems that "ip address delete" will delete all addresses of the same
class on an interface if it is ordered to only delete the first one:
# ip a f eth0
# ip a l eth0
3: eth0: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast qlen 1000
link/ether xx:xx:xx:xx:xx:xx
# ip a a 192.168.a.b brd + dev eth0
# ip a a 192.168.c.d brd + dev eth0
# ip a d 192.168.a.b brd + dev
2002 Jan 28
4
Type III Sums of Squares
I am trying to reproduce an analysis done in SAS from which Type III Sums of
squares are used. How can you get Type III sums of squares in an aov similar
to what SAS provides?
With best wishes and kind regards I am
Sincerely,
Corey A. Moffet
Instructor
Department of Range, Wildlife, and Fisheries Management
Mail Stop 2125
Texas Tech University
Lubbock, Texas 79409-2125
(806) 742-2843 Voice
2002 Apr 29
2
Lotos 1-2-3 date to POSIXct
I have some data that was created for import into a Lotus 1-2-3 spreadsheet
and on of the columns is time. The
time is akin to Julian were the value 1 is mapped "01-Jan-00 12:00:00 AM" in
Lotus 1-2-3. Is there a function in an R package that can convert this
numeric vector to a POSIXct vector?
With best wishes and kind regards I am
Sincerely,
Corey A. Moffet
Instructor
Department
2002 Apr 17
4
Problem w/ axis and distortion in a plotting function
I have a function for plotting soil texture that I am having a problem with.
The function is:
plot.psd <- function(sand, clay, ...) {
conv.ter <- function(x, y) {
x.con <- 100 - x - y*cos(1/3*pi)
y.con <- y*sin(1/3*pi)
data.frame(x=x.con, y=y.con)
}
plot(conv.ter(sand, clay), xlim = c(0,100), ylim = c(0,100*sin(1/3*pi)),
axes = FALSE, xlab="",
2008 Feb 15
12
Transfer Crosstable to Word-Document
# Dear list,
# I am an R-beginner and
# spent the last days looking for a method to insert tables produced
# with R into a word document. I thought about SPPS: copy a table from
# an SPO-file and paste it into a word document
# (if needed do some formatting with that table).
# Annother idea was, to produce a TEX-file,
# insert it and make it a word-table.
# I found the following libraries, which
2002 Jan 10
4
Test if beta is different from something other than 0
Is there a function/package that will allow you to test the hypothesis beta1
= x in a
simple linear regression, where x is a constant? The AOV tests if beta1 in
different from
0 but what if I want to know if beta1 one is different from 1?
With best wishes and kind regards I am
Sincerely,
Corey A. Moffet
Instructor
Department of Range, Wildlife, and Fisheries Management
Mail Stop 2125
Texas