Normally is a missing comma in a function command list.
Ciao!
mario
On 10-Nov-11 19:02, jim holtman wrote:
You have a syntax error in your script. Take a look around line 884
On Thu, Nov 10, 2011 at 9:27 AM, ftoninif_ton...@hotmail.com wrote:
Hi everybody,
I started to
On 11/12/2011 01:26 AM, Michael Friendly wrote:
In http://finzi.psych.upenn.edu/R/Rhelp02a/archive/14637.html
some rudimentary R functions were given for drawing
proportional area venn diagrams with area of each intersection ~ the
count in a 2 x 2 x 2 table.
I'm interested in this, for
On Nov 13, 2011, at 12:51 AM, ryusuke wrote:
Thank you Dr. David.
I try to summarize it.
Assumes x and z are two covariates:
x = dummy variable (1 or 0)
z = factors (people name)
x*z = x + z + x*z
Actually I said = x + z + x:z
And interaction formula of a two level dummy with a
On Nov 13, 2011, at 1:19 AM, Joshua Wiley wrote:
Hi Carlos,
Here is one option:
## read in your data
dat - read.table(textConnection(
obs unithome zsex age
1 015029 18 11 053
2 015029 18 12 049
3
On Jul 12, 2011, at 7:53 PM, KenjiPsyD wrote:
I have a question about running an optimization function on an
existing LOESS
function defined in R. I have a very large dataset (1 million
observations)
and have run a LOESS regression. Now, I want to run a Newton-Raphson
optimization to
Hello David,
On Nov 13, 2011, at 5:20 AM, David Winsemius wrote:
However, when executing plot_raw which invokes dev.new(..) all windows come
out blank whereas if I execute each file outside of a loop then I can see
the plots properly.
Perhaps ...(you did not say what package this plot_raw
Dear all,
Thanks. I will add it to my list. Sincerely, Guy Nason
On 10 Nov 2011, at 04:34, R. Michael Weylandt wrote:
It's not a problem with your data or use of the functions -- rather I
think there's just a little bug in the package (and I've cc'd the
maintainer):
draw.wd leads to a
Hi All,
I would like to work with symbols referenced by strings: I would like to
manipulate data/symbols referencing to them by the string name of the
symbol.
An example will be clearer. Let's I get a time series through quantmod
getSymbols(GLD)
This will create a new symbol GLD with the
In a private communication this poster has indicated that he
eventually found the answer by Googling the question. (The solution
was as described in the FAQ.)
--
David.
On Nov 13, 2011, at 5:21 AM, Giovanni Azua wrote:
Hello David,
On Nov 13, 2011, at 5:20 AM, David Winsemius wrote:
Hello,
While looking for info on 2^k experimental design and anova I remember I saw
somewhere there was a function to generate all the experiments. I can't find
the function anymore can anyone suggest?
The function takes as input the factors and levels and generates all the
experiments. I
On Nov 13, 2011, at 3:23 PM, David Winsemius wrote:
Please read both my comments and the FAQ more carefully . You are
inadequately considering the information that has been offered to you.
Ok you wanted to make sure I have to read the FAQ well I didn't have to :)
Googling using your
Check out the Task View on Experimental Design:
http://cran.at.r-project.org/web/views/ExperimentalDesign.html
but perhaps packages rsm or qualityTools have what you want.
Bryan
***
Bryan Hanson
Professor of Chemistry Biochemistry
DePauw University
On Nov 13, 2011, at 9:25 AM,
Never mind, found it, it is the expand.grid function.
On Nov 13, 2011, at 3:25 PM, Giovanni Azua wrote:
Hello,
While looking for info on 2^k experimental design and anova I remember I saw
somewhere there was a function to generate all the experiments. I can't find
the function anymore
On 11-11-13 8:10 AM, Back2Numbers wrote:
Hi All,
I would like to work with symbols referenced by strings: I would like to
manipulate data/symbols referencing to them by the string name of the
symbol.
An example will be clearer. Let's I get a time series through quantmod
getSymbols(GLD)
Issue with PLYR.
Now using R 2.14 and this data and plyr command line worked with 2.13
I am also loading the same saved data that worked previously, but now
some issue.
library(plyr)
UNESCO - dget('C:/Carbon-GJ/BZE_ecosys.robj')
df2 - ddply(df, UNESCO, summarise, total_ha = sum(Ha))
*Error
Issue with sos package
I am now using R 2.14 and the sos package did work with 2.13
library(sos)
Loading required package: brew
Attaching package: 'sos'
The following object(s) are masked from 'package:JGR':
installPackages
The following object(s) are masked from 'package:utils':
On Nov 13, 2011, at 9:35 AM, Giovanni Azua wrote:
On Nov 13, 2011, at 3:23 PM, David Winsemius wrote:
Please read both my comments and the FAQ more carefully . You are
inadequately considering the information that has been offered to
you.
Ok you wanted to make sure I have to read the
# Roxygen2
The premise of `roxygen2` is simple: describe your functions in
comments next to where their definitions and `roxygen2` will process
your source code and comments to produce R compatible Rd files.
Here's a simple example from the `stringr` package:
#' The length of a string (in
Neotropical bat risk assessments neotropical.bats at gmail.com writes:
Issue with sos package
I am now using R 2.14 and the sos package did work with 2.13
library(sos)
Loading required package: brew
Attaching package: 'sos'
The following object(s) are masked from 'package:JGR':
Not reproducible. Read the posting guide. Provide enough data to reproduce the
problem.
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics: ##.#.
Myriam fantasmita1948 at yahoo.fr writes:
Dear Mr. Baddeley I just graduated from a Masters in
Applied Mathematics on Jun19th. My thesis was about spatial
distribution /a nalysis of some trees in a part of the Congo Basic
Forest. In my thesis I used your spatial package in R, and today
Hello everyone,
I have these 2 vectors in a type=s plot ( reported below)
I would like to check the value of y at z=seq(0,1440, by=60)
I think that I can do it calculating a vector that report the position of
the value of y = z for which the difference to z is minimal.
But I also guess
On 12.11.2011 15:56, jack306 wrote:
Dear all:
I could not able to find rcmd using the following path: either R version
(2.13.2 or 2.14.0); either rtools version (2.13 or 2.14). My os is winxp.
The variables set in path are as follows.
c:\Rtools\bin;c:\Rtools\MinGW\bin;C:\Perl\bin;
dataset[ nrow(dataset), ] - c (Male, 5, bad)
The above seems to have worked to append a row in place of a rbind(). This
method does not drop the custom attributes from the column. Do yo see any
issue with this method.
Thanks,
Sammy
On Sat, Nov 12, 2011 at 10:16 PM, David Winsemius
On Fri, Oct 21, 2011 at 5:07 PM, Hardy Griesbauer
hgriesba...@hotmail.com wrote:
Hello,
I recently updated to R version 2.13.2. With R version 2.10.0, I often
created and installed R packages, however, I cannot do this since updating.
In other words, when I type in Rcmd build -binary
On Nov 12, 2011 at 8:29pm Alex wrote:
Has anyone used SIAR package add on?
I posted a reply to an earlier question from you on this subject. See
http://r.789695.n4.nabble.com/Errors-in-SIAR-td4029804.html. In it I note
that there are problems with the function from siar (not SIAR) you are
Using:
Mac OS 10.7.2
R version 2.13.2
I cannot load the zoo package. The install runs fine but when trying to
load it i get the following error:
/Error in dyn.load(file, DLLpath = DLLpath, ...) :
unable to load shared object
'/Users/ntyhurst/Library/R/2.13/library/zoo/libs/i386/zoo.so':
Hi everyone,
i really need some help with one task. I simply cant understand what i
really have to do.
The task is:
Generate the distribution of maximum on samples of size 200 from beta with
shape parameters 5 and 5 distribution. Plot a histogram of simulated values
and overlay at least one
On Sun, Nov 13, 2011 at 11:23 AM, hawkhandler ntyhu...@gmail.com wrote:
Using:
Mac OS 10.7.2
R version 2.13.2
I cannot load the zoo package. The install runs fine but when trying to
load it i get the following error:
/Error in dyn.load(file, DLLpath = DLLpath, ...) :
unable to load
On 13.11.2011 17:29, Gabor Grothendieck wrote:
On Fri, Oct 21, 2011 at 5:07 PM, Hardy Griesbauer
hgriesba...@hotmail.com wrote:
Hello,
I recently updated to R version 2.13.2. With R version 2.10.0, I often
created and installed R packages, however, I cannot do this since updating.
In
There was a problem with @rpath within R.app on the Mac. Either starting R
within a shell (instead of R.app) or updating R.app should both resolve
the problem. See
https://stat.ethz.ch/pipermail/r-sig-mac/2011-November/008757.html
for details.
Z
On Sun, 13 Nov 2011, hawkhandler wrote:
No. But it has not been posted either.
You got that message because you sent your message to
the wrong address. You should have sent it to
r-help@r-project.org
You had probably sent it to
r-help-requ...@r-project.org
which would have had the effect that the server would have
tried to
Hi all,
I hope you don't mind the slightly off topic email, but I'm going to
be teaching an R development master class in New York City on Dec
12-13. The basic idea of the class is to help you write better code,
focused on the mantra of do not repeat yourself. In day one you will
learn powerful
My apologies for sending the message with the above subject
to R-help. I can only assume that it was the result of
mis-mousing! (It should only have gone to the original
sendar, and to r-help-owner).
Best wishes to all,
Ted.
What, no discount codes for us?!
No seriously, as much as I'm for free enterprise, it feels awkward to
see you promote an (expensive!) course in a list where people offer not
only their knowledge, but also the tools you use, for free.
I ignore whether this goes against posting rules, but even
Anban nino.zajc at gmail.com writes:
[snip]
i really need some help with one task. I simply cant understand what i
really have to do.
[snip]
Generate the distribution of maximum on samples of size 200 from beta with
shape parameters 5 and 5 distribution. Plot a histogram of simulated
I remember I was torn into pieces a few months back when I made a
wishlist here that R adds its bin path to PATH on Windows during
installation. People had tons of reasons of objection. Although I do
not use these batchfiles (usually I do not actually use Windows), I
see there is a motivation
Dear all, when I open the help page of any R function, the help page opens
with my default browser. However I am not happy with Font of the help page,
which probably set as 'Times new roman'. How can I change this Font style? I
want to see any help content with the 'Calibri' font.
Is it possible?
Thanks Jim and David!
It seems like both were great options. Both of your suggestions of pasting
both IDs together worked well, keeping the pasting as a character is better.
Though, Jim's example was interesting, it gave me the following error:
Error in `$-.data.frame`(`*tmp*`, coupleid, value =
For what it's worth: the fix was to put the x64 folder FIRST in the path.
-Original Message-
From: xieyi...@gmail.com [mailto:xieyi...@gmail.com] On Behalf Of Yihui Xie
Sent: November-13-11 10:16 AM
To: Uwe Ligges
Cc: Gabor Grothendieck; r-help@r-project.org; Hardy Griesbauer
Subject:
Dear all,
I am working on a 64 bits Linux system.
I issue the following R commands:
rm(list=ls()) # To remove all objects in the workspace.
gc() # To free memory.
used (Mb) gc trigger (Mb) max used (Mb)
Ncells 124250 6.7 35 18.7 35 18.7
Vcells 124547 1.0 786432 6.0 476934 3.7
gc() #
Hello everybody,
I have a problem and would like to start with an example:
library(snow)
library(tseries)
fn - function(x) adf.test(x)
clusterApply(cl=cl, x=x , fun=fn)
R cannot find the function adf.test() because it is inside the function fn().
This problem does not occur when, for
You have to load tseries on the nodes, not only on the master, i.e.:
clusterEvalQ(cl, library(tseries))
Best,
Uwe Ligges
On 13.11.2011 19:34, Andreas Klein wrote:
Hello everybody,
I have a problem and would like to start with an example:
library(snow)
library(tseries)
fn- function(x)
Each package comes with its own R.css these days and it can be tweaked
by the package. If it is the standard on, it uses your browser's default
font for displaying the plain text in the body of a help page.
Best,
Uwe Ligges
On 13.11.2011 19:46, Christofer Bogaso wrote:
Dear all, when I
I recently gave a presentation at the 50th Army Operational Research
Symposium at Ft Lee describing an implementation of Conover's exact
calculation method for the KS test applied to discrete distributions. My
implementation was done in Matlab script as opposed to R. Multiple
Monte-Carlo trials
No seriously, as much as I'm for free enterprise, it feels awkward to
see you promote an (expensive!) course in a list where people offer not
only their knowledge, but also the tools you use, for free.
You might have a point if I taught this course instead of offering
knowledge and code for
Ha! Point publicly acknowledged.
Best,
A.
On Sun, 13 Nov 2011 13:41:36 -0600
Hadley Wickham had...@rice.edu wrote:
No seriously, as much as I'm for free enterprise, it feels awkward to
see you promote an (expensive!) course in a list where people offer not
only their knowledge, but also
Though I can't speak for Alex, I suspect this was a case of him either
(1) not realizing you were actually the poster of the original email,
or (2) he is relatively new to the woRld and hasn't yet connecting
your name to your (enumerable) contributions.
Also:
Some of the money I earn from these
Hi Carlos,
Am I Jim? (I ask because there are at least two quite active Jim's on
this list and one could have conceivably replied to you offlist).
Regarding your error, it is rather difficult to tell without knowing
exactly what your data is like and what you did. For _just_ the unit,
home, and
Google is an amazing resource for getting information. Try Googling
'simulation in R' - I got several useful hits on the first page.
HTH,
Dennis
On Sun, Nov 13, 2011 at 7:41 AM, Anban nino.z...@gmail.com wrote:
Hi everyone,
i really need some help with one task. I simply cant understand what
On Sun, Nov 13, 2011 at 2:55 PM, Steve Lianoglou
mailinglist.honey...@gmail.com wrote:
Some of the money I earn from these courses goes to pay for my summer
salary and supports student research. It also gives me confidence that
if I don't get tenure because I've been writing R packages instead
On Sun, Nov 13, 2011 at 1:38 PM, Hardy Griesbauer
hgriesba...@hotmail.com wrote:
For what it's worth: the fix was to put the x64 folder FIRST in the path.
Of course that only fixes it for now. Every time you upgrade R you
have to change it all over again. With the batch files there is
On Sun, Nov 13, 2011 at 11:55 AM, Steve Lianoglou
mailinglist.honey...@gmail.com wrote:
Some of the money I earn from these courses goes to pay for my summer
salary and supports student research. It also gives me confidence that
if I don't get tenure because I've been writing R packages instead
Perhaps you might want to abstract your code a bit and try something like:
X = rnorm(500) # Some Data
replicate(1e4, mean(sample(X, 500, replace = T)))
Obviously you can set up a loop over your data sets as needed.
Michael
On Sat, Nov 12, 2011 at 6:46 PM, Francesca francesca.panco...@gmail.com
On 11/13/2011 12:58 PM, Sarah Goslee wrote:
On Sun, Nov 13, 2011 at 2:55 PM, Steve Lianoglou
mailinglist.honey...@gmail.com wrote:
Some of the money I earn from these courses goes to pay for my summer
salary and supports student research. It also gives me confidence that
if I don't get tenure
On 11-11-13 1:15 PM, Yihui Xie wrote:
I remember I was torn into pieces a few months back when I made a
wishlist here that R adds its bin path to PATH on Windows during
installation. People had tons of reasons of objection. Although I do
not use these batchfiles (usually I do not actually use
hi, basic question
how do i write a function that sums the squares of elements in a vector of
any length?
thanks
Adam
--
View this message in context:
http://r.789695.n4.nabble.com/sum-of-squares-function-tp4037402p4037402.html
Sent from the R help mailing list archive at Nabble.com.
Hi Josh,
I'm sorry, it was meant for you. I guess for now that error doesn't
matter...for now. Essentially, I want to repeat the conditions that state
the following, and continue doing so for several variables.
At the end of the day, I'm only going to keep the couple ID and remove the
Hello everybody
I'm having some difficulties to design the decision tree algorithm J48.
I am using the following code and when I run it gives me the following
message
plot(m1)
Error in plot.Weka_tree(m1) :
Plotting of trees with multi-way splits is currently not implemented.
#The code
I have a table which looks like this:
ACC BAL
1 hal -171245.33
2 opn -50487.63
3 pga 213440.38
4 prt 0.18
5 rbs 8292.54
How do I create a column which shows the running totals of the BAL columns?
[[alternative HTML version deleted]]
On Nov 13, 2011, at 11:28 AM, Sammy Zee wrote:
dataset[ nrow(dataset), ] - c (Male, 5, bad)
The above seems to have worked to append a row in place of a
rbind(). This method does not drop the custom attributes from the
column. Do yo see any issue with this method.
Only that it wipes out
Hi Adam,
You're in luck, arithmetic operations in R are vectorized so it does
not take any extra effort.
x - 1:10
sum(x^2)
cheers,
Josh
On Sun, Nov 13, 2011 at 12:20 PM, covfish87 covfis...@hotmail.co.uk wrote:
hi, basic question
how do i write a function that sums the squares of elements
Table is not a regular data structure in R so I can't help further without a
bit of clarification, but try ?cumsum and ?cbind.
Michael
On Nov 13, 2011, at 4:18 PM, Mark Carter mcturra2...@yahoo.co.uk wrote:
I have a table which looks like this:
� ACC��� BAL
1 hal -171245.33
2 opn�
Hi Mark,
Take a look at ?cumsum and see if this is what you want:
## your data output via dput() (easy to copy and paste from email to R)
dat - structure(list(ACC = c(hal, opn, pga, prt, rbs),
BAL = c(-171245.33,
-50487.63, 213440.38, 0.18, 8292.54)), .Names = c(ACC, BAL
), class = data.frame,
Hello,
When I try to use TukeyHSD in the following way it shows the confidence
interval corresponding to the last factor only.
throughput.aov -
aov(Throughput~No_databases+Partitioning+No_middlewares+Queue_size,data=throughput)
plot(TukeyHSD(throughput.aov)) # I expected here to see the
Hello,
I have one replication (r=1 of the 2^k*r) of a 2^k experimental design in the
context of performance analysis i.e. my response variables are Throughput and
Response Time. I use the aov function and the results look ok:
str(throughput)
'data.frame': 286 obs. of 7 variables:
$ Time
I'm guessing you have nine replicates of a 2^5 factorial design with a
couple of missing values. If so, define a variable to designate the
replicates and use it as a blocking factor in the ANOVA. If you want
to treat the replicates as a random rather than a fixed factor, then
look into the nlme or
Hi Denis,
Thank you again :) what do you exactly mean with blocking factor, that it
will be like the others? I'd prefer not to treat the replicates as random but
rather account for the experimental error using the replicates.
Ahhh I see what you mean, so the experimental error will show up as
You might find reshape() useful here. Use sex as the 'time'
variable so you get a row for each couple containing the age and
other data for each member of the couple. That format makes
it easy to compare the ages (or migration status, etc.) of members
of one couple.
You need to define an idvar
On Nov 13, 2011, at 7:22 PM, Giovanni Azua wrote:
Hello,
When I try to use TukeyHSD in the following way it shows the
confidence interval corresponding to the last factor only.
throughput.aov - aov(Throughput~No_databases+Partitioning
+No_middlewares+Queue_size,data=throughput)
You are more likely to receive helpful responses if you:
a) Provide a reproducible example (e.g.
https://github.com/hadley/devtools/wiki/Reproducibility)
b) Post to the ggplot2 mailing list.
Hadley
On Fri, Oct 28, 2011 at 5:03 PM, RanRL rnr...@gmail.com wrote:
Hi, I have two questions
Well, I just mean to give the user an option during installation --
like you did in Rtools. I have decided not to argue on this issue any
more. Thanks a lot anyway!
Regards,
Yihui
--
Yihui Xie xieyi...@gmail.com
Phone: 515-294-2465 Web: http://yihui.name
Department of Statistics, Iowa State
On Sun, 13 Nov 2011, RMSOPS wrote:
Hello everybody
I'm having some difficulties to design the decision tree algorithm J48.
I am using the following code and when I run it gives me the following
message
plot(m1)
Error in plot.Weka_tree(m1) :
Plotting of trees with multi-way splits is currently
Hi
Hello Petr,
The demo's don't run either, with the same errors.
In that case you shall contact the package maintainer and in a meantime
you could try to debug the function yourself if you are in desperate need
for the result.
Petr
Thanks for your help.
Best wishes.
--
dataset[ nrow(dataset), ] - c (Male, 5, bad)
The above seems to have worked to append a row in place of a rbind().
This
No. It overwrites your last row. You maybe meant
dataset[ nrow(dataset)+1, ] - c (Male, 5, bad)
Regards
Petr
method does not drop the custom attributes from the
Martijn,
This was a problem in summary.gam handling re terms with largish
datasets: I've uploaded a fix for this in mgcv_1.7-11. Hopefully on cran
in the next few days.
best,
Simon
On 09/11/11 12:41, Martijn Wieling wrote:
Dear useRs,
This is the first time I post to this list and I would
On Nov 13, 2011, at 20:53 , Alex Ruiz Euler wrote:
Ha! Point publicly acknowledged.
Best,
A.
At any rate, R-help has always allowed R-related course announcements,
commercial or not. The position has been that as long as it is of interest for
R users and not overly intrusive, it is
Hello:
I am a rookie in using R. When I used the unit root test in
CADFtest, I got the different t-test statistics between using
criterion=BIC and no using criterion. But when I checked the result
with eviews, I find out that no using criterion is correct. Why after
using criterion=BIC,
Hi William,
This worked like a charm! I was thinking about using reshape(), but was
unsure on how to approach it. Though I have a whole lot of variables, I
decided to keep only those variables that contained both sexes'
characteristics, reshape it into wide format, and merge with the rest of the
Hi,
I have the same problem in R, and I want to ask you that how to solve the
problem.
Thank you very much.
Wang
2011-11-14
ahwangyuwei
[[alternative HTML version deleted]]
__
R-help@r-project.org mailing list
Dear R Users,
Greetings!
I am confused with an error message related to plotrix library in the
newer versions of R.
I used to run an R script without fail in the earlier versions (R 2.8.1) of
R; but the same script is now throwing up an error message in the newer
versions (Now I have R
81 matches
Mail list logo