Displaying 20 results from an estimated 7000 matches similar to: "Time-machine typo"
2011 Jul 30
1
R checks links broken
I was about to show the Rcpp build check results to a user when I noticed
that the relevant URL
http://cran.r-project.org/web/checks/check_results_Rcpp.html
currently yields a 404 error.
Spot checking for other package yields the same. Looking at
http://cran.r-project.org/web/
shows that no checks/ diretory can be found. Did an NFS mount go down?
Cheers, Dirk
--
Gauss once played
2011 Nov 10
2
performance of adaptIntegrate vs. integrate
Dear list,
[cross-posting from Stack Overflow where this question has remained
unanswered for two weeks]
I'd like to perform a numerical integration in one dimension,
I = int_a^b f(x) dx
where the integrand f: x in IR -> f(x) in IR^p is vector-valued.
integrate() only allows scalar integrands, thus I would need to call
it many (p=200 typically) times, which sounds suboptimal. The
2008 Mar 12
3
Types of quadrature
Dear R-users
I would like to integrate something like \int_k^\infty (1 - F(x)) dx, where F(.) is a cumulative distribution function. As mentioned in the "integrate" help-page: integrate(dnorm,0,20000) ## fails on many systems. This does not happen for an adaptive Simpson or Lobatto quadrature (cf. Matlab). Even though I am hardly familiar with numerical integration the implementation
2011 Jun 06
1
Lapack or Blas crashing R when using "large" matrices (Ubuntu 11.04)
Hello,
This simple SVD calculation (commands are copied immediately below) crashes on my Ubuntu machine (R 2.13.0). However it
worked fine with R.12 and Ubuntu 10.04, and it also works fine on my Windows 7 machine with R 2.13, so I suspect there's a problem with (my?) Ubuntu and / or R.
I'm using the R distribution that is accessible with Ubuntu's repositories manager, I am not
2011 May 17
1
Rscript hangs on exit with ubuntu 11.04
Hi,
I have run into a strange issue with Rscript and plyr. When running
the following Rscript:
#!/usr/bin/Rscript
library(plyr)
d = ddply(data.frame(a=1:101,b=1:101), .(a,b), nrow)
head(d)
the script does not terminate. It prints out the results from head(d),
but does not return to the shell. By changing the a and b to 1:100,
the script returns. The same code running within the R shell works
2011 Jun 16
2
cannot install Rcmdr on ubuntu 11.4
Hello,
For one reason or another, I cannot install Rcmdr on my R 2.12.2 ubuntu 11.4 system.
I run R as root When I try to install Rcmdr, then whatever mirror I select, I get the message:
install.packages('Rcmdr',dependencies=TRUE)
Installing package(s) into ‘/usr/local/lib/R/site-library’
(as ‘lib’ is unspecified)
--- Please select a CRAN mirror for use in this session ---
Loading Tcl/Tk
2011 Apr 25
2
Problem installing XML in Ubuntu 10.10
Hello folks,
Here's is info on what system I'm working on.
> sessionInfo()
R version 2.13.0 (2011-04-13)
Platform: i686-pc-linux-gnu (32-bit)
I'm trying to install the XML package. However, I end up with the following
error message.
> install.packages("XML")
....
checking for xml2-config... no
Cannot find xml2-config
ERROR: configuration failed for package ‘XML’
*
2011 Apr 23
2
Could I use R function lm or nlm in C code?
Dear R,
I'm doing some simulation work and it takes me a lot of time to do it
in R. So I try to implement it in C code, but I want to use some R
functions directly for my lazy and the robustness of code. For
example, I will use lm and nlm in my program. How could I use R's lm
and nlm function directly? I thinks these functions are not included
in the R's include directory. Do I need
2010 Sep 29
1
nlminb and optim
I am using both nlminb and optim to get MLEs from a likelihood function I have developed. AFAIK, the model I has not been previously used in this way and so I am struggling a bit to unit test my code since I don't have another data set to compare this kind of estimation to.
The likelihood I have is (in tex below)
\begin{equation}
\label{eqn:marginal}
L(\beta) = \prod_{s=1}^N \int
2009 Aug 07
1
Gauss-Laguerre using statmod
I believe this may be more related to analysis than it is to R, per se.
Suppose I have the following function that I wish to integrate:
ff <- function(x) pnorm((x - m)/sigma) * dnorm(x, observed, sigma)
Then, given the parameters:
mu <- 300
sigma <- 50
m <- 250
target <- 200
sigma_i <- 50
I can use the function integrate as:
> integrate(ff, lower= -Inf, upper=target)
2011 Jul 21
2
revolution-mkl package not functioning correctly with R 2.13
It appears that the revoluton-mkl package, available via the multiverse
Ubuntu repository with the purpose of adding multi-threaded numeric
libraries to R, is not function correctly with R 2.13 (at least the
version found on CRAN). Testing with "R-benchmark-25.R" (found at
http://r.research.att.com/benchmarks/), I get the following error, after
installing the revolution-mkl package
2008 Sep 27
3
Double integration - Gauss Quadrature
Hi,
I would like to solve a double integral of the form
\int_0^1 \int_0^1 x*y dx dy
using Gauss Quadrature.
I know that I can use R's integrate function to calculate it:
integrate(function(y) {
sapply(y, function(y) {
integrate(function(x) x*y, 0, 1)$value
})
}, 0, 1)
but I would like to use Gauss Quadrature to do it.
I have written the following code (using R's statmod package)
2001 Apr 05
2
Using Gauss with R
Dear All,
I am a long time S user and now a convert to R. As part of my general work
in time series I occasionally assist groups of econometricians and others in
the finance fraternity. In particular, that community has invested a large
amount of time and effort in writing specialised code in Gauss. I am
unfamiliar with Gauss (although I have used Matlab which is, I understand, a
comparable
2013 Dec 04
1
option hide unreadable not work
Hi all.
I thying settings the option "hide unreadable" but not work. I tested
in global section and share section, follow my settings now. after
various tests.
# Global parameters
[global]
workgroup = BATLAB
realm = BATLAB.CORP
netbios name = GAUSS
server role = active directory domain controller
server services = s3fs, rpc, nbt, wrepl,
2010 Oct 26
1
Markov Switching with TVTP - problems with convergence
Greetings fellow R entusiasts!
We have some problems converting a computer routine written initially for
Gauss to estimate a Markov Regime Switching analysis with Time Varying
Transition Probability. The source code in Gauss is here:
http://www.econ.washington.edu/user/cnelson/markov/programs/hmt_tvp.opt
We have converted the code to R, and it's running without errors, but we
have some
2009 Feb 23
1
r: intergrate behaviour
hello R users
strange behavior of the integrate function!
i assume this occurs because of the way in which the quadriture is set up! (any comments.)
f=function(x){exp(-exp(-x)-5*x)/gamma(5)}
xx=seq(from=-20, to=20, length.out=1000)
plot(xx,f(xx),type="l")
integrate(f, lower=-Inf, upper= 1)
integrate(f, lower=-Inf, upper= 10)
integrate(f, lower=-10, upper= 11)
integrate(f,
2006 Jul 20
2
function names in a vector used by for (){} character problem ?
Hi there,
i´m have vector of kernels. just like:
kernels = c('gauss','epan','rectangular')
i know there are density.default$kernels, but thats not my question
here. my own kernel functions are running and working.
my problem is the following is not working:
dev.off()
par(mfrow=c(3,3))
for(i in 1:length(bw))
{
for(j in 1:length(kernels))
{
2011 Jul 28
1
download/install R in Ubuntu for new users
For someone who is transitioning away from Windows to Ubuntu for the sake of
R, can anyone point me to fail-safe, step-by-step instructions on how to
install/upgrade R? I've followed the instructions from other threads here
but still get 2.12.1 when I launch R.
[[alternative HTML version deleted]]
2011 Jun 21
2
Error using RcppGSL
Hi, I get an error using RcppGSL: fatal error: gsl/gsl_vector.h:No such file
or directory. What is the best way to install these files as they seem to
be missing?
Thanks,
Oyvind
--
View this message in context: http://r.789695.n4.nabble.com/Error-using-RcppGSL-tp3613535p3613535.html
Sent from the R devel mailing list archive at Nabble.com.
2008 Oct 30
1
A question about pairs()
Greetings R users,
I am an R graphics newbie trying to produce a custom trellis plot using
pairs() with R 2.7.2.
I have spatial data on which I run a geographically weighted regression
(gwr, using the -spgwr- package). I want to check the gwr coefficients
for multicollinearity and spatial association, following Wheeler and
Tiefelsdorf (2005), and I would like to summarize the results of this