Displaying 20 results from an estimated 7000 matches similar to: "R interprets symbol as q()"
2008 Aug 15
6
continuous coloring of a polygon
R2.7.1, WinXP
Hi,
I have a polygon inside a circle as follows:
radius <- 3
x <- seq(-radius,radius,length=2000)
y <- sqrt(radius^2-x^2)
xx <- c(x,-x)
yy <- c(y,-y)
plot(xx,yy, xlim=c(-radius,radius),ylim=c(-radius,radius), type="l",
ylab="", xlab="", axes=F)
radius <- 2.7
x1 <- seq(-radius,radius,length=2000)
y1 <- sqrt(radius^2-x1^2)
2008 Jun 24
4
running R-code outside of R
R 2.7.0, WinXP
Hi list,
I have written some code in R that I would like to share with others who
are not R-users. Is there a way to compile the code so it will run
outside of R?
The best thing would be a functionality to compile the code into a ".exe"
file that does not require the user to have R installed or to know how to
use R. The persons I would like to make the program available
2008 Jul 08
2
Change in behaviour of sd()
Hi
I have just upgraded from R2.6.0 to R2.7.1 (running on Windows) and a part
of my code that previously ran ok now gives an error. The following is a
simple example to demonstrate my problem.
> a <- array(c(1,2,3,4,5,6,rep(NA,6)),dim=c(6,2))
> apply(a,2,sd,na.rm=T)
In R2.6.0 this gives (which is what I would like)
[1] 1.870829 NA
In R2.7.1 it gives the following error
2011 May 05
1
issue with "strange" characters (readHTMLTable)
Thank you. The line of code you give certainly resolves several of the
issues.
I didn't realize that font support is such a tough matter to realize. Let me
express my gratitude to those who provide this for us in R.
On 04-05-11, Prof Brian Ripley <ripley at stats.ox.ac.uk> wrote:
Oh, please!
This is about the contributed package XML, not R and not Windows.
Some of
2011 May 04
1
issue with "strange" characters (locale settings)
WinXP-x32, R-21.13.0
Dear list,
I have a problem that (I think) relates to the interaction between Windows
and R.
I am trying to scrape a table with data on the Hawai'ian Islands, This is my
code:
library(XML)
u <- "http://en.wikipedia.org/wiki/Hawaii"
tables <- readHTMLTable(u)
Islands <- tables[[5]]
The output is (first set of columns):
2008 Jul 17
2
Fw: how i can install Rgraphviz in R2.7.1
--- On Tue, 15/7/08, haani hanni <maaryam_khan@yahoo.com> wrote:
From: haani hanni <maaryam_khan@yahoo.com>
Subject: how i can install Rgraphviz in R2.7.1
To: "Nabble" <support@nabble.com>
Cc: r-help-request@r-project.org
Date: Tuesday, 15 July, 2008, 1:39 PM
hello
i am a new user of R.i have window XP Proffessional in my P.C.i wanted to make the graphs of my
2008 Jul 17
3
Hiding information about functions in newly developed packages
Dear UseRs:
I intend to write a package to handle the basic operations a revenue management
analyst has to deal with on a regular basis (e.g., demand untruncation,
capacity allocation, pricing decisions, etc.). Following the directions posted
by Peter Rossi (Making R Packages under Windows: A Tutorial, January 2006) I
was able to build an interim package that currently consists of one simple
2008 Aug 22
1
Different results between v2.6.1 and 2.7.1 (PR#12579)
Hello~
When I use R2.6.1, the following work correctly.
par(mar=3Dc(4.2,3.1,0.5,0.5), oma=3Dc(2,2,2,2))
boxplot(count ~ spray, col =3D "lightgray")
box("inner", lty=3D"dotted", col=3D"red")
box("outer", lty=3D"solid", col=3D"green")
=20
But when I use R2.7.1, the outer region seems too large.
I don=A1=A6t know what
2008 Sep 27
1
Append selectively to components of a list
Dear R users:
Is there a way to append selectively to components of a list (if possible, loops are to be avoided)? To illustrate the point, in the example below, I would like to append 99 to vector b of the list l.
> l <- list(a=c(1), b=c(2,3), c=c(4,5,6))
> l
$a
[1] 1
$b
[1] 2 3
$c
[1] 4 5 6
As you may expect, the result should look like:
> l
$a
[1] 1
$b
[1] 2 3 99
$c
[1] 4 5
2008 Aug 14
5
help with my sloppy syntax
R-ians:
After some effort I coerced my code to do what I want but my syntax is a
kludge. Suggestions on more elegant syntax?
par <- NIM.results$par
do.call("Draw.NIM.POD.curve", list(par[1], par[2], par[3], par[4],
par[5], a.hat.decision, .... et cetera ...
It seems that I should be able to avoid defining the variable "par" and then
specifying each of its elements,
2008 Aug 06
3
Help in running Stata dataset in R
Dear All,
I installed R 2.7.0 and tried to call a dataset i had ealier own called
on R2.6.2 but i keep on getting an error:
use("maltreat.dta")
Error in fromchar(x) :
character string is not in a standard unambiguous format
Tried doing the same with R2.7.1 but i get the same error.
However if i call the same on R 2.6.2, there is no error:
use("maltreat.dta")
> des()
2006 Oct 31
4
'make check' fails on d-p-q-r-tests (PR#9326)
'make check' fails on d-p-q-r-tests:
> ##-- non central Chi^2 :
> xB <- c(2000,1e6,1e50,Inf)
> for(df in c(0.1, 1, 10))
+ for(ncp in c(0, 1, 10, 100)) stopifnot(pchisq(xB, df=df, ncp=ncp) == 1)
Error: pchisq(xB, df = df, ncp = ncp) == 1 is not all TRUE
Execution halted
Here is some more testing:
xB <- c(2000,1e6,1e50,Inf)
for(df in c(0.1, 1, 10)) for(ncp in c(0, 1,
2017 Sep 14
2
JRE 8.1 for CentOS6
On Thu, Sep 14, 2017 at 11:08 AM, Darr247 <darr247 at gmail.com> wrote:
>
>
>> I have some software that says it requires JRE 8.1 or higher.
>
> That's very odd, since technically JRE 8 is java 1.8 (and JRE 7 is/was 1.7;
> JRE 6 was 1.6, et cetera).
>
>> If I go to
> http://www.oracle.com/technetwork/java/javase/downloads/jre8-downloads-21331
> 55.html
2005 Jun 20
2
Data Parsing
Hello. I have looked at R Site Search for this problem, and it didn't
give me exactly what I needed.
Consider this dataset called "results". It has the following information:
Student Day Subject Score
Mary 1 Math Failed
David 2 Science Passed
Bob 4 Reading Passed
Marie 4
2008 Oct 24
1
changed behaviour of 'get' in 2.8.0: request for unchange
There is an unannounced and non-backwards-compatible change to the behaviour of 'get' in R2.8.0. 'get'ting a missing value now causes an error, whereas hitherto it's just returned a "missing" object. For example, in R2.8.0 this happens:
test> getto <- function( x) get( 'x', sys.frame(1))
test> getto()
Error in get("x", sys.frame(1)) :
2013 Jul 11
2
listner reports
i am trying to see listener count and prepare report but it would be nice
if there is some default log for generating listener graph.
thanks for thoughts.
With Best
-Ashwin.
+91-9959166266
On Thu, Jul 11, 2013 at 3:22 PM, Yahav Shasha <yahav.shasha at gmail.com>wrote:
> Better alternative to parsing the log files would be using the url auth
> mechanism and "listener_add"
2006 Dec 04
4
[LLVMdev] combined arm patch
On 12/2/06, Jim Laskey <jlaskey at apple.com> wrote:
> Rafael,
>
> Please bracket portions of your changes that involve modification of
> C/C++ source code. For cases of modifying configuration scripts and
> make files, use your best judgement. Obviously having the brackets
> emitted in generated code is problematic (line numbers et cetera), so
> don't bother in
2003 Nov 21
2
method names conflict.
Hi!
I would like to give my objects functions like "subset", "union", et cetera and name it also in this way.
But this functions names are already used in the base package and they are not generic.
I am right in that if they would be generic then i still can use the neat names with my objects?
I have the impression that there are more and more packages are going to be
2008 May 10
3
(PR#11281) Bug in R 2.7 for over long lines
On Sat, 2008-05-10 at 11:19 +0100, Prof Brian Ripley wrote:
> You will see the current code is different, and your 'fix' is not needed=20
> nor applies in R-devel.
would be nice...
> You failed to provide an example to reproduce the alleged bug, but the=20
well the bug was obvious, I told that I can trigger it and that the
proposed fix fixed it - no need to provide an example.
2008 Aug 26
1
lattice: plotting an arbitrary number of panels, defining arbitrary groups
R Friends,
I'm running R2.7.1 on Windows XP.
I'm trying to get some lattice functionality which I have not seen
previously documented--I'd like to plot the exact same data in multiple
panels but changing the grouping variable each time so that each panel
highlights a different feature of the data set. The following code does
exactly that with a simple and fabricated air quality data