Displaying 20 results from an estimated 1000 matches similar to: "calendar-based time-series in R"
2006 May 16
2
retaining character matrices when combining into data frames
Hello everyone,
If I want to convert or combine a (large) character matrix into a data
frame without having any of its columns convert into a factor class,
is there a simple solution? I() says it will operate on 'an
object' but it seems that unless the object is a vector, the results
are not what I expect.
For instance, if g is a 2x2 character matrix, as.data.frame(I(g)) will
return an
2005 Mar 23
1
interp.surface() error (PR#7745)
R version: 2.001
OS: Windows XP SP2
When I use the interp.surface() function, on occasion I have encountered
the following error message:
Error in interp.surface(a, loc) : subscript out of bounds
Since it is somewhat dependent on the data set, I cannot say exactly in
which cases these occur, but I believe I have found the problem and a
solution for it:
The scaling calculations in the code,
2004 May 20
1
Windows versus Unix packages in CRAN (Was Re: Rmetrics)
Prof Brian Ripley <ripley at stats.ox.ac.uk> wrote:
mkdir fBasics
unzip fBasics.zip -d fBasics
rm fBasics/src/*.o
R CMD check fBasics
and that took me about 3 minutes.
Now me, I just did
unzip -a fBasics_190.10051.zip
R CMD INSTALL fBasics
rm -rf fBasics
in a naive and trusting manner. It took me considerably longer than 3
minutes to learn that this was what I should do, and
2006 Jul 06
2
use of apply in a data frame on a row by row basis
Hello all,
I'm trying to use the apply function on a data frame,
by applying a function that takes a one row data.frame as argument .
Here's the example :
myfun = function(x) paste(x$f1 , x$f2)
df = data.frame(f1 = c(1,4,10),f2 = "hello")
apply(df,1,myfun) ==> Does not work (I get "character(0)" )
Though : myfun(df[1,]) works,
and myfun(df) works as well.
So if
2008 May 21
3
Problem with R or fBasics Package (PR#11495)
I have a problem wirh R: After loding fBasics packages log funtion doesn't
work like as fallow:
Cenap ERDEMIR
Hacettepe University
Turkey
> log(20)
[1] 2.995732
> local({pkg <- select.list(sort(.packages(all.available = TRUE)))
+ if(nchar(pkg)) library(pkg, character.only=TRUE)})
Loading required package: fImport
Loading required package: fSeries
Loading required package: robustbase
2006 Jun 01
1
date sequencing using the Fcalendar package
I am using the following command from the Fcalendar Package :
x = timeSequence("1992-12-31","1994-12-31")
and then y = as.character(x) is a vector of character strings
"[1] 1992-12-31" "1993-01-31" "1993-03-03" "1993-03-31" "1993-05-01" etc
This is very close to what I need and thank you very much
to whomever wrote
2011 Jan 06
5
Problem with timeSequence {timeDate} - wrong end date
Dear help-list,
I have a problem with timeSequence {timeDate}.
When I use it like
> timeSequence(from = "2008-01-01", to = "2010-12-13", by = "1 month")
GMT
[1] [2008-01-01] [2008-02-01] [2008-03-01] [2008-04-01] [2008-05-01]
[2008-06-01] [2008-07-01] [2008-08-01] [2008-09-01] [2008-10-01]
[2008-11-01]
[12] [2008-12-01] [2009-01-01] [2009-02-01] [2009-03-01]
2004 May 18
2
Windows versus Unix packages in CRAN (Was Re: Rmetrics)
> Rmetrics - New Version is available for R 1.9 !!
> in R-binary and R-source form from the site "http://www.rmetrics.org",
> and install the binary "zip" files in the usual way via the menu
I'm confused - does the fact that you are only distributing ".zip"
files means that (shudder) I need Microsoft Windows in order to run
this? (I hunted on the
2008 Sep 13
4
bubble(circle) plot help.
I need help creating a bubbleplot, like a simple pseudo three dimensional scatterplot of circles whose sizes index a 3rd variable. I initially came across this at http://addictedtor.free.fr/graphiques/graphcode.php?graph=73 but the circleplot function does not exist in fbasic as listed in the document.
_________________________________________________________________
2017 Nov 02
2
"prob" package alternative
The issue is fAsianOptions. Is there a version that works with the latest
version of R? If not, which version of it works with which version of R and
where can it be found? I tried several at the archive already.
Alternatively, is there another package that behaves similarly to prob?
On Wed, Nov 1, 2017 at 6:17 PM, David Winsemius <dwinsemius at comcast.net>
wrote:
>
> > On Nov
2017 Nov 01
2
"prob" package alternative
The prob package has been archived because it depends upon some other
packages which have issues.
However, such projects as Introduction to Probability and Statistics in R
depend upon it for learning. There are a few other resources that also use
it.
Does anyone know of any workarounds?
Someone at stack exchange mentioned using R 2.9. However, that broke my
RStudio (WSOD) and the dependent
2017 Nov 02
2
"prob" package alternative
Yes. That's the version I've been discussing that has non-zero exit status.
That situation is why CRAN retired the prob package. It's possible you
installed that library earlier in development and it's been "carried"
along. It no longer installs, now.
The problems with all of this seem to have started this month according to
the conversations. However, no one has
2017 Nov 02
2
"prob" package alternative
Yes, that is exactly what I was doing two days ago.
Warning in install.packages :
installation of package ?fAsianOptions_3010.79.tar.gz? had non-zero exit
status
Which is what a reading of the explanation for why "prob" was retired leads
one to expect. Do you have some other suggestion about how to get it to
work? I notice you're not using Windows which might have a relationship
2017 Nov 02
0
"prob" package alternative
> On Nov 2, 2017, at 11:15 AM, Tiby Kantrowitz <tlkantro at gmail.com> wrote:
>
> The issue is fAsianOptions. Is there a version that works with the latest version of R? If not, which version of it works with which version of R and where can it be found? I tried several at the archive already.
sessionInfo()
R version 3.4.2 Patched (2017-10-04 r73465)
Platform:
2017 Nov 02
2
"prob" package alternative
Rtools is not available for the current version of R.
What I'm looking for is an alternative package or how others have managed
to create workarounds.
On Thu, Nov 2, 2017 at 4:25 PM, David Winsemius <dwinsemius at comcast.net>
wrote:
>
> > On Nov 2, 2017, at 1:09 PM, Tiby Kantrowitz <tlkantro at gmail.com> wrote:
> >
> > Yes, that is exactly what I was doing
2017 Nov 02
2
"prob" package alternative
Thanks. I found that, and installed it and got the same message. Here:
RTools version 3.4
install.packages("fAsianOptions_3010.tar.gz", dependencies=TRUE,
repos=NULL, type = "source")
Installing package into ?C:/Users/Tlk7/Documents/R/win-library/3.4? (as
?lib? is unspecified) Warning: invalid package 'fAsianOptions_3010.tar.gz'
Error: ERROR: no packages specified
2017 Nov 01
0
"prob" package alternative
> On Nov 1, 2017, at 12:51 PM, Tiby Kantrowitz <tlkantro at gmail.com> wrote:
>
> The prob package has been archived because it depends upon some other
> packages which have issues.
>
> However, such projects as Introduction to Probability and Statistics in R
> depend upon it for learning. There are a few other resources that also use
> it.
>
> Does anyone
2006 Jan 30
1
fExtreme packages
Hello,
I am a new user of R. I am trying to use the packages fBasics and fExtremes
when i am running the examples I get few error. Could someone tell me what is
happenig? Thank you beforehand.
from Fbasics packages:
xmpfBasics()
Error in file(file, "r") : unable to open connection
In addition: Warning message:
cannot open file '/usr/lib/R/library/fBasics/demoIndex'
2017 Nov 02
0
"prob" package alternative
> On Nov 2, 2017, at 12:07 PM, Tiby Kantrowitz <tlkantro at gmail.com> wrote:
>
> Yes. That's the version I've been discussing that has non-zero exit status. That situation is why CRAN retired the prob package. It's possible you installed that library earlier in development and it's been "carried" along. It no longer installs, now.
>
> The problems
2017 Nov 02
0
"prob" package alternative
> On Nov 2, 2017, at 1:09 PM, Tiby Kantrowitz <tlkantro at gmail.com> wrote:
>
> Yes, that is exactly what I was doing two days ago.
>
> Warning in install.packages :
> installation of package ?fAsianOptions_3010.79.tar.gz? had non-zero exit status
>
> Which is what a reading of the explanation for why "prob" was retired leads one to expect. Do you have