3.2 library is in a different directory than 3.1 library.
You might benefit from reading the discussion about packages in the
installation manual for R.
---
Jeff NewmillerThe . . Go
Assaf: they are named differently when you run different versions. 3.1 and 3.2
are different, but 3.1.1 and 3.1.2 are both in the 3.1 directory.
---
Jeff NewmillerThe . . Go Live
For those R packages, as a normal user (rather than sysadmin of a shared
computer) the OP should accept the default R/3.1 subdirectory in their home
directory.
---
Jeff NewmillerThe
I think you are looking for a way to make a vignette. Consider using the Sweave
variant of knitr.
---
Jeff NewmillerThe . . Go Live...
DCN:Basics: ##.#. ##.#. Live Go
time
---
Jeff NewmillerThe . . Go Live...
DCN:Basics: ##.#. ##.#. Live Go...
Live: OO#.. Dead: OO#.. Playing
Research Engineer (
w.com/questions/5963269/how-to-make-a-great-r-reproducible-example
---
Jeff NewmillerThe . . Go Live...
DCN:Basics: ##.#. ##.#. Li
input file, and remove
the line that overwrites it from your code.
---
Jeff NewmillerThe . . Go Live...
DCN:Basics: ##.#. ##.#. Live Go
.
---
Jeff NewmillerThe . . Go Live...
DCN:Basics: ##.#. ##.#. Live Go...
Live: OO#.. Dead: OO#.. Playing
Research Engineer (Solar/BatteriesO.O#. #.O#. with
/Software/Embedded
It is not a decision that R
should automatically make.
b) Most performance issues with R arise due to users choosing inefficient
algorithms. Inserting parallelism inside existing algorithms will not fix that.
---
Jeff
s has already been
done for you (see ?filter).
[1] https://stat.ethz.ch/pipermail/r-help//2014-December/424027.html
---
Jeff NewmillerThe . . Go Live...
DCN:B
you asked for
one column at a time.
---
Jeff NewmillerThe . . Go Live...
DCN:Basics: ##.#. ##.#. Live Go...
Live: OO#.. Dead:
This is why there are mirrors. You don't have to wait for them or tell them to
do their jobs.
---
Jeff NewmillerThe . . Go Live...
DCN:Basics: ##.#. ##.#. Li
the "aperm" function.
---
Jeff NewmillerThe . . Go Live...
DCN:Basics: ##.#. ##.#. Live Go...
Live: OO#.. Dead: OO#
What does quartz() have to do with this? If quartz is the problem, R-sig-mac
would be a better place to ask. Or are you being bitten by R FAQ 7.22?
---
Jeff NewmillerThe . . Go Live
The help for for contourplot answers this question in the description of the
formula (x) argument.
---
Jeff NewmillerThe . . Go Live...
DCN:Basics: ##.#. ##.#. Live Go
Sorry, my first response was too hasty. Per the help file you need to use some
kind of interpolation method to resample whatever random data points you have
in a regular grid before you give it to contourplot.
---
Jeff
-reproducible-example
---
Jeff NewmillerThe . . Go Live...
DCN:Basics: ##.#. ##.#. Live Go...
Live: OO#.. Dead: OO#.. Playing
Research
data in cross
tabulation form. You could use table or perhaps the tables package to render
the data into the desired form.
---
Jeff NewmillerThe . . Go Live...
DCN:Basics
Your example is not the same as the answers you have received. Look again.
---
Jeff NewmillerThe . . Go Live...
DCN:Basics: ##.#. ##.#. Live Go
these issues.
---
Jeff NewmillerThe . . Go Live...
DCN:Basics: ##.#. ##.#. Live Go...
Live: OO#.. Dead: OO#.. Playing
Research Eng
FAQ 7.31
---
Jeff NewmillerThe . . Go Live...
DCN:Basics: ##.#. ##.#. Live Go...
Live: OO#.. Dead: OO#.. Playing
Research
Your question is about statistics, not R. Do read the Posting Guide to inform
you for future questions. Meanwhile, you should probably go to
stats.stackexchange.com.
---
Jeff NewmillerThe
.
---
Jeff NewmillerThe . . Go Live...
DCN:Basics: ##.#. ##.#. Live Go...
Live: OO#.. Dead: OO#.. Playing
Research Engineer (Solar/BatteriesO.O
?merge
Particularly look at the all argument.
---
Jeff NewmillerThe . . Go Live...
DCN:Basics: ##.#. ##.#. Live Go...
Live: OO
said, I avoid creating such
complex output formats as much as possible... one data frame = one file is much
more portable.
---
Jeff NewmillerThe . . Go Live...
DCN:Basics
using R
before diving into such murky waters, but if you want to push forward you will
need to use a search engine and perhaps make email contact with the package
author if you need help.
---
Jeff Newmiller
has upgraded in the second digit (e.g. 3.1.2
to 3.2.0) then you may need to refresh your personal package library with
contributed packages protested for your new version of R.
---
Jeff NewmillerThe
---
Jeff NewmillerThe . . Go Live...
DCN:Basics: ##.#. ##.#. Live Go...
Live: OO#.. Dead: OO#.. Playing
Research Engineer (Solar/BatteriesO.O#. #.O#. with
/Software/Embedded Controllers
I don't use JRI, but the data seem to be there. If you are looking for the row
names, try ?rownames.
---
Jeff NewmillerThe . . Go Live...
DCN:Basics: ##.#. ##.#.
Bert, can you be more specific about which article for those of us who don't
subscribe?
---
Jeff NewmillerThe . . Go Live...
DCN:Basics: ##.#. ##.#. Li
ard networking setup.
---
Jeff NewmillerThe . . Go Live...
DCN:Basics: ##.#. ##.#. Live Go...
Live: OO#.. Dead: OO#.. Playing
Research Engineer (Solar/BatteriesO.O#. #.O#. wit
"Real time" is a squishy term. Your question is not one that can be answered
here, since it is so context dependent.
---
Jeff NewmillerThe . . Go Live...
DCN:
to do with the pieces and less about
making pieces.
---
Jeff NewmillerThe . . Go Live...
DCN:Basics: ##.#. ##.#. Live Go...
Live
.
---
Jeff NewmillerThe . . Go Live...
DCN:Basics: ##.#. ##.#. Live Go...
Live: OO#.. Dead: OO#.. Playing
Research Engineer (Solar/BatteriesO.O#. #.O#. with
I don't know, but I highly recommend the "sos" package so you can answer this
for yourself.
---
Jeff NewmillerThe . . Go Live...
DCN:Basics: ##.#.
curate when you have loaded that package.
---
Jeff NewmillerThe . . Go Live...
DCN:Basics: ##.#. ##.#. Live Go...
Live: OO#.. Dead: OO#.. Playing
Research Engineer (Solar/BatteriesO.O#. #.
But not 120 bits of pi... just 120 bits of the double precision version of pi.
---
Jeff NewmillerThe . . Go Live...
DCN:Basics: ##.#. ##.#. Live Go
Use dev.off and re-open the device.
---
Jeff NewmillerThe . . Go Live...
DCN:Basics: ##.#. ##.#. Live Go...
Live: OO#.. Dead: OO
This does not clarify. Please re-read Bert's response and try again.
---
Jeff NewmillerThe . . Go Live...
DCN:Basics: ##.#. ##.#. Li
Not reproducible.
---
Jeff NewmillerThe . . Go Live...
DCN:Basics: ##.#. ##.#. Live Go...
Live: OO#.. Dead: OO#.. Playing
Sorry, now it works for me as well. And yes, must drop rows with is.na( prace )
prior to calling ggplot. Note that the levels of prace do not contain NA so
your subject line is not correct.
---
Jeff Newmiller
I think grep is better suited to this:
zz$v5 <- grepl( paste0( alarm.words, collapse="|" ), do.call( paste, zz[ , 2:3
] ) ) )
-------
Jeff NewmillerThe . . Go Live...
DCN:
Just add a word break marker before and after:
zz$v5 <- grepl( paste0( "\\b(", paste0( alarm.words, collapse="|" ), ")\\b" ),
do.call( paste, zz[ , 2:3 ] ) ) )
-------
Jeff New
ct.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
---
select the subset of columns to work with, and the
rowSums function to do the calculations. Something like
dta$abc <- rowSums( dta[ , grep( "abc", names( dta ) ) ] )
-------
Jeff Newmiller
.
---
Jeff NewmillerThe . . Go Live...
DCN:Basics: ##.#. ##.#. Live Go...
Live: OO#.. Dead: OO#.. Playing
Research Engineer (Solar/BatteriesO.O#. #.O#. with
/Software
.
---
Jeff NewmillerThe . . Go Live...
DCN:Basics: ##.#. ##.#. Live Go...
Live: OO#.. Dead: OO#.. Playing
Research Engineer (Solar/BatteriesO.O#. #.O#. with
/Software/Embedded
EE[,,1] <- A[,,1] %*% B[,,1]
EE[,,2] <- A[,,2] %*% B[,,2]
EE[,,3] <- A[,,3] %*% B[,,3]
etc.
-------
Jeff NewmillerThe . . Go Live...
DCN:Basics: ##.#. ##.#.
extra little effort to dput some example data so we can communicate clearly
about your problem. [1]
[1]
http://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example
---
Jeff Newm
providing appropriate
resources to assist the student so we should not have to second guess them
anyway. Reducing list volume is at best a secondary concern from my perspective.
---
Jeff NewmillerThe
"\\b" is a zero length match. strsplit seems to chop at least one character off
the beginning of the string if it sees a match, and then it looks at the
shortened string that remains and repeats.
---
Jeff
;red green")
[1] 1
## as expected
Does strsplit use a different regex engine than grep()? Or more
likely, what am I misunderstanding?
Thanks.
Bert
David Winsemius
Alameda, CA, USA
__
R-help@r-project.org mailing list -- T
re, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
---
Jeff Newmiller
ing-guide.html
and provide commented, minimal, self-contained, reproducible code.
---
Jeff NewmillerThe . . Go Live...
DCN:Basics: ##.#. ##.#. Live Go...
Read the Posting Guide. Most attachments get stripped on the list to discourage
viruses and encourage small, reproducible examples in the body of the email.
---
Jeff NewmillerThe
on, indv3 is from x.HHu,
and the rest position and indv1 and indv2 are from y.HHo
HHid position ind3 indv1 indv2
1 HH1 10 0 2 0
2 HH10101 0NA 2
3 HH11111 NA NA NA
4 HH2 20 0 0
an suggest ways to fix it in R.
-------
Jeff NewmillerThe . . Go Live...
DCN:Basics: ##.#. ##.#. Live Go...
Live: OO#.. Dead: OO#..
.
---
Jeff NewmillerThe . . Go Live...
DCN:Basics: ##.#. ##.#. Live Go...
Live: OO#.. Dead: OO#.. Playing
Research Engineer (Solar/BatteriesO.O#. #.O#. with
/Software/Embedded
annot advise you on ff.
---
Jeff NewmillerThe . . Go Live...
DCN:Basics: ##.#. ##.#. Live Go...
Live: OO#.. Dead: OO#.. Pl
Wait?
Try a different server?
Verify your internet settings?
---
Jeff NewmillerThe . . Go Live...
DCN:Basics: ##.#. ##.#. Live Go
function is in a contributed package then you
should load that package first. Documentation quality may vary due to volunteer
dedication, but it often answers questions like this.
---
Jeff NewmillerThe
the help page for the
FD package? Try
?FD-package
[1]
http://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example
---
Jeff NewmillerThe . . Go Live...
DCN
b page for the XML
package mentions libxml2.
---
Jeff NewmillerThe . . Go Live...
DCN:Basics: ##.#. ##.#. Live Go...
Live: OO#.
Very few attachment types are permitted on the R mailing lists... apparently
whatever file you attached did not qualify.
---
Jeff NewmillerThe . . Go Live...
DCN:Basics
That is an operating-system configuration question, not a question about R.
There are many OSs out there... please find a forum with users of your OS in
which to pursue this question.
---
Jeff Newmiller
uide.html
and provide commented, minimal, self-contained, reproducible code.
--
-------
Jeff NewmillerThe . . Go Live...
DCN:Basics: ##.#. #
to validate your
model against a data set set aside for that purpose.
---
Jeff NewmillerThe . . Go Live...
DCN:Basics: ##.#. ##.#. Live Go
?cumsum
---
Jeff NewmillerThe . . Go Live...
DCN:Basics: ##.#. ##.#. Live Go...
Live: OO#.. Dead: OO#.. Playing
Research
Please reply-all so the mailing list stays in the loop.
cumsum(1/(1:100)^2)
gives you the partial sums up through i=100.
---
Jeff NewmillerThe . . Go Live...
DCN:Basics
task.
Usually you can copy your old library directory onto the new one and
update.packages to update them.
---
Jeff NewmillerThe . . Go Live...
DCN:Basics: ##.#.
y
until it sinks in.
---
Jeff NewmillerThe . . Go Live...
DCN:Basics: ##.#. ##.#. Live Go...
Live: OO#.. Dead: OO#.. Playing
Research Engineer (Solar/BatteriesO.O#. #.O#. wit
between a data frame and a vector
is... if it helps, a data frame is a list of vectors (typically referred to as
"columns") all with the same length... your "mydat" is a vector, not a data
frame.
----
s about that function. If that is
too terse, get a text book.
[2] https://cran.r-project.org/web/views/Multivariate.html
[3]
http://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example
-----
You went to all that trouble to find a mailing list to ask your question on and
failed to find R-packages or R-devel?
---
Jeff NewmillerThe . . Go Live...
DCN:Basics
Please don't. Function arguments are good... global variables are bad.
one <- function(){
result <- list( a="variable passed" )
result
}
two <- function( v ){
print( v$a )
}
x <- one()
two( x )
---
at
https://stat.ethz.ch/mailman/listinfo/r-help
and using your email client to send emails rather than posting on a web page.
---
Jeff NewmillerThe . . Go Live...
DCN:Basics
.
---
Jeff NewmillerThe . . Go Live...
DCN:Basics: ##.#. ##.#. Live Go...
Live: OO#.. Dead: OO#.. Playing
Research Engineer (Solar/BatteriesO.O#. #.O#. with
/Software/Embedded
) so you end up needing more
memory and disk paging of virtual memory becomes more likely.
---
Jeff NewmillerThe . . Go Live...
DCN:Basics: ##.#. ##.#. Live Go
.
---
Jeff NewmillerThe . . Go Live...
DCN:Basics: ##.#. ##.#. Live Go...
Live: OO#.. Dead: OO#.. Playing
Research Engineer (Solar/BatteriesO.O#. #.O#. with
/Software/Embedded
New versions are released when they are ready. This is volunteer-driven
software.
---
Jeff NewmillerThe . . Go Live...
DCN:Basics: ##.#. ##.#. Live Go
So 3.1.3 to 3.2.0 was a major release?
---
Jeff NewmillerThe . . Go Live...
DCN:Basics: ##.#. ##.#. Live Go...
Live: OO#.. Dead
.
---
Jeff NewmillerThe . . Go Live...
DCN:Basics: ##.#. ##.#. Live Go...
Live: OO#.. Dead: OO#.. Playing
Research Engineer (Solar/BatteriesO.O
users group,
for example.
---
Jeff NewmillerThe . . Go Live...
DCN:Basics: ##.#. ##.#. Live Go...
Live: OO#.. Dead: OO
, format="%m/%d/%Y %H:%M")
The other problem I see is that you probably need to have your data in long
form to get the results you want, so you should look at the vignettes for the
reshape2 or tidyr packages.
--
.
---
Jeff NewmillerThe . . Go Live...
DCN:Basics: ##.#. ##.#. Live Go...
Live: OO#.. Dead: OO#.. Playing
Research Engineer (Solar/BatteriesO.O#. #.O
zeros can
also be employed to set bounds/starting points for searching, but those topics
are in general completely orthogonal to the topic of this mailing list... which
is R.
---
Jeff NewmillerThe
This code is using R like a command shell... there really is not much chance
that R is the problem, and this is not a "tesseract" support forum, so this
seems quite off-topic.
---
Jeff Newmiller
19 +datum=WGS84 +units=m +no_defs +ellps=WGS84
+towgs84=0,0,0", "\\+proj=[a-zA-Z0-9]*")
Please read and follow the Posting Guide, including sending your emails using
plain text instead of HTML.
-------
Jeff Newmil
[[alternative HTML version deleted]]
__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
Go to where you were given this assignment and ask them for help.
---
Jeff NewmillerThe . . Go Live...
DCN:Basics: ##.#. ##.#. Live Go
(e.g.
stats.stackexchange.com) but I have a feeling you would be better served to
take a course on the topic or hire an expert.
---
Jeff NewmillerThe . . Go Live...
DCN:B
u have a lot of data to work with... again, just
syntactic sugar, but convenient.
---
Jeff NewmillerThe . . Go Live...
DCN:Basics: ##.#. ##.#. Live Go...
Live: OO#.. Dead: OO#.. Playing
Researc
I suggest that you contact the maintainer of that package, who should be
identified by using the maintainer function (see ?maintainer) or on the website
where you obtained it.
---
Jeff NewmillerThe
. but the actual data can affect how well
any solution works so giving us dput output is crucial.
---
Jeff NewmillerThe . . Go Live...
DCN:Basics: ##.#. ##.#. Li
int or modify as you wish can be quite useful later.
-------
Jeff NewmillerThe . . Go Live...
DCN:Basics: ##.#. ##.#. Live Go...
an use that more efficiently than testing which rows have
na.date.cases==1.
---
Jeff NewmillerThe . . Go Live...
DCN:Basics: ##.#. ##.
names <- list.files( inputdir, full.names=TRUE )
lapply( fnames, myplotfilecreator )
---
Jeff NewmillerThe . . Go Live...
DCN:Basics: ##.#. ##.#. Live Go...
to the seq function, so perhaps you should read
?seq
---
Jeff NewmillerThe . . Go Live...
DCN:Basics: ##.#. ##.#. Live Go...
ng R Extensions" documentation.
---
Jeff NewmillerThe . . Go Live...
DCN:Basics: ##.#. ##.#. Live Go...
Live: OO#.. Dead: OO#
ckage.
---
Jeff NewmillerThe . . Go Live...
DCN:Basics: ##.#. ##.#. Live Go...
Live: OO#.. Dead: OO#.. Playing
Research Engineer (Solar/Batt
701 - 800 of 3947 matches
Mail list logo