Displaying 20 results from an estimated 3000 matches similar to: "incorporating R into C"
2003 Nov 07
5
Barplots
Hello,
Can anyone tell me how to label individual bars on a barplot? I want to put an "*" or letter ABOVE the bar to denote statistical significance. Is this possible and how?
Thanks,
Suzanne
__________________________________________________________________
McAfee VirusScan Online from the Netscape Network.
Comprehensive protection for your entire computer. Get your free trial
2002 Sep 16
2
privsep versus compression
Hi,
I'm unable to get Kerberos4 authentication working with openssh-3.4p1.
I'm getting a message that privsep is not available on my platform (Irix
6.5.15) and another message stating that compression and privsep are
mutually exclusive. But, ssh decided to turn off compression, I think
because of servconf.c. I think it would be more usefull to have
compression enabled and disable privsep
2003 Sep 19
2
extracting the levels of a subset of data
Hi,
> tmpdata<-subset(myd, TYPE=="A")
> levels(tmpdata$TYPE)
> [1] "A" "B" "C"
I'd like to get only "A" as output...
Thanks for your help
Marc
2003 Sep 24
2
data.frame with duplicated id's
Hi,
is there a exstisting function (..i found nothing until now.)
what makes it possible transfrom a dataset:
ID AGE V.MAI V.JUNE
11 20 100 120
12 30 200 90
into
ID AGE V
11 20 100
11 20 120
12 30 200
12 30 90
,or have i to programm ths my self?
Thanks for any comment, help and/or starting point.
regards,christian
2003 Oct 23
3
Writing and running a R program
Is there a way I can combine multiple lines of R commands (see below) into
a little code snippet or a program in a text file, and run it in R to do my
analysis?
sink("mysink.txt")
for (......) {
code for creating a dataframe from supplied data
code for doing anova from selected data
}
Thanks very much.
Karth.
2003 Nov 12
2
postscript: font size in text(x,y,label)?
I would like to just create my (point) labels [created by
text(x,y,labels)] in smaller font size, especially when I write out to
eps. all other point sizes should not change. is this possible? help
appreciated. regards, /iaw
2004 Mar 11
6
saving a data.frame to "\t" files
Windows 2000, updated R and packages.
could somebody pleaseeeeeeeee help with saving a data.frame with column
names into "\t" text files for later importing in other programs? It seems an easy task, yet... it beats me.
thanks,
Mihai Nica
Jackson State University
[[alternative HTML version deleted]]
2003 May 07
4
element of
Dear all,
is there any funktion in R which i can use to check if a single value is element of a matrix or data.frame so that it returns me logical values like TRUE/FALSE.
Thanks in advance for your help!
2003 Dec 17
2
Easiest way to get the mean of a row of a data.frame?
Dear r-helpers!
I am kind of new to R.
I would like to calculate the mean of the numbers of this expression:
data(USArrests)
USArrests[row.names(M) == "Alabama",]
class() tells me it's a ``data.frame,'' what I actually desire is to get
all numbers of a row as a vector or a list to let mean() calculate the mean
of the whole row. (I know this doesn't make sense
2002 Sep 24
3
Samba performance issues
Hi all
We are implementing samba-ldap to act as an nt pdc and are seeing
performance problems.
We have a 1ghz, 3gb Ram, 36gb box that is running samba-2.2.5 and
openldap-2.0.23 under redhat 7.3 with kernel 2.4.18-3.
Clients are all Win2k SP3.
All the ldap requests are to the localhost interface.
The box is acting as the PDC for the domain, and also sharing diskspace
and printers.
When we get
2006 Mar 08
5
data import problem
Dear All,
I'm trying to read a text data file that contains several records separated by a blank line. Each record starts with a row that contains it's ID and the number of rows for the records (two columns), then the data table itself, e.g.
123 5
89.1791 1.1024
90.5735 1.1024
92.5666 1.1024
95.0725 1.1024
101.2070 1.1024
321 3
60.1601 1.1024
64.8023 1.1024
70.0593
2003 Nov 20
3
read.table(..)..Help?
Hallo,
can someone please help me.
I have a proplem reading a file with more that one
rows.
e.g I used the function:
p<-read.table(file="FILENAME ", header=TRUE,sep=";")
and later used the data.Frame() function.
It functions when the file has only a row of
variables.
When I insert the second row I get an error message.
How do I do this
=====
=====================
Sylvie
2002 Oct 16
3
ssh-3.5p1 core dumps on Solaris 2.6
Hi,
I've reported this problem a month ago on this list, and probably no-one
is interested? Binaries were configured with krb4 and afs enabled.
However, only the second crash seems to be related to krb4.
Any thoughts?
I had to add one line to includes.h:
#include <sys/types.h>
#include <sys/socket.h>
#include <sys/ioctl.h>
+#include <sys/ioccom.h>
#include
2003 Oct 09
4
Getting rows from a dataframe
Sorry if this is a silly question. I'm trying to extract all elements
of a dataframe at a particular row. I can find no mention of this in
any documentation and it may be naivety of dataframe on my part as I'm
very green at this. Thankyou,
Mark
2003 Sep 09
4
How to convert a Rd file into multi html files?
Hi,
I wrote all documents for each objects in my package in one .Rd file. Now I can't convert the .Rd file into multi html files such that a html file corresponds a object in package.
The command I used was ' R CMD Rdconv -t html foo.Rd'. It just converted the document of first object in .Rd into html format.
I had to write a perl script to satisfy myself. But is there a more direct
2004 Mar 11
5
recoding variables
Hi,
I was hoping someone could help me. I am a graduate student new to using R, and I'm trying to figure out how to recode a continuous variable to make it into an ordinal variable with 3 categories. I literally have no idea how to proceed--could anyone possibly advise me? Please copy me on any responses, as I have just subscribed to the R-help email list but don't know whether the
2003 Nov 20
5
Find value in vector (or matrix)
Hi all,
Is there a function to check if a particular value is contained in a
vector? I've looked at grep in the hope that I could use a Perl-like
syntax, but obviously it's different...
I'd like to do something like:
y <- c("a","b","c")
if("a" in y)
{
# "a" is not in y
}
Also, is there a way to
2004 Jan 15
2
Legend text -- discrepancy between X11 and postscript
Hi,
When I place a legend on a plot it looks exactly as I intended
on the screen. However, almost always, when I export this to
postscript file, the legend's text protrudes through the legend's
frame (the latter being placed correctly).
See the appended example code. I can send the EPS file as well
for those that are interested (<4 kb; <200 lines).
I found nothing in the FAQS,
2004 Apr 01
4
multiple plots problem
Hello,
for testing & learning purposes I create X11 device and specify layout like
layout(c(1,2,3), 3, 1), so I could play with parameters and see
several plots at the same time. That works fine until I try to create 4-th
plot - all other plots erased. Such behaviour isn't desirable for testing
purposes and I'm asking where to look to disable erasing other plots.
Regards,
Oleg
2003 Nov 20
2
reading data rows
I have problems reading a file with more than one row
to carry out mathematical calculations
I have a a file of the form
mu1 mu2 alpha beta Wsigma sigmaA b r
25 15 .05 .05 22 3 .3 .5
30 20 .1 .2 22 .3 .3 .5
I intend to read one row , carry out the calculations
and then the next row with which I intend to do the
same calculations.
I do the following.