Displaying 20 results from an estimated 5000 matches similar to: "Curl4, Quantmod, tseries and forecast"
2019 Jul 07
1
[R] Curl4, Quantmod, tseries and forecast
Hi Lorenzo,
On Sun, Jul 7, 2019 at 6:42 AM Lorenzo Isella <lorenzo.isella at gmail.com> wrote:
>
> Dear All,
> I have just upgraded to Debian stable 10 and rebuilt most of the R
> packages.
> I use the R backported packages from here
>
> https://cran.r-project.org/bin/linux/debian/#debian-buster-testing
>
> for the core system.
> I encounter some issues when
2019 Jul 09
3
[R] Curl4, Quantmod, tseries and forecast
Hi Ralf,
I tried the following
> install.packages("RCurl")
which went OK, but then same story when I tried to install tseries.
> sessionInfo()
R version 3.6.1 (2019-07-05)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Debian GNU/Linux 10 (buster)
Matrix products: default
BLAS: /usr/lib/x86_64-linux-gnu/blas/libblas.so.3.8.0
LAPACK:
2016 Apr 19
3
Problem with X11
Dear All,
I have never had this problem before. I run debian testing on my box
and I have recently update my R environment.
Now, see what happens when I try the most trivial of all plots
> plot(seq(22))
Error in (function (display = "", width, height, pointsize, gamma, bg,
:
X11 module cannot be loaded
In addition: Warning message:
In (function (display = "", width,
2016 Apr 19
0
Problem with X11
I don't have my debian box available so can't confirm. But I would try
$apt-get install libpng
On Tue, Apr 19, 2016 at 11:23 AM, Lorenzo Isella <lorenzo.isella at gmail.com>
wrote:
> Dear All,
> I have never had this problem before. I run debian testing on my box
> and I have recently update my R environment.
> Now, see what happens when I try the most trivial of all
2011 Nov 20
3
install.package tseries
I have not been successfull in downloading tseries package in the R in my macbook air.
The message sent is:Error in dyn.load(file, DLLpath = DLLpath, ...) :
imposs?vel carregar objeto compartilhado '/Library/Frameworks/
Do you have any clue?
2013 Mar 24
3
Parallelizing GBM
Dear All,
I am far from being a guru about parallel programming.
Most of the time, I rely or randomForest for data mining large datasets.
I would like to give a try also to the gradient boosted methods in GBM,
but I have a need for parallelization.
I normally rely on gbm.fit for speed reasons, and I usually call it this
way
gbm_model <- gbm.fit(trainRF,prices_train,
offset = NULL,
misc =
2013 Feb 09
3
Addressing Columns in a Data Frame
Dear All,
Probably a one liner, but I am banging my head against the floor.
Consider the following
DF <- data.frame(
x=1:10,
y=10:1,
z=rep(5,10),
a=11:20
)
mn<-names(DF)
but then I cannot retrieve a column by doing e.g,
DF$mn[2]
I tried to play with the quotes and so on, but so far with no avail.
Any suggestion is welcome.
Cheers
Lorenzo
2009 Aug 21
1
sessionInfo() fails to correctly detect locale settings
Dear R devels
Yesterday I was slightly surprised to notice that R incorrectly
detected some of the locale settings. I am not sure whether this is
important, but I preferred to drop a message. In the R output below,
some entries that should have been "en_GB.UTF-8" are presented as "C".
Regards
Liviu
> sessionInfo()
R version 2.9.1 (2009-06-26)
x86_64-pc-linux-gnu
locale:
2009 Jul 20
3
Histograms on a log scale
Dear All,
I would like to be able to plot histograms/densities on a semi-log or
log-log scale.
I found several suggestions online
http://tolstoy.newcastle.edu.au/R/help/05/09/12044.html
https://stat.ethz.ch/pipermail/r-help/2002-June/022295.html
http://www.harding.edu/fmccown/R/#histograms
Now, consider the code snippet taken from
http://www.harding.edu/fmccown/R/#histograms
# Get a random
2011 Dec 15
3
From Distance Matrix to 2D coordinates
Dear All,
I am struggling with the following problem: I am given a NxN symmetric
matrix P ( P[i,i]=0, i=1...N and P[i,j]>0 for i!=j) which stands for the
relative distances of N points.
I would like use it to get the coordinates of the N points in a 2D
plane. Of course, the solution is not unique (given one solution, I can
translate or rotate all the points by the same amount and generate
2016 May 18
3
[patch] Error in reg-tests-1c.R (R-devel)
I get an error when running "make check" after building R-devel r70629
on Ubuntu 14.04. Here are the relevant lines in the file
"reg-tests-1c.Rout.fail":
> ## m1z uses match(x, *) with length(x) == 1 and failed in R 3.3.0
> ## PR#16909 - a consequence of the match() bug; check here too:
> dv <- data.frame(var?1 = 1:3, var?2 = 3); dv[,"var?2"]
2002 Feb 26
1
Locale problems on Solaris
Hi there.
With OpenSSH 3.0.2p1 on Solaris, the locale does not appear to get set
correctly at login, as it does with, say telnet:
/etc/default/init:
TZ=GB
CMASK=022
LC_COLLATE=en_GB.ISO8859-1
LC_CTYPE=en_GB.ISO8859-1
LC_MESSAGES=C
LC_MONETARY=en_GB.ISO8859-1
LC_NUMERIC=en_GB.ISO8859-1
LC_TIME=en_GB.ISO8859-1
When logging in via SSH:
scot /home/scot > locale
LANG=
2007 Aug 08
2
Relocating Axis Label/Title --2
Apologies for the previous mail (I sent it off too early by mistake).
This is the correct example:
rm(list=ls())
D_mean<-seq(-5,5,length=100)
y<-exp(-D_mean^2/5)
pdf("my.pdf")
plot(D_mean,y,type="l",yaxt="n",lty=2,lwd=2,col="black",
ylab = list(expression(paste(dN/dlogD[agg]," ["*cm^-3*"]"))),
xlab = expression(paste(D[agg],"
2016 May 18
2
[patch] Error in reg-tests-1c.R (R-devel)
On 18/05/16 13:50, Martin Maechler wrote:
>>>>>> Mikko Korpela <mikko.korpela at helsinki.fi>
>>>>>> on Wed, 18 May 2016 13:05:24 +0300 writes:
>
> > I get an error when running "make check" after building
> > R-devel r70629 on Ubuntu 14.04.
> > Here are the relevant
> > lines in the file
2012 Oct 26
2
Stata Database & R
Dear All,
I am given some data to analyze. The data is in the form of a Stata
database (.dta file).
What is the best way to import it into an R dataframe?
Is there any particular caveat I should be aware of?
Many thanks
Lorenzo
2013 Jan 16
1
R CMD check not reading R_LIBS from ~/.R/check.Renviron
Dear List,
Further to my earlier email, I note that, for me at least, R CMD check
is *not* reading R_LIBS from ~/.R/check.Renviron on R 2.15.2 patched
(r61228) and R Under Development (r61660). The only way I can get R CMD
check to look for packages in a user-supplied library is by explicitly
exporting R_LIBS set to the relevant directory.
R CMD build *does* read R_LIBS from ~/.R/build.Renviron
2012 Oct 05
2
Test for Random Points on a Sphere
Dear All,
I implemented an algorithm for (uniform) random rotations.
In order to test it, I can apply it to a unit vector (0,0,1) in Cartesian
coordinates.
The result is supposed to be a set of random, uniformly distributed,
points on a sphere (not the point of the algorithm, but a way to test it).
This is what the points look like when I plot them, but other then
eyeballing them, can anyone
2010 Oct 08
2
font question on pdf device
Hi,
I wonder if this is something on my machine locally or R in general.
When I do the following:
> plot(c(0,1),c(0,1),main=expression(paste(symbol("D"),"D",sep="")))
I get a plot with a title having uppercase delta followed by "D". But in
the following
> pdf(file="deltaTest.pdf")
>
2007 Oct 15
1
Fonts do not display properly in R 2.5.1 on Red Hat Enterprise Linux 4
Dear All
I posted a similar question quite some time ago, but that was on an old
OS and an old version of R. This time I have RHEL 4, which is still
supported as an OS, and R 2.5.1 which is not *that* old.
My sessionInfo() gives:
> sessionInfo()
R version 2.5.1 (2007-06-27)
i686-redhat-linux-gnu
locale:
LC_CTYPE=en_GB.UTF-8;LC_NUMERIC=C;LC_TIME=en_GB.UTF-8;LC_COLLATE=en_GB.U
2013 Mar 25
2
Reassign Multiple Factors to same Factor Value
Dear All,
Probably something very easy, but I am looking for the most efficient ways
to achieve this.
Consider the following snippet
y<-c('a','b','c','d','e','f','g')
x<-rnorm(length(y))
df<-data.frame(y,x)
leading to
> df$y
[1] a b c d e f g
Levels: a b c d e f g
Now, I would like to replace levels