Displaying 20 results from an estimated 3000 matches similar to: "read.table() and scientific notation"
2005 Dec 14
1
Looking for a sort of tapply() to data frames
Hi,
I read about the by() function, but it does not seem to do the job I
need. Here is the problem:
Say - I have a data frame, with three columns. The first one contains
strings that describe the data points, with repeats (for example, days
of a week). The other two contain numbers. Something like that:
Day val1 val2
Tue 1 2
Tue 2 8
Tue 3 5
Wed 1 2
Wed 1 8
etc.
Now I would
2006 Oct 10
0
Fwd: read.table() and scientific notation
note: this e-mail is supposed to precede my coerce hack one.
As an example of the other posters mentioning colClasses, with some
debugging notes:
# create a pretend file for this example
> Lines <- scan(sep="\n", what="")
a 1 3e-8
b 2 1e+10
c 3 e-10
d 4 e+3
> file <- textConnection(Lines)
# import as you would a file, and specify the column types.
> T
2006 Oct 06
8
VServer Support
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi *!
I''m currently working on integrating VServer support into puppet. I have
uploaded a prototype for managing interface configuration to the Cookbook at
http://reductivelabs.com/cookbook/VServerRecipes
and would very much appreciate feedback about style and functionality.
Regards, David
- --
- - hallo... wie gehts heute?
- - *hust*
2008 Oct 10
4
how to convert source code in windows package for linux (ubuntu)
Hi All,
I was wondering if anyone here as successfully converted a package for
windows to one that will work in Linux?
What are the necessary steps if you have the source code?
Thanks,
Josh
2018 Mar 17
1
Hash Sum mismatch @ uni-muenster mirror
Hello everybody,
for serveral hours we had "Had Sum mismatch" errors for the following
packages from the mirror of U of M?nster -- r-project works fine as a
temp. fallback:
r-cran-cluster 2.0.6-2~stretchcran.0
r-cran-foreign 0.8.69-1~stretchcran.0
r-cran-kernsmooth 2.23-15-3~stretchcran.0
r-cran-class 7.3-14-2~stretchcran.0
r-cran-nnet 7.3-12-2~stretchcran.0
r-cran-spatial
2004 Sep 23
1
How to improve the quality of curve/line plots?
Dear list,
I'm using the windows version of R. When plotting a curve or a line for time series with annual data , e. g. GDP growth 1991-2003, the line seems to exist of a lot of smaller lines. Printing the results the curves and lines seems to be "unclean" (because of using small resolution bitmaps?). Comparing the result of R with the same results of Excel the lines in excel seems
2007 Feb 01
12
FOSDEM?
Hi all,
A couple of people are trying to convince me to come to FOSDEM in
Belgium at the end of February. I''m a bit hesitant because I''ve been
doing so much travel, but LinuxConf.au was a great experience and
seems to have really helped get exposure to Puppet. There seems to
be a pretty strong European contingent of Puppet users, and it''d be
great to meet
2004 Sep 24
5
AW: How to improve the quality of curve/line plots?
Thanks for the tip using a smoothing technique before plotiing in order to get a curve instead of a line connecting the observations.
But that's not the solution for my main problem with the "unclean" line plot. In order to show my problem let's take this simple example:
> xval <- c(1, 2, 3, 4, 5, 6, 7, 8)
> yval <- c(10, 30, 40, 50, 70, 90, 100, 110)
> plot
2016 Jun 09
1
cumsum method in Math group
When running
a = runif(10)
class(a) = "foo"
Math.foo = function(x, ...) {
NextMethod(.Generic)
}
signif(a, 3)
cumsum(a)
I don't understand why cumsum strips the class, but signif does not.
Both claim in the documentation that "These are generic functions:
methods can be defined for them individually or via the ?Math? group
generic."
--
Edzer Pebesma
Institute for
2019 Jun 04
2
MacOS parallel::makeCluster fails
Hi all,
The call parallel::makeCluster(1L) hangs infinitely on my MacOS machine which seems to be already reported by some people (e.g., https://stat.ethz.ch/pipermail/r-devel/2018-February/075565.html).
However, the solutions posted on SO, GH or R-devel do not work in my case.
So far, I unsuccessfully tested ?
1. Couple of reboots
2. Adding 192.0.0.1 to /etc/hosts
3. Using R.app
2011 Sep 14
1
S4 method dispatch
List,
In order to get rid of some old, unreadable S3 code in package sp, I'm
trying to rewrite things using S4 methods. Somewhere I fail, and I
cannot sort out why. In order to isolate the problem, I created two
functions, doNothing<- and dosth, and both should do nothing. The issue
is that in most cases they do nothing, but in some cases dosth(obj)
changes the class of obj and breaks with
2008 Jun 24
3
heatmap and continuous variable
Dear All,
I want to plot a heat map with annotated columns. Both functions heatmap
(stats) and heatmap.2 (gplots) can plot a horizontal side bar that can
be used to visualize a categorical variable. In addition to a
categorical variable, I would like to visualize a continuous variable.
This could be done by small bars, a curve or simply numbers above the
columns. (The Sample names are already
2014 Nov 18
2
Windows 8.1 client not able to see and connect to samba server
Hi,
I am using a samba server for file sharing in our companies IPv4 based
LAN. The samba server is running as VM on a ubuntu 14.04 qemu/kvm host
using ubuntu 14.04 as OS.
I am using the lastet version available for samba:
4.1.6+dfsg-1ubuntu2.14.04.3
My Windows 7 and Windows 8.1 client are able to find the server and
connect to the shares but the Windows 8.1 client of a colleague is not
able to
2019 Jul 12
1
MacOS parallel::makeCluster fails
Hi Thomas,
thanks for your reply (and thanks for your patience...).
I am now using the following minimal reprex:
> library(parallel)
> cl <- makeCluster(2L)
I freshly started the machine and did not open any other app. Just R.app (3.6.1).
After executing the second line of code, R seems to hang infinitely and does not respond.
The R process itself uses almost no CPU.
Unfortunately,
2004 Oct 14
3
Filling polygons with points
Dear list,
are there any possibilities to fill a polygon with a point pattern or with a symbol pattern like '+' oder '-' instead of shading lines?
Thanks in advance
Dr. Michael Wolf
Bezirksregierung M??nster
Dezernat 61
Domplatz 1-3 48161 M??nster
Tel.: ++ 49 (02 51) / 4 11 - 17 95
Fax.: ++ 49 (02 51) / 4 11 - 8 17 95
E-Mail: michael.wolf at bezreg-muenster.nrw.de
2008 Jan 14
29
Ebb Web Server
Hello Mongrel Users,
I''m writing a web server called Ebb. It''s written in C, makes use of
the Mongrel HTTP parser, and uses libev its event loop. The goal is to
be small, fast, and language independent server that can host web
frameworks. I have written a small Ruby binding which provides a Rack
handler - this will allow Ebb to host Rails, Merb, and other Ruby
frameworks. In the
2007 Mar 01
2
Struggle with Postfix/Dovecot-auth and SASL
Hi List,
I just updated an old sendmail installation to a modern postfix/dovecot system with mysql backend. Everything works fine but SMTP-AUTH fails with some clients.
The problem is, that with PLAIN (old) clients send the base64 coded form: USERNAME\0USERNAME\0PASSWORD which, as i understand dovecot interprets as MASTERUSER\0USERNAME\PASSWORD. New clients send \0USERNAME\0PASSWORD which works
2018 Feb 20
3
Is there socksify script for dynamics forwardings to unix domain sockets?
Hi!
I noticed that `ssh -D /tmp/socket $myhost` will actually provide a socks
server listing on the unix domain socket /tmp/socket (this does not appear to
be documented, though it is semi-documented for -L and -R).
Do you know of any "socksification" script to go along with it, in the spirit
of tsocks of socksify (from dante)? Those do not seem to support socks
servers running on
2002 Jan 27
1
DBM databases for R?
Hello!
Can I use DBM databases (as they are used in Perl) for the import of
large datasets in R?
Thanks in advance for your help,
Petra Steiner
-
---------------------------------------------------
Petra Steiner
Arbeitsbereich Linguistik
Universitaet Muenster
Huefferstrasse 27
48149 Muenster
2008 Apr 10
6
How to create a legend without plot, and to use scientific notation for axes label ?
Hi,
I have a 3 by 2 plots per page, and would like to place a legend on the last
region. How to do that ?
Also, is there any way to specify scientific notation for axes label ?
[[alternative HTML version deleted]]