Displaying 20 results from an estimated 52 matches for "purd".
Did you mean:
pud
2010 May 14
2
help color coding map in R
...E)
# Calculate the range of the map (with extra margins).
xl <- extendrange(us.map$range[1:2])
yl <- extendrange(us.map$range[3:4])
library(maps)
library(lattice)
library(latticeExtra)
library(RColorBrewer) # creates nice color schemes
library(classInt)
plotclr <- brewer.pal(nclr,"PuRd")
class <- classIntervals(NatSTSummaryHigh.abi$STMean, nclr, style="fisher" )
colcode <- findColours(class, plotclr)
# Plot a multi-panel map of all the states, and colour
xyplot(y~x | NatSTSummaryHigh.abi$PrimaryDX, data = state.center,groups=names(attr(colcode, "table&...
2005 Jul 07
2
Brewer colours
...211,230,
158,188,218,
140,150,198,
140,107,177,
136,65,157,
129,15,124,
77,0,75),
dim = c(3, 10))
brewerSequential.RdPu <- array(data = c(
255,255,255,
255,247,243,
253,224,221,
252,197,192,
250,159,181,
247,104,161,
221,52,151,
174,1,126,
122,1,119,
73,0,106),
dim = c(3, 10))
brewerSequential.PuRd <- array(data = c(
255,255,255,
247,244,249,
231,225,239,
212,185,218,
201,148,199,
223,101,176,
231,41,138,
206,18,86,
152,0,67,
103,0,31),
dim = c(3, 10))
brewerSequential.YlOrRd <- array(data = c(
255,255,255,
255,255,204,
255,237,160,
254,217,118,
254,178,76,
253,141,60,
252,78,42,
227,2...
2019 Feb 02
0
Runnable R packages
Further to my previous post,
it would be possible to create an .exe file, say:
my_r_application.exe
That starts R, loads your R package(s), calls the R function of your choice
and does whatever else you want.
However, I don't think that it would add much value.
But feel free to correct me if you think that I'm wrong.
[[alternative HTML version deleted]]
2019 Feb 02
0
Runnable R packages
Creating an .exe file isn't necessarily difficult.
The main problems are that you have to write and compile the C (or other)
files.
Otherwise, the complexity depends on the level of Inter Process
Communication that's required.
Simply starting R with some initial conditions, is easy.
Even if you want to prompt the user to install missing packages, it isn't
necessarily difficult.
It
2019 Mar 05
1
Should CRAN accept packages with non-R code that transcompiles into R code?
On Tue, Mar 5, 2019 at 12:49 PM jan Vitek <vitekj at icloud.com> wrote:
> Everything is possible. One can compile C++ into JavaScript.
>
> But why?
>
>
I would like to support Java style syntax for class definitions.
(Then it could transcompile into either S3 or S4).
And possibly change some other things while I'm at it.
Maybe, integers (rather than numerics) as
2019 Apr 02
2
New grDevices::hcl.colors()
Hi Z
I think supporting HCL color spaces more, is a *very* good idea.
However, I doubt many R users, understand the motivation for HCL color
spaces.
I've reproduced Ross Ihaka's notes on color, on my personal website:
https://sites.google.com/site/spurdlea/exts/ihaka_r_stats_787_10_color.pdf
(This has been reproduced with permission).
Another good article is:
https://www.r-project.org/conferences/DSC-2003/Proceedings/Ihaka.pdf
And the colorspace package vignette is also a good resource:
https://cran.r-project.org/web/packages/colorspace/vignett...
2019 May 20
0
Give update.formula() an option not to simplify or reorder the result -- request for comments
Hi Pavel
(Back On List)
And my two cents...
> At this time, the update.formula() method always performs a number of
> transformations on the results, eliminating redundant variables and
> reordering interactions to be after the main effects.
> This the proposal is to add an option simplify= (defaulting to TRUE,
> for backwards compatibility) that if FALSE will skip the
2019 Jun 05
1
Offer zip builds
> If they choose to continue with only EXE,
> I will just keep using other programming languages.
I did agree with your original suggestion.
However, I don't think that a lack of zip formats, is a disincentive from
using R.
If you have an issue with the Windows installer, the obvious option is to
install the source version, and compile from it.
This is, after all, how open source is
2019 Jun 14
0
Halfway through writing an "IDE" with support for R; Proof of concept, and request for suggestions.
On Fri, Jun 14, 2019 at 7:24 PM I?aki Ucar <iucar at fedoraproject.org> wrote:
>
> There are many similar projects that are mature
I'm not sure what projects you're referring to.
If we create some constraints:
(1) Internal systems consoles (*plural*).
Rules out most things.
Noting that many tools are designed to bypass the console.
(2) Modern user interface.
Rules out Vim
2019 Jul 01
0
Making R CMD nicer
.../Frameworks/R.framework/Resources/bin/Rcmd: line 62: exec: --:
> invalid option
> exec: usage: exec [-cl] [-a name] file [redirection ...]
>
> On Windows you indeed get a useful list of commands and more helpful tips.
>
> Gabor
>
>
> On Sun, Jun 30, 2019 at 11:36 PM Abby Spurdle <spurdle.a at gmail.com> wrote:
> >
> > > First time posting in the R mailing lists so hopefully this works
well.
> > > I noticed when I type `R CMD` I get this unhelpful message:
> > > /usr/lib/R/bin/Rcmd: 60: shift: can't shift that many
> >
>...
2019 Jul 07
0
Format printing inside a matrix
> I am not sure if there is an existing solution to this, but I want my S4
> objects inside a list matrix showing correctly.
> R> matrix(lst, 2)
> [,1] [,2] [,3] [,4] [,5]
> [1,] ? ? ? ? ?
> [2,] ? ? ? ? ?
> Is it possible that the print method for matrix can call some type of
generic
> such as `as.character` or `format` when it encounters
2019 Jul 08
0
Format printing inside a matrix
> The problem of wrapping the list into a S3/S4 object, i.e. subclassing
array
> or matrix, is that one also has to define a bunch of methods for
subsetting,
> joining, etc, in order to make it behave like a list array.
False, sorry.
Wrapping != Defining a New Class.
And you don't have to define any methods.
However, my understanding of your original post is that you want to modify
2019 Jul 12
0
head.matrix can return 1000s of columns -- limit to n or add new argument?
> I assume there are lots of backwards-compatibility issues as well as valid
> use cases for this behavior, so I guess defaulting to M[1:6, 1:6] is out
of
> the question.
Agree.
> Is there any scope for adding a new argument to head.matrix that would
> allow this flexibility?
I agree with what you're trying to achieve.
However, I'm not sure this is as simple as you're
2019 Aug 01
2
Rtools contains Python interpreter(s), and six copies?
I've just discovered that Rtools (on Windows) contains Python
interpreter(s).
I'm assuming that Python is required to build R packages, on all operating
systems.
I think this is a mistake.
Also, by my count, Rtools contains six Python interpreters.
I've miscounted, I hope...
[[alternative HTML version deleted]]
2019 Aug 02
2
Rtools contains Python interpreter(s), and six copies?
(Excerpts only).
On Sat, Aug 3, 2019 at 12:48 AM Jeroen Ooms <jeroenooms at gmail.com> wrote:
> > I'm assuming that Python is required to build R packages, on all
operating
> > systems.
> Please don't assume but read the documentation (preferably before
posting).
I can't find one reference to Python in the documentation:
2019 Aug 15
0
Underscores in package names
> While
> package names are not functions, using dots in package names
> encourages the use of dots in functions, a dangerous practice.
"dangerous"...?
I can't understand the necessity of RStudio and Tiny-Verse affiliated
persons to repeatedly use subjective and unscientific phrasing.
Elegant, Advanced, Dangerous...
At UseR, there was even "Advanced Use of your
2019 Nov 12
2
class(<matrix>) |--> c("matrix", "arrary") [was "head.matrix ..."]
<polite mode>
> x %inherits% "data.frame"
IMHO, I think that user-defined binary operators are being over-used
within the R community.
I don't think that they're "cute" or stylish.
I think their use should be limited to cases, where they significantly
increase the readability of the code.
However, readability, is a (partly) subjective topic...
2019 Nov 12
1
class(<matrix>) |--> c("matrix", "arrary") [was "head.matrix ..."]
> You can have your own rant about "user-defined binary operators being
> over-used within the R community" without suggesting that my rant was
> rude.
I wasn't suggesting that you were rude.
I was questioning a trend.
2020 Jan 06
0
standard naming for components of R data structures
Do you just need something on pen and paper?
(In which case, I don't see why it needs to be "standard").
Or do you need something that can be used with bison/yacc/cup/etc to
produce a parser?
On a side note, I would say that the R Language Definition is the
"standard" way.
But I do recognize that this has a different flavour to modern
language implementation *theory*.
2020 Jan 28
0
matplot.Date & matplot.POSIXct
> > Maybe I'm missing something really obvious here, but I was unable to
> > create a matrix out of POSIXct object(s).
> > Perhaps that deserves a separate discussion...?
> Can you provide an example?
------
#date and time objects
x = Sys.Date () + 1:16
y = as.POSIXct (x)
#matrices
str (matrix (x, 4, 4) )
str (matrix (y, 4, 4) )
------
Creating a matrix from a Date