Keith Jewell-2 wrote
> The OP asked "Has anyone else had trouble with the XML package lately
> and if so, how did you resolve it?"
>
> For what it's worth...
>
> I failed to install XML using install() with the defaults; I can't
> remember the exact error message, something about access denied.
>
>
Thanks a lot to all of you for the help!
Duncan's solution is what I was looking for!
In my examples I assumed that if f(...) is called by g then the names
I use in g were transferred to f, which is not true.
But calling f as Duncan explained ( g <- function(x,y) f(x=x,y=y) )
solves the issue!
Dr. Dalgaard,
Thank you for further clarifying the problem.
I found a few possible solutions on internet, and will try to find the solution.
This was my first time to post questions on this mailing list, and I
learned quite a bit though working on this problem.
I apologize for any impoliteness yo
Let's say I have 12 observation of 5 variables and my first variable is
categorical (with 4 different levels). I am trying to find out statistical
significance difference between these categorical levels for each variable, but
my function is not working! Please note that my data "x" are in dat
I also am not sure exactly what the OP wants and even less sure of what he
needs...
But a possible answer is that a canonical way to do this is just to pass
down the ... list in the definition and specifying a named list of
arguments in the call (as has already been mentioned).
e.g. consider:
>
Hi all,
Thank you for your responses. Unfortunately, setting level=0.951 or
0.94 did not work for me. I followed your code, Duncan, and some of my
tau values are less than 2. I don't know how to interpret this
information, however. Can you point me in the direction to a reference?
Thanks
On May 28, 2015, at 11:03 AM, Duncan Murdoch wrote:
> On 28/05/2015 1:40 PM, Luca Cerone wrote:
>> Hi everybody,
>>
>> this is probably a silly question, but I can't find a way to recognize
>> the names that are passed
>> to variables in ellipsis.
>>
>> For example, say I have a "core" function
For some unknown reason, you've managed to install R.matlab without
the dependency R.methodsS3 (cf.
http://cran.r-project.org/web/packages/R.matlab/) or it happened due
to some other glitch somewhere.
Try to reinstall R.matlab. If that doesn't help, explicitly install
R.methodsS3 and retry. If y
On 28/05/2015 1:40 PM, Luca Cerone wrote:
> Hi everybody,
>
> this is probably a silly question, but I can't find a way to recognize
> the names that are passed
> to variables in ellipsis.
>
> For example, say I have a "core" function that receives some extra
> parameters through ...
> e.g.
>
>
Dear R list,
I am trying to do use the R.matlab library, I did the following, but it
does not work.
> library(R.matlab)
Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck
= vI[[j]]) :
there is no package called ‘R.methodsS3’
Error: package or namespace load failed for ‘R
On 28/05/2015 1:40 PM, Luca Cerone wrote:
Hi everybody,
this is probably a silly question, but I can't find a way to recognize
the names that are passed
to variables in ellipsis.
For example, say I have a "core" function that receives some extra
parameters through ...
e.g.
f <- function(...) {
Thanks to you all for your help!
I see Brian's answer as good when I want to prompt the user for a
password (when they set the profile for example) and I would like to
know how to mask the input there.
Henrik's answer seems the closest to what I would like to achieve, but
you are right if they as
Hi everybody,
this is probably a silly question, but I can't find a way to recognize
the names that are passed
to variables in ellipsis.
For example, say I have a "core" function that receives some extra
parameters through ...
e.g.
f <- function(...) {
params <- c(...)
#dothehardworkhere u
On 28/05/2015 1:11 PM, Jennifer Sweatman wrote:
Hi all,
Thank you for your responses. Unfortunately, setting level=0.951 or
0.94 did not work for me. I followed your code, Duncan, and some of my
tau values are less than 2. I don't know how to interpret this
information, however. Can you
Dear all,
I am writing a package that is a collection of queries to be run
against a postgresql database,
so that the users do not have to worry about the structure of the database.
In my package I import dbDriver, dbUnloadDriver, dbConnect,
dbDisconnect from the package DBI
and dbGetQuery from th
Hello,
Indeed I've had a lot of dependencies issues, but I'm solving them one
after the other.
Thanks for your time!
CR
On Thu, May 28, 2015 at 5:33 PM, Martin Morgan
wrote:
> On 05/28/2015 08:21 AM, Duncan Murdoch wrote:
>
>> On 28/05/2015 6:10 AM, Claire Rioualen wrote:
>>
>>> Hello,
>>>
>>>
Unless I have missed something somewhere, the object is named "graph" not
"RData" . Further, the call to by() is complete nonsense, with arguments
misspecified -- there is no "names.arg" argument to by() (the 2nd argument
is named "INDICES")
It appears that some people need to spend some time with
On 05/28/2015 08:21 AM, Duncan Murdoch wrote:
On 28/05/2015 6:10 AM, Claire Rioualen wrote:
Hello,
I can't seem to install R packages, since it seemed there were some
permission problems I "chmoded" /usr/share/R/ and /usr/lib/R/. However,
there are still errors in the process. Here's my config:
On 28/05/2015 9:08 AM, sami.toppi...@kolumbus.fi wrote:
I encountered the same problem today. It seems to occur only when you
use exactly 95 % as the confidence level. For example:
> confint(g1)
Waiting for profiling to be done...
2.5% 97.5%
a0 1.257512 1.330881
KP NA 163.8
On 28/05/2015 6:10 AM, Claire Rioualen wrote:
Hello,
I can't seem to install R packages, since it seemed there were some
permission problems I "chmoded" /usr/share/R/ and /usr/lib/R/. However,
there are still errors in the process. Here's my config:
> sessionInfo()
R version 3.1.1 (2014-07-10)
I encountered the same problem today. It seems to occur only when you
use exactly 95 % as the confidence level. For example:
confint(g1)
Waiting for profiling to be done...
2.5% 97.5%
a0 1.257512 1.330881
KP NA 163.862932
confint(g1, level = 0.95)
Waiting for profiling to
Hello,
I can't seem to install R packages, since it seemed there were some
permission problems I "chmoded" /usr/share/R/ and /usr/lib/R/. However,
there are still errors in the process. Here's my config:
> sessionInfo()
R version 3.1.1 (2014-07-10)
Platform: x86_64-pc-linux-gnu (64-bit)
locale:
Hi Daisy,
Let me rephrase what I said. Are you looking for 80% of bird breeding
observations for a given species in a calendar year (I think not), or
in the breeding season for that species, which may not be strongly
linked to a calendar year? Your example data, when plotted like this:
hist(obsDay
Thank you. May I ask, what would you recommend reading in order to learn how to
vectorise loops with dependencies using data.table facilities? I have been
searching online on this topic since last night but no luck yet.
On Thu, 5/28/15, David Winsem
Adding back context which was omitted by this Nabble user who still does not
understand the mailing list conventions:
> On May 27, 2015, at 2:28 AM, Shivi82 wrote:
>
>> Hello All,
>> I need help on creating a histogram for one of my data. The data is as below
>> (sample):
>> MFST_WT Hours
I don't know why that doesn't work, but try adding in
sep=","
In your read.csv()
That shouldn't matter as to whether or not it recognizes your object though,
but it will matter in how your object is read.
Other simple things might be to make sure the file is saved and then close it
out to mak
Hello,
> Now I have changed the file to a new file as RData.csv file and now when I
> use the below code it gives me an error
> graph<- read.csv("RData.csv", header = TRUE)
Here you read RData.csv into R as a data frame named graph.
> MonthlyWeight<-by(RData$Weight,names.arg = RData$Month,sum)
HI David,
So if I understand from your post below, when we import a file in R- we need
to make sure that the variable names do not have any space nor they should
be in special characters or not in comma format.
Please correct me I am wrong.
Now I have changed the file to a new file as RData.csv f
I have a section (6.4.2) about "singular gradient" (actually singular
Jacobian to numerical analysts) in my recent book "Nonlinear parameter
optimization using R tools". nls() is prone to this, though having all
the starting values the same in many functions can be asking for trouble
of this sort,
Lovely solution Mohammed. I had not even heard of the modeest package.
For names, I'd just create another data.frame
mode.names <- data.frame(df[,1], Out)
John Kane
Kingston ON Canada
> -Original Message-
> From: dcarl...@tamu.edu
> Sent: Thu, 28 May 2015 00:31:45 +
> To: mxal
I can't answer your question, but I can help you get help by re-writing
your code so it's easy for others to see what you're talking about ...
Jean
library(expm)
apinene_modele_prediction <- function(t, theta) {
x0 = c(100, 0, 0, 0, 0)
A = matrix(c(
-(theta[1]+theta[2]), theta[1], theta[
I have also seen this problem on a student's windows machine (with R
3.2.0 and on multiple mirrors). It appeared that the package zip
itself was being corrupted (with an error to the tune of downloaded
file size does not agree with actual file size). The most likely
explanation that I could come up
Dear Rolf,
utils::globalVariables() seems to work package wide. I prefer to ignore
these variable only within the function in which I explicitly define them.
If I use one of those variables in another function in which I haven't
declared them as global, then I want R CMD check to give me a NOTE.
Duncan Murdoch writes:
> On 28/05/2015 4:52 AM, Rainer M Krug wrote:
>> Hi
>>
>> Is there a way of resetting R to the --vanilla state *without
>> closing and restarting* R, i.e. all packages un-loaded (except the
>> ones loaded automatically in --vanilla), all options reset, dev()
>> closed, envi
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512
On 28/05/2015 4:52 AM, Rainer M Krug wrote:
> Hi
>
> Is there a way of resetting R to the --vanilla state *without
> closing and restarting* R, i.e. all packages un-loaded (except the
> ones loaded automatically in --vanilla), all options reset, dev
On 27/05/15 23:37, Thierry Onkelinx wrote:
Dear Glenn,
Suppose this function
test <- function(df){
ggplot(df, aes(x = gp, y = y)) + geom_point()
}
Then R CMD check will consider gp and y as global variables since they are
undefined. Because R CMD check cannot detect that gp and y will be
ex
On 28 May 2015, at 00:06 , Kengo Inagaki wrote:
> I did not understand complete separation quite well..
> Thank you very much for clarification.
>
> Kengo
>
> 2015-05-27 17:03 GMT-05:00 David Winsemius :
>>
>> On May 27, 2015, at 3:00 PM, Kengo Inagaki wrote:
>>
>>> Here is the result-
>>>
Hi
Is there a way of resetting R to the --vanilla state *without closing
and restarting* R, i.e. all packages un-loaded (except the ones loaded
automatically in --vanilla), all options reset, dev() closed,
environments detached and deleted, ...?
,
| > Version
|_
The OP asked "Has anyone else had trouble with the XML package lately
and if so, how did you resolve it?"
For what it's worth...
I failed to install XML using install() with the defaults; I can't
remember the exact error message, something about access denied.
Downloading XML_3.98-1.1.zip wi
Dear list-eners,
I run into the following problem when I want to get contrasts from a coxme
model using the lsmeans package: A call to lsmeans on the coxme model
throws the following error:
Error in if (adjustSigma && object$method == "ML") V = V *
object$dims$N/(object$dims$N - :
missing valu
40 matches
Mail list logo