similar to: Fwd: read.table() and scientific notation

Displaying 20 results from an estimated 1000 matches similar to: "Fwd: read.table() and scientific notation"

2006 Oct 10
5
read.table() and scientific notation
Dear all, I am having troubles importing values written as scientific notation using read.table(). I'm sure this is a frequent problem, as many people in my lab have this problem as well, so I'm sure that I just have troubles googling for the right solution. The problem is, that, given a file like that: a 1 2e-4 b 2 3e-8 ... the third column gets imported as a factor, or a string if I
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
2009 Apr 02
0
Plots of envfit (vegan) - placing of vector labels
Dear R folks While preparing figures of 'envfit' plots with vegan for publication, I ran into a layout problem, that I found no solution for in the literature or the help archive: The labels of the vectors that indicate correlations of environental variables sometimes overlap with each other or with other content of the figure. Hence, I would like to rearrange them. Is there a
2011 Nov 14
0
R Development Center(s)
A while ago our institute was approached by a large company, say XXX, who asked whether we would like to become an Xxx development center, as we are active in the same area. After some negotation we did, believing there will be mutual benefits. Some time later, after putting up the Xxx development center logo on the institute home page, my feeling grew that we are also, and probably to a larger
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
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
2012 May 07
0
FW: Overlapping area Script
Dear All I would really appreciate some help with a script which a colleague wrote for me, but I am having problems running (and have not been able to contact my colleague). The script is designed to compare the area of suitable habitat in binary projections of a large number of species current and future distributions, and create an excel file detailing the total area suitable in the
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
2002 Mar 19
0
RODC-Connection to more than one file
Hallo everyone! Has anyone an idee to get out data of more than one Excel-file via RODBC with one single sqlQuery-command? The RODBC-manual shows how the sql command shoot run, but every time I try, I got an error, that the ODBC-connection to one of the files was not successful. If I make a sqlQuery for only one file (e. g. in DatAllg.XLS without variables from DatBev.XLS / b. ...), the
2004 Dec 15
0
AW: Problem with German special characters
Dear Prof. Ripley, thanks for your help. Everything is working fine! With best regards Michael Wolf -----Urspr??ngliche Nachricht----- Von: Brian D Ripley [mailto:ripley at stats.ox.ac.uk] Gesendet: Mittwoch, 15. Dezember 2004 09:01 An: Wolf, Michael Betreff: Re: [R] Problem with German special characters Please do look in the list archives: this is a Windows bug worked around a while back.
2012 Jan 18
1
how to check all CRAN dependencies for my package, before submitting
Suppose I'm author of a package on which quite a few other packages depend. When I submit to CRAN, I run R CMD check on it, Kurt does that too, and if things work out fine, it is accepted. When one or more of the packages that depend on it break because of my changes, however, hell breaks loose. I would like to extend my testing (currently: R CMD check pkg) to running R CMD check on all
2019 Jun 05
0
MacOS parallel::makeCluster fails
Hi Dominik, from the output, the master process could not "listen" on the port where it expects a connection from the worker. We need to find out why. I'd recommend first to create a minimal reproducible example (and one that does not use future, only parallel, and a minimal number of threads, ideally just 2). Then I'd recommend to check if the problem still exists with
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
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,
2006 Apr 25
1
Questions to RDCOMClient
Dear list members, I'm using R in connection with the RDCOMClient and Excel. The more I use the package, the more I'm fascinated of it. The possibilities of R can be brought together with the necessities of outputing my socio-economical research results in MS Office! But I have some special questions concering the use of RDCOMClient and perhaps you can help me solving them: 1. Problems
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
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
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
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