Displaying 20 results from an estimated 10000 matches similar to: "Wrong text() adjustment with (math)expression and "\n" (PR#299)"
2004 Nov 19
4
3d Map with bars
Apologies in advance for the question. I am trying to draw a map of the US
as a surface plot so that I would be able to drop bars on the different
states (something like Uwe Ligges' scatterplot3d example 4). I am not sure
where to start looking for such a beast. If anyone has any pointers,
ideas, I will be grateful.
TIA,
Partha
2003 Nov 14
5
A suggestion regarding multiple replies
Please don't take this the wrong way. There are a lot of extremely helpful
people who subscribe to r-help.
I was wondering if it is time to adopt a strategy a-la Splus help whereby
people reply to the author and the author summarizes all the replies?
Just a thought and have a good weekend.
Partha
2003 May 29
3
Odd behavior of strptime
The example from the help page for strptime has the following oddity:
> dates <- c("02/27/92", "02/27/92", "01/14/92",
+ "02/28/92", "02/01/92")
> times <- c("23:03:20", "22:29:56", "01:03:30",
+ "18:21:03", "16:56:26")
> x <-
2004 Nov 08
1
can one evaluate an expression in a comment? (or insert resultsinto history?)
But that doesn't put the result into the history buffer, to be written
to a file only later when I savehistory(filename).
Bert Gunter also suggested ?capture.output and ?textConnection,
but I cannot see how to get text into the history buffer as comments,
but with evaluated expressions (values).
I know how to use paste, sink, write, etc. but nothing that I can see
inserts into the history
2001 Sep 27
4
using the pfe editor with R 1.1.3 under windows 2000
I am in the process of setting up R1.3.1 on a new computer running windows
2000. I am having problems running the PFE text editor simultaneously
within R for editing functions and outside R for editing
ordinary text files. The PFE editor behaves as I expected, if it is opened
in R AND but no other PFE window is open outside R. Similarly, it also
works fine if I am editing a text file outside
2000 Mar 22
4
R-release dynamic load problem on HPUX10.20
Hello,
I just pulled the patched release:
R-release Version 1.0.0 Patched (March 19, 2000), on HPUX10.2
I am having dynamic library load problems. I configured with:
./configure --prefix=/home/absd00t/local --with-readline --with-x
After changing etc/Makeconf to take -lblas out of libs (the blas
library provided by the system is not a shared library), system was
built without any interruptions.
1999 Jul 27
3
Summary - Re: R-Graphics
Thanks to all who replied. Mostly the suggestion was to add the argument
horizontal= FALSE to the postscript function. However, I was trying to
generate a landscape graph. The "fault" lies with gs as Peter Dalgaard
pointed out. Under Windows 95, gsview has an option to view landscape or
portrait and therefore this problem does not arise on that platform.
2003 Jan 07
1
axis() color from 1.5.1 to 1.6.1
I see that the definition of axis() has changed from 1.5.1 to 1.6.1 (as
mentioned in the news file for 1.6.0). Axis now has a color argument to
change it's color. However, the following command worked in 1.5.1:
> axis(1, at = c(0.1, 0.2, 1, 5, 10), fg= gray(0.7), cex.axis = 0.8,
col.axis= "red") #plot the axis in gray with annotations in red.
The command no longer works in
2000 Mar 08
3
Error loading ctest
Has anyone noticed this behavior:
> library(ctest)
Error in dyn.load(x, as.logical(local), as.logical(now)) :
unable to load shared library "J:
\STATS\RW1000/library/ctest/libs/ctest.dll":
LoadLibrary failure
> library(ctest)
> version
_
platform Windows
arch x86
os Win32
system x86, Win32
status
major 1
minor 0.0
year 2000
month
2003 Apr 01
1
Bug in Plot.table?
While plotting a table using plot(table), I am not able to suppress the
axes with axes = FALSE. Am I missing something or is it a bug?
For example:
> x <- c(rep(0, 7), rep(1, 4), rep(5, 3), rep(6, 4), rep(8, 10))
> table(x)
> plot(table(x), axes = FALSE) #does not suppress the
axes
> plot(table(x), frame.plot= FALSE, axes = FASLE) #deliberate spelling
1999 Feb 12
1
Fisher's Exact Test
Appology in advance if this has been asked and answered. I am getting different
answers using Fisher's exact test in the package ctest. For example:
x_cbind(c(8, 22), c(31, 29))
fisher.test(x)
Fisher's Exact Test for Count Data
data: x
p-value = 0.04024
alternative hypothesis: two.sided
However, in SAS or other packages on the net the answer I get is p-value=
0.02664.
Is this
2004 Oct 29
3
Warning message if the plot statement breaks into 2 lines
Here is a curious observation. In
> version
_
platform i386-pc-mingw32
arch i386
os mingw32
system i386, mingw32
status
major 2
minor 0.0
year 2004
month 10
day 04
language R
>
Try the following:
> Plot(c(1:100), type = "l
+ ")
Warning message:
plot type 'l
' truncated to first character in: plot.xy(xy, type, pch,
1999 Aug 02
2
HTML Output from R
Task: To generate HTML output from R
Details: I am trying to serve up HTML output from R. That is analyses or
table of data from R saved as HTML output with formatted tables etc. This
file is then called in a CGI script to output to user browser. The CGI
script inspired by Mark J. Ray reads the HTML output, formats the header
and footer and any graphic output if necessary.
My question is: Has
1999 Mar 25
1
Question about Structure
Hello,
Perhaps I am missing something here about the function structure() (Platfrm etc.
in the end?
> structure(1:6, dim= 2:3)
[,1] [,2] [,3]
[1,] 1 3 5
[2,] 2 4 6
> structure(1:6, dim= 3:2)
[,1] [,2]
[1,] 1 4
[2,] 2 5
[3,] 3 6
> structure(1:2, dim= 1:2)
[,1] [,2]
[1,] 1 2
> structure(1:2, dim= 2:1)
[,1]
[1,] 1
[2,]
1999 Nov 12
1
R-0.65.1 Startup
Dear R users,
I have noticed that my R startup is extremely slow. It takes almost 3
minutes from "double-click" to R prompt. I have been running R-0.64.1 till
recently and it took about 30 sec. I still have access to R-0.64.1. When I
started it up, it took about 25 sec. Can anyone tell me if this is a bug in
R or a problem with my machine?
Note: This is after bootup with R being the
2003 Apr 17
18
Validation of R
Hi All
I am really very interested in starting to use R within our company. I
particularly like the open source nature of the product. My company is a
medical research company which is part of the University of London.
We conduct contract virology research for large pharma companies. My
question is how do we validate this software? I wonder if anyone else
has had the problem and might be able to
2003 May 05
5
null plotting symbol ?
I am calling plot() with argument pch as a vector of numeric
symbol codes, the same length as x and y. Is there some code
which produces no symbol - a blank - so that I can come back
with a second call to points() and fill in these locations
using a different fill color and a different symbol size ?
There's always a work-around, but both x and y are generated
on the fly by calls
1999 Apr 22
1
SUMMARY Re: R compiling on SOLARIS 2.6
>
> > We here at HGSI have a consultant doing some statistical work for us.
> > HGSI bought and installed SAS, but our consultant insists that R and
> > Rweb is a better solution. I do not know either package so I do not
> > know, hence we are ditching SAS for R and Rweb. Any comments on this
> > are welcom.
>
ooops, he is not a consultant, he is a full time
1999 Oct 25
1
Summary: SQL-Interface
Some days ago I asked for general methods to access SQL-Databases.
Thanks to:
Terry Westley [twestley at buffalo.veridian.com], partha_bagchi at hgsi.com,
F.Tusell [etptupaf at bs.ehu.es], Michael Lapsley [mlapsley at ndirect.co.uk],
Robert Gentleman [rgentlem at jimmy.harvard.edu], Torsten Hothorn
[hothorn at statistik.uni-dortmund.de]
Several solutions were suggested:
(1) using Michael
1999 Apr 22
2
R compiling on SOLARIS 2.6
We here at HGSI have a consultant doing some statistical work for us.
HGSI bought and installed SAS, but our consultant insists that R and
Rweb is a better solution. I do not know either package so I do not
know, hence we are ditching SAS for R and Rweb. Any comments on this
are welcom.
Now for the real problem. Rweb is very expensive (time wise). The
number of prereqs is way more than I thought