Displaying 20 results from an estimated 1000 matches similar to: "Missing argument error message"
2010 Jan 24
1
R-forge getting the wrong package
After accusing someone of typing 'install.packages("weather")' instead
of 'install.packages("webmaps")', I discovered that R-forge really is
currently returning the wrong source tarball for packages after
'Repitools' in the alphabet.
The data returned from available.package in install.packages goes out
of sync at 'Repitools':
RemoteREngine
2010 Feb 10
1
R Startup configuration file
Currently when R starts up it can be configured by a file of
environment variable specifications and a file of R code. This makes
programmatic modification of startup configuration tricky.
Case in point: I start R, do install.packages("foo"), and up pops the
'choose a CRAN mirror' dialog. I'd like to put a 'Save my choice'
button on that dialog. Currently it would
2010 Feb 24
2
How to read percentage and currency data?
I'm struggling to find any help on this seemingly simple question - how does
one read data with percentage (%) or currency (?,$ etc.) signs? When I try
to read a data file which has any of those symbols in the data fields, they
are read as characters rather than values. Is there a function or library
which can deal with such values?
As an example, I use this sample from one of chinna's
2010 Feb 04
1
how to plot single frames as a movie?
Dear users,
1. Is there a way to create a movie file to play a sequence of single frames
(e.g. plots) at a specified time delay between frames?
2. If making a movie file is not possible, then how can I incorporate in a
loop some delay between the frames to be plotted so I can change the playing
speed?
Sorry if this questions was already in the forum, but I couldn?t find it.
Thanks in advance
2010 Jan 09
4
parsing pdf files
I have a pdf file that I would like to parse into R:
http://www.williams.edu/Registrar/geninfo/faculty.pdf
For now, I open the file in Acrobat by hand, then save it "as text"
and then use readLines(). That works fine but a) I am concerned that
some information may be lost and b) I may be doing this a lot, so I
would rather have R grab the information from the pdf file directly.
So: is
2010 Feb 11
2
difftime result for days not an integer?
Anybody have an idea why I would get a non-integer value for the
number of days here?
> difftime('2004-08-05','2001-01-03',units='days')
Time difference of 1309.958 days
Would you just round off?
Best,
Jon
2012 Jul 20
1
Dissolve polygon
Hi,
I am working with a SpatialPolygonsDataFrame of many islands. There are a
lot of polygons (islands) composing my SpatialPolygonsDataFrame.
I want to extract the elevation of each island.
I need to separate the different polygons (like dissolve function in
arcgis), to have the elevation of each island.
Do you have any idea how can I do that ?
I already read a lot of forum, and read the
2010 Jan 11
1
interfacing R with RFC2445
R Developers,
I cannot seem to find an R package that can read/write iCalendar (RFC2445) files.
I have found the libical library at sourceforge. I've used it briefly so it may be what I need, but again no R interface. I may have to connect the dots myself.
I'm guessing this might be useful for someone other than myself (scrubbing files, performing temporal analysis on events, etc).
2010 Feb 03
1
Package Directory Hierarchy: Recursive inclusion of *.R possible?
Hello,
I would like to organize the "R" directory in my home-grown package into
sub-directories, but "R CMD --build" doesn't seem to find *.R files below
the actual source directory. Is there any way around that?
Thanks, Joh
2010 Apr 01
2
Is it valid to do x == Inf?
Hi,
I found in a bit of code the following test for infinity:
if (x == Inf) ...
Is that valid, or should it be (as I always thought):
if (is.infinite(x)) ...?
Does it depend on whether 'x' is float or integer?
My question is related to testing for missing values where is.na(x) is required.
/Henrik
2010 Jan 21
1
use R from python
? stato filtrato un testo allegato il cui set di caratteri non era
indicato...
Nome: non disponibile
URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20100121/95fb8869/attachment.pl>
2010 Feb 15
1
Which method is called in command like "class(x)='something'"?
> x=3
> `class<-`(x,'something')#this command prints
[1] 3
attr(,"class")
[1] "something"
> x=3
> class(x)='something'#this command doesn't print anything
The first of the above two commands print the content of 'x' but the
second doesn't, although both of them set the argument 'x'. I'm
wondering which is method is
2010 Apr 20
2
shift and pop equivalent in R
Dear All,
I am wondering is there any shift (or pop or push or unshift) equivalent in R?
For example,
shift(x) # should return x[1], and x becomes x[-1]
Thanks a lot.
Best Regards,
Xie Chao
2012 Apr 09
1
slanted stacked bar graphs?
Hello R users,
I would like to generate "slanted" stacked bar graphs like those on
the bottom of pages 1 and 2 in this document:
http://www.wssinfo.org/fileadmin/user_upload/resources/JMP-Snapshot-SWA-HLM.pdf
. I've also attached the file to this email (pdf). Does anyone know if
this is possible in R? I have tried googling and searching the R help
archives, and it seems like ggplot2
2010 Feb 19
1
How to use same function for diffrent input values
Dear R helpers
I have written some function (the actual code I have pasted at the end of mail) like say
indiv_rate = function(n, rate_name, rate, rate_rf1, rate_rf2, rate_rf3, rateprob1, rateprob2, rateprob3)
{
........some R commands
return(data.frame(rate_name, rates = round(rate_data, digits = 4)))
}
## INPUT
rates = indiv_rate(n = read.csv('number.csv')$n, rate_name =
2010 Jan 24
2
Error in plot.new()
Dear all,
I have received the following error message since R 2.10.1 for the first
time and I am not able to draw graphics any more:
> plot(1:5,1:5)
> plot(1:5,1:5)
Error in plot.new() : figure margins too large
In addition: Warning message:
Display list redraw incomplete
> sessionInfo()
R version 2.10.1 (2009-12-14)
i486-pc-linux-gnu
locale:
[1] LC_CTYPE=en_US.UTF-8
2010 Feb 07
2
convert R plots into annotated web-graphics
Dear all,
I would like to make a large scatter plot created with R available as an interactive web graphic, in combination with additional text-annotations for each data point in the plot. The idea is to present the text-annotations in an HTML-table and inter-link the data points in the plot with their corresponding entries in the table, i.e. when clicking on a data point in the plot, the
2010 Oct 06
2
Pointing to a specific place on the x-axis with an arrow
Hi all,
I am trying to do something simple, but which is deviling me. I want to add an
up-arrow to the x-axis, pointing to a specific location on the axis. I want the
arrow to be as large as possible.
Here is where I'm at with my code:
#this part if from the ?plot example:
require(stats)
plot(cars)
lines(lowess(cars))
#I am trying to use mtext to add the arrow... but I don't know how
2010 Apr 15
3
Exporting an rgl graph
Hi the list,
I use rgl to produce a 3D graph. I would like to "show" this graph to
some collaborator. Is there a way to save it and send it to someone
else?
Christophe Genolini
2010 Mar 05
2
CRAN nearly down?
Is CRAN having trouble or is it just me? (The web interface is very
slow and install.packages() is timing out and giving me "service not
available").
Paul
====================================================================================
La version française suit le texte anglais.
------------------------------------------------------------------------------------
This email