Displaying 20 results from an estimated 3000 matches similar to: "How can we ring a bell in Windows?"
2005 Oct 11
3
Is this correct?
Dear userR,
With the following results, are they correct or acceptable?
> x <- c(1.4, 1.2, 2.8)
> sum(x)
[1] 5.4
> sum(x) == 5.4
[1] FALSE
> (1.4 + 1.2 + 2.8) - 5.4
[1] -8.881784e-16
> (1.4 + 1.2) - 2.6
[1] -4.440892e-16
> 2.6 - 1.5 - 1.1
[1] 0
> version
_
platform i386-pc-mingw32
arch i386
os mingw32
system i386, mingw32
status
major 2
minor
2000 Dec 22
1
Do we have similar function to Minitab's INDICATOR?
Dear R-Friends,
Do we have a similar R function to work like Minitab's INDICATOR?
INDICATOR C2, C11-C15
C2 C11 C12 C13 C14 C15
2 1 0 0 0 0
2 1 0 0 0 0
5 ------> 0 0 0 1 0
3 0 1 0 0 0
6 0 0 0 0 1
5 0 0 0 1 0
* * * * *
2000 Aug 04
1
xlab=expression(...) won't work.
Dear all,
I found that the plotmath seems won't work on xlab in plot
(and other plot functions including matplot, contour, ...):
> plot(1:10, 1:10, xlab=expression(alpha))
the plot shows nothing for x-label.
My R-version is R.1.1.0
> version
_
platform Windows
arch x86
os Win32
system x86, Win32
status
major 1
2002 Aug 06
1
Questions about lexical scope
Dear R-users,
The numerical integration example given in Gentleman and Ihaka (2000),
"Lexical Scope and Statistical Computing," JCGS, 9, 491-508,
is very interesting and helpful in understanding how lexical scope
is about.
However, I got some questions that I just can't figure out.
First all, allow me to copy the two functions given by the authors:
midpoint <- function(f, a,
2002 Sep 08
2
Error on "Load source file" of iESS
Dear R and ESS users,
I got the following error when trying to load a source file
(smart.R in directory E:\R\)
into XEmacs through the menu iESS and "Load source file":
Error in file(file, "r") : unable to open connection
In addition: Warning message:
cannot open file `E:Rsmart.R'
It seems the slash "/" or "\" being missing, but I don't know
2000 Dec 26
1
A "bug" in Rconsole?
Dear R-friends,
After change (and saved) font style to "bold" in GUI preferences from
menu-bar Edit,
R 1.2.0, Win98, the "buflines" in the file Rconsole changed to "bufiles"
and that causes
error in invoking R next time.
Is this a bug?
Merry Christmas & Best regards,
C. Joseph Lu
Department of Statistics
National Cheng-Kung University
Tainan, Taiwan
2000 Dec 20
1
Question about coplot() ...
Dear R-friends,
For the following data:
> xy
x y i
1 731 0.313 2
2 739 0.340 2
3 790 0.373 2
4 855 0.451 2
5 980 0.608 2
6 575 0.156 1
7 608 0.207 1
8 630 0.249 1
9 670 0.332 1
10 838 0.377 1
11 964 0.466 1
> coplot(y ~ x|i, data=xy)
coplot gives 3 panels, rather than 2, namely one for i=1 and one for
i=2.
Futhermore, when I extand data fram xy to have i=3 as follows:
2002 Jan 10
0
xyplot() in Package lattice seems won't work?!
Please forgive me if this has been asked and answered,
since I just can't find out.
As I try the example given in the help page of xyplot() as follows:
> library(lattice)
Loading required package: grid
Attaching package `lattice':
The following object(s) are masked from package:base :
levels
> data(quakes)
> xyplot(long ~ lat , data = quakes)
R crashed!
2003 Oct 04
1
How to use panel.qqmathline?
Dear R users:
How can I use panel.qqmathline, in package lattice, to add
straight lines onto the plots generated by qqmath?
I read help pages of qqmath, panel.qqmathline, xyplot, ...,
but just can't one example that shows how to make it work.
For example,
> data(sleep)
> qqnorm(~ extra | group, data=sleep, aspect=1)
how can I use panel.qqmathline?
Thanks very much for your help,
2001 May 31
1
Why color changed in ps.file?
Dear R-friends,
When I selected "Save as postscript" via mouse left-button on the active
"R Graphics" window, those colored lines I made in the plot changed in
the saved postscript file, e.g., color blue becomes green, red becomes blue,
...
I have not changed any setting/options.
What's going on?
My version of R is
> version
_
platform i386-pc-mingw32
arch
2002 Jan 10
1
When the "official" copy will be corrected?
Since I just experienced another crash on R 1.4.0 for Windows
(this time is on plot(x, y) after using gls() of package nlme) and
am told (thanks Andy) that is might due to the "official" version
of binary copy.
I am also told that
"The one provided by Prof. Ripley is known to work.
This has been asked several times on the list."
Then, I am wondering when the
2000 Dec 18
1
How can I get "A$Title"?
Dear R-friends,
I have whole bunch of objects, say, A, B, ..., Z,
all of them are "list" and haveing "Title" (a character string)
as their first element.
E.g.,
> A$Title
[1] "Airplane Component"
What I like to do is to find a way to printout all the Titles at one
time.
I tried the following:
> paste(LETTERS, "Title", sep="$") ->
2000 Dec 22
1
Found "answer" to my question on MTB's INDICATOR
Dear R-Friends,
Sorry to bother everyone with my earlier question:
"Do we have similar R function to work like Minitab's INDICATOR?"
I found the way to make things work: e.g.,
> x <- c(2,2,5,3,6,5,NA)
> model.matrix(~ factor(x) - 1)
factor(x)2 factor(x)3 factor(x)5 factor(x)6
1 1 0 0 0
2 1 0 0 0
2001 May 01
1
How to use install.packages()
Dear R-friends,
As the binary windows version of R being distributed,
what is the correct way to install contributed packages without
using winst.exe as before?
The answer in "R for Windows FAQ" says:
"You can install pre-compiled packages either from CRAN
or from a local .zip file by using install.packages: see its help page."
But the information available in
2004 Oct 21
2
How to calculate a double integral ...?
Dear R-Friends,
How can I calculate a double integral like
\int_a^b \int_c^y g(x, y) dx dy
where a, b, c are constants, g(x, y), e.g.,
g(x, y) = tan(x + y).
I tried to nested integrate() and adapt(),
but none of them working, seemingly due to the
limits can not be specified constants.
Best regards,
C. Joseph Lu
Department of Statistics
National Cheng-Kung University
Voice:
2007 Jan 06
1
ancient directx version support
What is the status of support for directx2 apps?
The "failed to create surface" error in MissionForce: Cyberstorm
seems to have persisted forever...
I have a +relay log of the said game launch session, (if
somebody wants it, i can provide the full version) --
it appears that the graphics backend call pair
which causes trouble is to winex11.drv.GetDCEx()/
2004 Aug 06
2
seeking a Speex programmer for Windows
I am searching for a programmer whom I can hire to develop a simple Speex
audio recording and playback program for use in Windows. If anyone is interested
in this project, please contact me at extrastuff123@aol.com for more details.
If you know of anyone who might be capable and available for hire, please
let them know of this offer. Thank you for your help.
<p><p>--- >8
2005 Jun 07
1
Problems with userPassword when it's base64 encoded
I'm switching from OpenLDAP to the newly released Fedora Directory
Server (formely known as the Netscape Directory Server) as a LDAP
backend for my Samba domain.
I'm now faced with a problem regarding how Fedora DS handles the
userPassword field.
Unlike OpenLDAP it encodes it in base64 so instead of reading
userPassword: {SSHA}0lP+r3Z1NVan7Caf4CG9oSgnTbQRrv/p
it reads:
userPassword::
2012 Oct 21
2
DNS Domain Name vs Samba4 Domain Name vs NT4 Domain Name
Hi,
I am unclear on the relationship between the hostname, DNS domain,
server's FQDN, NT4 domain name, etc.
Quoting the HOWTO:
"For the rest of the HOWTO we will assume that your DNS domain name is
samdom.example.com,
your short (also known as NT4) domain name is samdom,
your Samba server's hostname is samba
and the IP Address of your Samba server is 192.168.1.2."
What is
2013 Apr 24
0
[LLVMdev] Another missed optimization opportunity?
Hey Scott,
On Wed, Apr 24, 2013 at 1:40 PM, Scott Pakin <pakin at lanl.gov> wrote:
...
>
> Is there some semantic reason that the increments aren't allowed to be
> combined, or is this a missed optimization opportunity in LLVM?
>
>
I believe that the wildcard is the extern keyword.
Since the external symbol isn't resolved until link time, I suspect that it
would be