Displaying 20 results from an estimated 900 matches similar to: "Width of text displayed in R"
2008 Apr 15
4
Displaying Grahics to the X Window when calling R from command line
Hi,
I am running an R script from the command line by calling:
> R --vanilla < test.R
My terminal is part of the Xwin (Xterm) and there is a plot(1:10)
command in the test.R script.
This will not produce a grahic though. When I start R by calling R then
plotting from the R command in the same xterm, I do get a graphic
display.
How do I create a xwin plot by calling R from the command
2008 Apr 28
3
R on X11 under Linux (newbie)
I just installed R on my 64 bit SUSE Linux system -- I compiled with the default x windows support on..
This may be a newbie question (apologies in advance)-- but how does this show up in X?
I have SSH'd in to my box and set my display -- I can run xcalc OK -- but when I hit the R binary it just goes to the command line -- if does not give me an x-window.
I suspect I need another
2008 Jun 09
1
Basic Question on Keys/Values
As a java programmer, I'm having issue conceptualizing the following use
case:
Given an value, passed into a function, how do I pull out the lookup?
Ie.
A list of keys (key1, key2, key3)
A list of values (val1,val2,val3)
I want to write a function (or is there something built in?) such that
Callit <- (thekey) {
(magic happens here)
Return value
}
Any ideas?
Thanks a bunch!
2008 Apr 18
1
ts.plot() labeling x-axis
Hello,
I have tried a few variants of a solution from the previous posts, but
perhaps my syntax is wrong. I am using ts.plot(data_as_columns) and
would like the label the x axis using some labels (in my case minutes
after 9am).
Any ideas how to use the plot params and the Axis function to accomplish
this?
Any help is very appreciated.
Regards,
Tom
2009 Aug 26
0
Trying to make Nas 0
I have an lm object called mro
A summary gives
> summary(mro)
Call:
lm(formula = REGRESSIONSTRING, data = wData)
Residuals:
Min 1Q Median 3Q Max
-8.18077 -1.06867 -0.09387 1.03153 11.20201
Coefficients: (1 not defined because of singularities)
Estimate Std. Error t value Pr(>|t|)
(Intercept) 7.2096 1.0345 6.969 5.37e-11 ***
2006 Feb 24
1
New to the list
Hi,
Is anyone working on a MacOS port of Xen? I am looking to use the Core Duo VT functions to get Xen working on the Mac. If this is currently being done, could someone point me in the right direction.
Thanks
==============================================================================
Please access the attached hyperlink for an important electronic communications disclaimer:
1999 Oct 07
1
[Fwd: Libraries loading, but not really?] - it really IS a problem :-(
kalish at psy.uwa.edu.au wrote:
>
> I'm a newbie at R, and can't get libraries to really work.
> I did this:
> > library(help = mva)
> cancor Canonical Correlations
> cmdscale Classical (Metric) Multidimensional Scaling
> dist Distance Matrix Computation
> hclust Hierarchical Clustering
2008 Apr 09
1
read table not reading lines containing single quotes
Hi,
* I am using read.table command as follow
kegg<-read.table("c:/IDs.tab",header =TRUE,quote= "'", sep="\t") *
Fragment of file is as follow:
ID Pathway
04916 Melanogenesis
04920 Adipocytokine signaling pathway
04930 Type II diabetes mellitus
04940 Type I diabetes mellitus
04950 Maturity onset diabetes of the young
05010
2008 Apr 07
2
read.table with multiple header lines
Hello,
I have difficulties in reading in a text file with multiple (=2) header lines. My table looks like this:
id code gr grcode AA AB AC AD
time 30 40 50 60
1 1234 1 c 0 1 0 0
2 1346 1 c 0 0 0 1
3 1456 1 c 0 0 1 1
4 1893 1 c 0 0 1 1
Can someone help me out?
Thanks
Deborah
--
1999 Oct 07
0
Libraries loading, but not really?
I'm a newbie at R, and can't get libraries to really work.
I did this:
> library(help = mva)
cancor Canonical Correlations
cmdscale Classical (Metric) Multidimensional Scaling
dist Distance Matrix Computation
hclust Hierarchical Clustering
kmeans K-Means Clustering
prcomp
2008 Apr 14
3
how to add different type of lines (short dash, long dash) into current plot)
Dear
I try to add three different lines (solid, short dash, long dash) in to current barplot. I saw there are types of lines ("p","b", ect). However, they are not what I request. Has nayone have this experience?
Many Thanks!
Xin
[[alternative HTML version deleted]]
2008 Jun 05
5
Java to R interface
I am developing an application that uses Eclipse framework on Windows.
I have to call R from Java. I downloaded rJava package and installed
it. I set the classpath in the Run Dialog in Eclipse to the directory
where the JRI.jar is. I set the Path environmental variable to the
directory where R.dll and jri.dll are. Yet when I run the rtest
example (in jri/examples directory), I get the
2003 Aug 26
1
dual smb/nmb for interfaces
HI
I'm need to run samba version 2.2.8 and 2 smbd / nnbd processes in a single
machine with two separate smb.conf files . They will runs on individual
interfaces and how can I do that ? Tried all means that I know off , but to
no avail. Please help.
Thanks & rgs
amin
==============================================================================
This message is for the named
2008 Apr 08
4
Practical Data Limitations with R
We are new to R and evaluating if we can use it for a project we need to
do. We have read that R is not well suited to handle very large data
sets. Assuming we have the data prepped and stored in an RDBMS (Oracle,
Teradata, SQL Server), what can R reasonably handle from a volume
perspective? Are there some guidelines on memory/machine sizing based
on data volume? We need to be able to handle
2007 Jun 12
2
Stock Price Correlation to Index Price Levels
Hi,
This is probably trivial to most people out there, but I'm struggling with this.
I have a data set which contains the closing prices (properly adjusted for dividends and splits) for several hundred securities and the closing prices for a general stock market index (S&P 500). I have no problem getting it into R with RODBC and manipulating it. There are no missing values. I can
2004 Feb 03
2
[Bug 800] reverse lookup solaris
http://bugzilla.mindrot.org/show_bug.cgi?id=800
Summary: reverse lookup solaris
Product: Portable OpenSSH
Version: -current
Platform: UltraSparc
OS/Version: Solaris
Status: NEW
Severity: minor
Priority: P2
Component: sshd
AssignedTo: openssh-bugs at mindrot.org
ReportedBy: koen.maris at
2008 May 28
1
Can plot() be used for multiple plots?
Greetings helpRs --
I would like to use plot() to plot two cumulative distribution curves so
that a user of the plot can compare the distributions of the two
variables. The following code draws two distributions separately, but I
cannot find the instruction necessary to add a second cumulative
distribution to the first one.
Any suggestion would be very welcome.
x1 <-
2008 Apr 25
3
How to overlap two density plots?
Hi,
How can I overlap two density plots?
A <- c(8,10,10,11,11,11,12,12,12,12,11,11,11,10,10,7)
B <- c(11,13,13,14,14,14,15,15,15,15,14,14,14,13,13,10)
plot(density(A))
plot(density(B))
Regards,
Emre
P.S. There's a overlap.density function in package DAAG
Is there another way to do this?
--
---
Emre ÜNAL
http://www.geocities.com/dusemre
[[alternative HTML version
2008 May 31
2
How to identify overlapped items from two list and plot them?
Hi list,
I have a question on how to identify the overlapped items from two vectors:
>x<-c(0,1,2)
>y<-c(1,2,2,3)
and plot the number of the overlapped as well as non-overlapped in a
diagram?
Thanks much,
Allen
[[alternative HTML version deleted]]
2008 Apr 28
3
data.frame indexing
Dear R Community, A simple problem (for some of you): I wish to index a
data.frame by all elements NOT in my index
E.g.:
> a<-as.data.frame(matrix(rnorm(100),nrow=10,ncol=10))
> b<-which(a$V1>0.8)
> b
[1] 1 4 6 10
> a_indexb<-a[b,]
> a_notIndexB<-a[!b,]
> nrow(a_notIndexB)
[1] 0
Indexing a on b is not a problem (a_indexb), but how can do get only the