Displaying 20 results from an estimated 10000 matches similar to: "number precision"
2008 Jan 27
2
maptools no such file
Hello,
I'm having problems reading a shapefile with read.shape (maptools). I'm absolutely sure my file is there, but I get "no such file". The wd is ok, since read.table for example does find the file.
> getwd()
[1] "D:/somedirectory/R scripts"
> read.table("cities.shp")
Error in read.table("cities.shp") : empty beginning of file
In addition:
2007 Nov 20
2
barplot problem
Hello,
I'm trying to find out how I can move the y axis label of a horizontal barplot further away from the axis, in order to avoid overlap between the names (which I have rotated using las=1) and the label. I have been fiddling with the graphical parameters but nothing seems to work. Maybe a graphical representation of the graphical parameters would be helpful (cf the CSS box model).
2007 Dec 24
1
curve fitting problem
I'm trying to fit a function y=k*l^(m*x) to some data points, with reasonable starting value estimates (I think). I keep getting "singular matrix 'a' in solve".
This is the code:
ox <- c(-600,-300,-200,1,100,200)
ir <- c(1,2.5,4,9,14,20)
model <- nls(ir ~ k*l^(m*ox),start=list(k=10,l=3,m=0.004),algorithm="plinear")
summary(model)
plot(ox,ir)
testox <-
2006 Sep 19
2
bubble plot problems
Hi,
I'm having some problems with a bubble plot (ps package). I don't want
tick marks on all four sides (just two), I want to have a smaller font
size, and I would like to be able to define bubble sizes shown in the
legend (now it shows 0, 0, 0, 9.747 and 4265.757 which is not really
convenient. Passing some of the standard plot arguments didn't help (in
fact, nothing changed).
2005 May 05
0
some pairs() questions
> From: Pieter Provoost
>
> I'm sure it's possible to display the variable names by making a small
> change to the code. Someone did this last week but I can't
> contact this
> person now to ask how. I tried this
>
> vars <- names(Rdata)
> pairs(Rdata, labels=vars,...)
>
> but that doesn't work (formal argument "labels" matched by
2008 Jul 01
2
how to automatically maximize the graph window (under XP) ?
Hello,
I'm trying to produce graphs automatically from data stored in database.
Before saving the graphs, I would like to maximize the size of the graphs.
The best would be to directly open maximized windows with x11() but up to
now I failed doing it.
I tried different widths and heighs but I never managed to obtain a full
screen window.
Is there a command to do it ?
Thanks in advance,
Ptit
2009 Dec 19
3
DROP and KEEP statements in R
What is equivalent to DROP or KEEP statements of SAS in R?
--
This message was sent on behalf of sarjinder at yahoo.com at openSubscriber.com
http://www.opensubscriber.com/messages/r-help at r-project.org/topic.html
2006 Mar 09
2
How to assign channels for asterisk
helleo ,I have one wildcard installed on the server,and configured it.there are
two modules which both FXOs .all configurations complete,and when we start asterisk use "asterisk -vvvvc",it shows asterisk ready,no warnings.afterwards when the sever connected to the PSTN in the one port which configured,and have a phone line connected to the other port then run
2012 Jun 24
1
uncoerce.... to get real number instead of integer?
Dear R community,
> #I'm using scan() to extract a real number from a file with a complex structure: 156689504.378.
> #My problem is that the number is coerced into an integer.
> #Do you have any ideas for me on how to "uncoerce"? Here is my code and the output:
> #I'm using R version 2.15.0 (2012-03-30)
>
> net3 <- patient.net3 <-
2006 Oct 16
3
lda
I'm trying to do a linear discriminant analysis on a dataset of three
classes ("Affinities"), using the MASS library:
> data.frame2 <- na.omit(data.frame1)
>
> data.ld = lda(AFFINITY ~ ., data.frame2, prior = c(1,1,1)/3)
Error in var(x - group.means[g, ]) : missing observations in cov/cor
What does this error message mean and how can I get rid of it?
Thanks!
Pieter
2011 Jun 10
2
Counting the Number of Letters in a row
I'm trying to find the total number of letters in a row of a data frame.
Let's say I have the following data frame.
f1 <- data.frame(keyword=c("I live in Denver", I live in Kansas City, MO",
"Pizza is good"))
The following function gives me the number of characters in each string.
So for "I live in Denver", I get 1, 4, 2, and 6. However, I want to
2014 Nov 13
1
[PATCH 52/56] drivers/char/virtio: support compiling out splice
Compile out splice support from virtio character driver when the splice-family
of syscalls is not supported by the system (i.e. CONFIG_SYSCALL_SPLICE is
undefined).
Signed-off-by: Pieter Smith <pieter at boesman.nl>
---
drivers/char/virtio_console.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/drivers/char/virtio_console.c b/drivers/char/virtio_console.c
index
2014 Nov 13
1
[PATCH 52/56] drivers/char/virtio: support compiling out splice
Compile out splice support from virtio character driver when the splice-family
of syscalls is not supported by the system (i.e. CONFIG_SYSCALL_SPLICE is
undefined).
Signed-off-by: Pieter Smith <pieter at boesman.nl>
---
drivers/char/virtio_console.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/drivers/char/virtio_console.c b/drivers/char/virtio_console.c
index
2012 Dec 17
4
Samba3 joining W2k3 as member server
Hi list,
I have tried with all my might to get a samba3 server (Ubuntu 12.04.1 LTS) to join a Windows 2003 domain as a member server, without any luck. I have used,from memory, the official way of doing this (aka, from the samba.org website). No matter what settings I use in smb.conf, the server always joins as a domain controller. This doesn't seem to break the domain how ever. All I am
2005 Oct 25
1
performance of nchar
Hi,
Is nchar function knowingly slow in R? I'm doing some string
formatting that requires multiple call to nchar, and nchar seems to be
very slow.
Experiment 1, pass nchar inside sprintf, and it takes 0.7 seconds
> system.time(for (i in 1:10000)
+ str = sprintf('0005%020d', nchar(op))
+ )[3]
[1] 0.7
Experiment 2, get the length of op separately using nchar, and then pass
2008 Jul 27
3
license server platform authentication
I am trying to get a program running under wine that needs to connect to
a flexlm license server. Unfortunately I get denied when authentication
because the license is a 'windows' license and I am running the program
from a linux platform.
Is there a way to make wine authenticate as windows? I am using the
'windows version' of the program, so I am assuming that there is
2006 Aug 15
4
escaping html?
Hi
I have a wysiwyg html ditor in my app. How do I escape html written to the
database and encoding when I display the content>
Ty
Pieter
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060815/d8c50941/attachment.html
2006 May 22
2
Recommended SIP phones?
I am dying here with linphone (not sure if it is crap software or just me
being an idiot) but out of the box debian installations of two linphones fail
with a "Got SIP response 415 "Unsupported Media Type" back from 192.168.1.3"
Can anybody recommend a particular SIP soft phone that broadly satisfies the
following criteria?
1. Run on linux.
2. Simple to use and setup.
3. Is
2005 Feb 26
4
Managing lot''s of VPN''s
Dear Shorewall list,
I need to connect a firewall to various remote sites (VPN''s) at the same
time, but i do not have control of any of the remote subnets and/or the
given IP address: The firewall is just a client in all of the VPN''s.
So, as i see it, the remote subnets (mostly rfc1918) are doomed to get
into conflict when they happen to be connected at the same time. For
2006 Aug 11
6
css - location of files.
Hi all.
I have the following scenario.
http://myapp/site1 is using <%= stylesheet_link_tag ''myapp_standard'' %>
to define the stylesheet for layout, I have myapp_standard.css in
/public/stylesheets and it works fine.
However, in the stylesheet I define a image to use for my site
background. eg:
html, body{
background-image: url(mysite_background.jpg);
padding-top: