Displaying 20 results from an estimated 2000 matches similar to: "help regarding the package installation"
2013 Mar 06
1
CARET and NNET fail to train a model when the input is high dimensional
The following code fails to train a nnet model in a random dataset using
caret:
nR <- 700
nCol <- 2000
myCtrl <- trainControl(method="cv", number=3, preProcOptions=NULL,
classProbs = TRUE, summaryFunction = twoClassSummary)
trX <- data.frame(replicate(nR, rnorm(nCol)))
trY <- runif(1)*trX[,1]*trX[,2]^2+runif(1)*trX[,3]/trX[,4]
trY <-
2011 Nov 07
1
close but no cigar
Hi Everyone: It turns out that there's still a small ( I hope ) problem.
I'm close but that only counts in horse shoes and hand grenades.
Here's my problem: When trying to load a package that I am writing, the
load is looking for the packageDescription function in the utils package
but not finding the utils package. I looked on cran and utils is not there
which makes me think that it
2023 Jun 01
1
error in arfima...
>>>>> akshay kulkarni
>>>>> on Wed, 31 May 2023 20:55:33 +0000 writes:
> dear members,
> I am using arfima() from forecast package to model a time
> series. The following is the code:
>> LYGH[[202]]
> [1] 45.40 3.25 6.50 2.15
>> arfima(LYGH[[202]])
> Error in .fdcov(x, fdf$d, h, nar = nar, nma = nma,
2010 Oct 22
2
about libsvm
hii all!!!
could anyone tell me how to use libsvm in R.. i am not able to find good way
to use it....
--
View this message in context: http://r.789695.n4.nabble.com/about-libsvm-tp3007214p3007214.html
Sent from the R help mailing list archive at Nabble.com.
2023 Jun 05
1
error in arfima...
Dear Martin,
Sad that the bug is beyond your ken...
Fortunately, the error happens only rarely...The length of LYGH was 719 and there were only two such errors..I will just replace them with NA and make do.
By the by, what if I send LYGH as an attachment to your actual mail ( not the r-help mail)? Will it help? Can you then pinpoint the cause?
Or should I raise a bug
2010 Nov 29
3
Replacing several rows of a matrix at once
Hello Folks. This must be a silly question with a (not) obvious (to me)
answer.
Consider this:
tmp <- matrix(1:200, nrow = 20)
vec <- 300:309
tmp[9,] <- vec # replacing one row works fine
p <- c(3, 11, 17)
tmp[p,] <- vec
# replacing multple rows pastes the values down a column and recycles vec.
What I want to do is replace multiple rows simultaneously at once. I
suppose I can
2012 Oct 17
3
history and readline, Mac OSX
Hi,
Obviously history() will only work with readline installed: so far I
have not been able to find working advice for installing and enabling
readline on MacOSX.
> sessionInfo()
R version 2.15.1 (2012-06-22)
Platform: x86_64-apple-darwin9.8.0/x86_64 (64-bit)
locale:
[1] C
attached base packages:
[1] tools tcltk stats4 splines parallel datasets compiler
[8] graphics
2023 May 31
1
error in arfima...
dear members,
I am using arfima() from forecast package to model a time series. The following is the code:
> LYGH[[202]]
[1] 45.40 3.25 6.50 2.15
> arfima(LYGH[[202]])
Error in .fdcov(x, fdf$d, h, nar = nar, nma = nma, hess = hess, fdf.work = fdf$w) :
NA/NaN/Inf in foreign function call (arg 5)
I tried viewing .fdcov() with the following code:
2013 Oct 14
1
there is no package called 'boot'
Hi,
R CMD mypackage /Users/hoffmann/R/cwhmisc check --as-cran
gives me
* checking Rd cross-references ... WARNING
Error in find.package(package, lib.loc) :
there is no package called 'boot'
although there is no textual reference to 'boot' in my /R and /man
within /cwhmisc nor any file of that name.
How could I possibly find the culprit?
TIA
C.
sessionInfo() > R
2012 Nov 14
1
install own package ?
what happens here:
> install.packages("/Users/hoffmann/R/cwhmisc_4.0.tar.gz",repos = NULL)
Error: file '/Users/hoffmann/R/cwhmisc_4.0.tar.gz' is not an OS X binary
package
> sessionInfo()
R version 2.15.1 (2012-06-22)
Platform: x86_64-apple-darwin9.8.0/x86_64 (64-bit)
locale:
[1] C
attached base packages:
[1] tools tcltk stats4 splines parallel
2013 Mar 25
2
ifelse can't return a list? Please explain (R-2.15.3)
I hope you are doing well.
For me, this was an unexpected problem. I've hoped for quite a few
wrong things today, but I'm only asking you about this one. Why does
ifelse(1, list(a, b, c), list(x, y, z))
return a list with only a, not list(a, b, c) as I hoped. I wish it
would either
cause an error or return the whole list, not just the first thing.
Working example:
> x <- 1
>
2012 Jan 16
1
start.help() and browser
Hi, when calling help.start() I get the message
"> sh: firefox: command not found"
and the help system is inaccessible (which is an absolute nuisance, but
bypassable under http://stat.ethz.ch/R-manual/R-patched/library/)
I have no idea what is broken in my system and I didn'n find any pointer
in the archives(my search skills may be deficient..)
My sessionInfo():
R
2018 Mar 28
2
can not install package "matie"
Dear R-experts,
I can not install the package "matie". If somebody can tell me where the problem is.
> install.packages("matie")
Installing package into ?/Users/Caro/Library/R/3.3/library?
(as ?lib? is unspecified)
essai de l'URL 'https://cran.rstudio.com/bin/macosx/mavericks/contrib/3.3/matie_1.2.tgz'
Content type 'application/x-gzip' length 80151
2009 Dec 07
1
rgl keyboard shortcut for translation on Mac?
Hello Everyone.
I?m on a Mac, using rgl. Thanks to all the developers and maintainers on
it!
If I drag the mouse, I can rotate the view, if I hold down the option key or
the ctrl key and drag, I get scaling (though at times I seem to alter the
perspective?). Adding the shift key doesn't seem to modify anything.
So, what I can't find is a key combination that translates the object.
2011 Jan 24
3
error with source(): invalid 'times' value
hi
I am seeing a strange behavior I can't understand... doing:
> source("/tmp/RFile.r",echo=TRUE)
Error in rep.int(c(prompt.echo, continue.echo), c(leading, length(dep) - :
invalid 'times' value
> traceback()
3: rep.int(c(prompt.echo, continue.echo), c(leading, length(dep) -
leading))
2: paste(rep.int(c(prompt.echo, continue.echo), c(leading, length(dep)
2009 Dec 29
1
ggplot2, building a simple formula interface
I?m trying to build a simple formula interface to work with a function using
ggplot2. The following scheme ?works? up until the plot(p) request, at which
point there are complaints about xlim?s and a blank graphics window.
Looking at str(p) I do see the limits are NULL, plus layer 1 claims to have
an empty data frame (but df is reproduced correctly). I'm sure I'm missing
something really
2020 Oct 22
2
vanilla session in R Gui or RStudio
[env: Windows, R 3.6.6]
When I start R from the R Gui icon or from RStudio, I get a large number of packages loaded via a namespace. Not entirely clear where these come from.
As a result, I often run into problems updating packages because something is already loaded. How can start a new gui session with minimal packages loaded?
> sessionInfo()
R version 3.6.3 (2020-02-29)
Platform:
2012 Apr 11
1
Problem with effects package
> sessionInfo()
R version 2.15.0 (2012-03-30)
Platform: x86_64-apple-darwin9.8.0/x86_64 (64-bit)
locale:
[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8
attached base packages:
[1] grid datasets splines utils stats
[6] graphics grDevices methods base
other attached packages:
[1] effects_2.1-0 colorspace_1.1-1
[3] nnet_7.3-1
2017 Nov 08
2
Ggplot error
Hello,
I've an error recently.
ggplot(data = mtcars, aes(x= wt, y= mpg)) + geom_line()
Error: Found object is not a stat.
> sessionInfo()
R version 3.4.2 (2017-09-28)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Ubuntu 16.04.3 LTS
Matrix products: default
BLAS: /usr/lib/openblas-base/libblas.so.3
LAPACK: /usr/lib/libopenblasp-r0.2.18.so
locale:
[1] LC_CTYPE=tr_TR.UTF-8
2013 Mar 30
1
vcovHC and arima() output
Dear all,
how can I use vcovHC() to get robust/corrected standard errors from an
arima() output?
I ran an arima model with AR(1) and got the estimate, se, zvalue and
p-value using coeftest(arima.output).
However, I cannot use vcovHC(arima.output) to get corrected standard
errors. It seems vcovHC works only with lm and plm objects?
Is there another way I can get robust/corrected