Displaying 20 results from an estimated 10000 matches similar to: "[semi-OT] Using fortune() in an email signature"
2010 Jan 06
1
fortunes: 250th fortune
Dear useRs,
it's a new year and time for a new CRAN-version of the "fortunes" package.
Version 1.3-7 is now online at
http://CRAN.R-project.org/package=fortunes
which contains the 250th fortune:
R> fortune(250)
As Obi-Wan Kenobi may have said in Star Wars: "Use the source, Luke!"
-- Barry Rowlingson (answering a question on the documentation of some
2010 Jan 06
1
fortunes: 250th fortune
Dear useRs,
it's a new year and time for a new CRAN-version of the "fortunes" package.
Version 1.3-7 is now online at
http://CRAN.R-project.org/package=fortunes
which contains the 250th fortune:
R> fortune(250)
As Obi-Wan Kenobi may have said in Star Wars: "Use the source, Luke!"
-- Barry Rowlingson (answering a question on the documentation of some
2007 Mar 04
1
fortune() in .Rprofile conflicts with R CMD INSTALL
Hello,
This is about fortune package, but I think that might be related also to
base R, so I am sending to package maintainer and R-devel list.
I have the following in my .Rprofile to break monotony of code writing
library(utils)
library(fortunes)
fortune()
detach("package:fortunes")
so I get a fortune every time I start R. It seems that this conflicts
with R CMD INSTALL in latest
2011 Jan 23
2
Ordering box plots
Hello all, I want box plots by group to display in order of increasing
mean (or median) of each group but can't seem to figure it out and
couldn't find anything on R-seek, either.
My data looks like this:
meas unit sid grade rsprti
1 2.24 1002 99999902 NA 0.8600000
2 3.04 1007 43589520 3 0.9400000
3 4.95 2002 39910470 5 1.5300000
4 2.24 2002 39986280 5
2014 Dec 21
2
How to get fortunes in R
I was going through
http://dirk.eddelbuettel.com/papers/r_package_development_nov2014.pdf
and found this on pg-3
> fortunes::fortune(92)
##
## If you don't go with R now, you will someday.
## -- David Kane (on whether to use R or S-PLUS)
## R-SIG-Finance (November 2004)
However, when I tried it on my machine, I get
rajulocal at hogwarts:~/work/r_programming$ R -q
>
2005 Jul 24
1
cvs commit: src/games/fortune/fortune fortune.c
On Sun, Jul 24, 2005 at 04:06:02PM +0200, Poul-Henning Kamp wrote:
+> In message <20050724135738.GM46538@darkness.comp.waw.pl>, Pawel Jakub Dawidek writes:
+>
+> >We should probably test entropy quality on boot.
+> >I've somewhere userland version of /sys/dev/rndtest/ which implements
+> >FIPS140-2 tests for (P)RNGs. We can use put it into rc.d/ and warn users.
2001 Jan 08
2
S Programming Book at Amazon.com
As of a moment ago (9 a.m., Monday, Jan. 8, 2001), the S Programming book by
Venables and Ripley was once again selling for 17.98 American dollars at
Amazon.com. Alas, I notice that "Mixed Effects Models in S and S-Plus" by
Pinheiro and Bates now lists at Amazon for 97.25 American dollars, as
opposed to about $70 a little while ago.
2001 Jan 05
1
Trends for many units
I have data on every grade in all elementary schools in Chicago over 5 years. I
would like to estimate a trend over time for each grade in each school. There
are 17,600 data all together (about 460 schools, nearly 8 grades each, over 5
years). Is there a not-so-hard way to do this in R (I was thinking of using
rlm)?
______________________________________________________________________
Stuart
2006 Sep 13
1
Error: package/namespace load failed for 'fortunes'
Hello!
I have the following R code in my .Rprofile file - just for fun.
library(fortunes)
fortune()
detach("package:fortunes")
This works nicely in R 2.3.1, but it throws the following error under
latest R-devel:
...
...
Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to
2010 Feb 19
3
Omitting members of a sequence
Hello, this is just a point of curiosity with me. I want a sequence of
numbers from 64 to 70, omitting the 2nd and 4th numbers. I can do it
these ways:
> seq(64, 70)[-c(2, 4)]
[1] 64 66 68 69 70
> foo <- 64:70
> foo[-c(2, 4)]
[1] 64 66 68 69 70
But how come this doesn't work?
> 64:70[-c(2, 4)]
[1] 64 65 66 67 68 69 70
Just wondering.
--
Stuart Luppescu -=- slu .at.
2011 Dec 16
1
Fortune? -- was Re: optim with simulated annealing SANN ...
Folks:
I thought John Nash's comment below was profound and a possible
Fortunes candidate:
(Aside: I believe it applies to a great deal of what is discussed on
this list, not just stochastic optimization.)
Cheers,
Bert
... (in the context of stochastic optimization)
>... As with many tools in this domain, for effective use they
> require more knowledge than many of their users
2017 Sep 30
4
Converting SAS Code
On 9/29/2017 3:37 PM, Rolf Turner wrote:
> On 30/09/17 07:45, JLucke at ria.buffalo.edu wrote:
>
> <SNIP>
>
>>
>> The conceptual paradigm for R is only marginally commensurate with
>> that of
>> standard statistical software.
>> You must immerse yourself in R to become proficient.
>
> Fortune nomination.
For newer list members wondering what
2011 Aug 16
2
Assignment working differently inside ifelse()
Hello all, I need to extract rows and columns from a data frame and put
them in a matrix. In some cases, there are no rows in the data frame
meeting the selection criteria. For those rows I want to put a row of
0's in the matrix. Here's my clumsy code:
tab1.m1 <- matrix(0, nrow=2, ncol=4)
tab1.m1[1,] <- ifelse(length(as.matrix(tab1[tab1$comp==the.comp & tab1$schlid==the.schl
2001 Jan 16
4
[OT] getting a ~ character in LaTeX
I am writing course notes in LaTeX. In the part where I am describing
model-fitting functions in R I want to use a ~ character inline. If I
am displaying an example of R code in its own environment I use the
alltt environment, which protects the ~ character. I have forgotten
how to protect the ~ when I am writing something like
The operator `~' is used to define a model formula in \R.
2012 Mar 22
2
Order of terms in formula changes aov() results
Hello, This one is very perplexing. I have teacher observation data,
with factors teacher ID, observer ID, component, grade and subject. When
I do this,
aov(data=ratings.prin.22, rating ~ obsid.f + tid.f + subject.f + grade.f + comp.f)
I get this:
Terms:
obsid.f tid.f grade.f comp.f Residuals
Sum of Squares 306.23399 221.38173 1.70000 14.52831 279.05780
Deg. of
2011 May 12
3
Reproducible use case for R crash after updating R
This might have been discussed before, but below is a
"not-so-unlikely" use case where the user follows normal procedures,
updates R to a major release version, and then R crashes:
1. Use runs R stable (e.g. v2.13.0).
2. User installs a package with a namespace, e.g. install.packages("fortunes").
3. User uses the package and one of the package's objects are assigned
to the
2008 Jun 03
2
surprising predicting capabilities
Hi,
I noticed the following fortune in R 2.7 and 2.6.2:
fortune('Spreads')
If anything, there should be a Law: Thou Shalt Not Even Think Of Producing A
Graph That Looks Like Anything From A Spreadsheet.
-- Ted Harding (in a discussion about producing graphics)
R-help (August 2008)
Just wondering, what function and library gave this detailed prediction?
Cheers
2005 Dec 08
1
reference for a fortune quote
Hi, there is a quote in the fortunes package:
To paraphrase provocatively, `machine learning is statistics minus any
checking
of models and assumptions'.
-- Brian D. Ripley (about the difference between machine learning and
statistics)
useR! 2004, Vienna (May 2004)
Was this statement made in a presentation? If so, would it be possible
to get a reference for the presentation?
2010 Apr 06
2
help in function in R akin to macro in SAS
Dear Whom it may concern,
I need help to figure the "macro" function in R: I need to plot the
different data sets by a plotxyf function, I want the title to be different
for different data set.
# get the data set
final.xyf<- xyf(data=as.matrix(my.final),
Y=classvec2classmat(final$outcome), xweight = 0.5, grid=somgrid(5, 4,
"hexagonal"))
#plot function
2002 Aug 02
3
I know this is wrong, but why?
My mind has become corrupted by having to use SAS too much. I wanted to
calculate the difference of elements of two vectors if the signs are the
same. I tried it the corrupted way first:
if (effects1[,3] < 0 & effects0[,3] < 0) {
imprv1 <- effects0[,3] - effects1[,3]
} else if (effects1[,3] > 0 & effects0[,3] > 0) {
imprv1 <- effects1[,3] - effects0[,3]
} else {