Re: [R] is.null(mylist[1]) and is.null(mylist$a) returns different values

2017-06-15 Thread ce
Thank you all , very informative, never thought of doing a str( mylist[1] ) -Original Message- From: "Jeff Newmiller" [jdnew...@dcn.davis.ca.us] Date: 06/15/2017 11:56 AM To: r-help@r-project.org, "Huzefa Khalil" , "ce" Subject: Re: [R] is.null(mylist[1])

[R] is.null(mylist[1]) and is.null(mylist$a) returns different values

2017-06-15 Thread ce
Hi I have a list : mylist <- list( a = NULL, b = 1, c = 2 ) > mylist[1] $a NULL > is.null(mylist[1]) [1] FALSE > is.null(mylist$a) [1] TRUE why? I need to use mylist[1] __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://st

Re: [R] differential use of R version

2017-04-05 Thread ce
Maybe you can use .libPaths to choose a different library .libPaths("/myhome/Documents/R/R-3.0.2/library") Or /usr/bin/R command in linux is a shell script, you can edit some paths and make it work. ( I haven't tried it though) -Original Message- From: "Bogdan Tanasa" [tan...@gmail.c

Re: [R] find index in a list of list

2017-03-11 Thread ce
nour I didn't want to use "for loop". ce -Original Message- From: "Jeff Newmiller" [jdnew...@dcn.davis.ca.us] Date: 03/11/2017 11:23 AM To: r-help@r-project.org, "ce" , "Rui Barradas" Subject: Re: [R] find index in a list of list Since the of

Re: [R] find index in a list of list

2017-03-11 Thread ce
Sorry I rejoiced too soon. In fact original list is more complex like : mylist <- list(list(a=10,b="x",c=1),list(a=11,b="y",c=2),list(a=12,b="z",c=5)) and I still need to find index of where a = 11 and b = "y" and I have no c value ,

Re: [R] find index in a list of list

2017-03-11 Thread ce
Exactly. Thanks a lot, I was trying sapply with to result. -Original Message- From: "Rui Barradas" [ruipbarra...@sapo.pt] Date: 03/11/2017 10:06 AM To: "ce" , r-help@r-project.org Subject: Re: [R] find index in a list of list Hello, Something like this? find <-

[R] find index in a list of list

2017-03-11 Thread ce
Hi all, I have a list of lists like this : mylist <- list(list(a=10,b="x"),list(a=11,b="y"),list(a=12,b="z")) I want to find the index of list in mylist where a = 11 and b = "y" , so I want to get 2 as a result Thanks in advance __ R-help@r-projec

Re: [R] New installation

2016-06-10 Thread ce
I use opensuse linux with R , no problems, easy to install, added R repositories . -Original Message- From: "jax200" [jax...@gmail.com] Date: 06/09/2016 06:00 PM To: r-help@r-project.org Subject: [R] New installation Hi I'm starting off with both R and Linux Mint. During a recent R co

Re: [R] Making an if condition variable ?

2016-06-02 Thread ce
mp; d > 10 ) then I need to have a bunch of functions and I will forget which function I used. -Original Message- From: "Rainer M Krug" [rai...@krugs.de] Date: 06/02/2016 09:08 AM To: "ce" CC: "Jeff Newmiller" , r-help@r-project.org Subject: Re: Making

Re: [R] Making an if condition variable ?

2016-06-02 Thread ce
Thank you all for wisdom :) Problem is that I change the condition often and then I forget it. I wanted to put it at the beginning of the program with the other parameters so I wouldn't miss it. ce -Original Message- From: "Rainer M Krug" [rai...@krugs.de] Date: 06/0

[R] Making an if condition variable ?

2016-06-01 Thread ce
Dear all, I want to make an if condition variable like : a = 10 CONDITION = " a > 0 " if ( CONDITION ) print(" a is bigger" ) I tried get , getElement , eval without success ? Thanks __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more,

[R] ts time-object indexing question?

2016-02-15 Thread ce
Dear all, I can't find an answer to this simple question: a.ts <- ts(1:10, frequency = 1, start = c(1959, 1)) > a.ts Time Series: Start = 1959 End = 1968 Frequency = 1 [1] 1 2 3 4 5 6 7 8 9 10 Now I want to get let's say value for 1965 , how to get it ? > a.ts["1965"] [1] NA doesn

Re: [R] xts/zoo index problem?

2016-01-18 Thread ce
sn't work with .07 milisecond but work with .079 and .0 ?? -Original Message- From: "Huzefa Khalil" [huzefa.kha...@umich.edu] Date: 01/18/2016 09:26 PM To: "ce" CC: r-help@r-project.org Subject: Re: [R] xts/zoo index problem? Try a["2016-01-18 15:31:54.

[R] xts/zoo index problem?

2016-01-18 Thread ce
1453137885.23, 1453149114.079), tzone = "", tclass = c("POSIXct", "POSIXt")), .Dim = c(2L, 1L), .Dimnames = list(NULL, "value")) a a["2016-01-18 12:24:45.230"] #value #2016-01-18 12:24:45 1 a["

Re: [R] Column width in R terminal ?

2015-10-14 Thread ce
This is perfect, automatically sets width even if I resize when in R . thanks a lot. -Original Message- From: "Joss Wright" [j...@pseudonymity.net] Date: 10/14/2015 10:32 AM To: "ce" CC: r-help@r-project.org Subject: Re: [R] Column width in R terminal ? On Wed, O

Re: [R] Column width in R terminal ?

2015-10-14 Thread ce
command works fine in R but not in .Rprofile ? -Original Message- From: "Sarah Goslee" [sarah.gos...@gmail.com] Date: 10/14/2015 10:04 AM To: "ce" CC: "r-help" Subject: Re: [R] Column width in R terminal ? See ?options in particular the width option.

[R] Column width in R terminal ?

2015-10-14 Thread ce
? thanks CE __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained

Re: [R] Handling "NA" in summation

2015-09-06 Thread ce
ow about: > dataframe <- data.frame(A=20, B=NA) > dataframe$A + dataframe$B [1] NA > ?sum > sum(dataframe$A, dataframe$B, na.rm=TRUE) [1] 20 Sarah On Sun, Sep 6, 2015 at 6:48 PM, ce wrote: > > > I use something like : > > dataframe[ is.na(dataframe) ] <

Re: [R] Handling "NA" in summation

2015-09-06 Thread ce
I use something like : dataframe[ is.na(dataframe) ] <- 0 dataframe[ is.nan(dataframe) ] <- 0 dataframe[ is.infinite(dataframe) ] <- 0 -Original Message- From: "Olu Ola via R-help" [r-help@r-project.org] Date: 09/06/2015 06:24 PM To: r-help@r-project.org Subject: [R] Handling "NA" in

Re: [R] merge xts objects with different data types ?

2015-09-03 Thread ce
c" 2015-09-06 "def" 2015-09-07 "abc" -Original Message- From: "Joshua Ulrich" [josh.m.ulr...@gmail.com] Date: 09/03/2015 09:43 PM To: "ce" CC: "R-Help" Subject: Re: [R] merge xts objects with different data types ? On Thu, Se

[R] merge xts objects with different data types ?

2015-09-03 Thread ce
<- merge(a,b) > d a b 2015-09-03 "abc" "def" > factor(d, levels = c("abc","def")) a b abc def Levels: abc def Date disappears here? Thanks for your help ce __ R-help@r-project.or

[R] Milisecond problem in as.POSIXct ?

2015-06-10 Thread ce
Dear all, my main problem is with miliseconds. I have an array : library(xts) options(digits.secs = 3) > x [1] "2015-06-10 10:22:06.389 EDT" "2015-06-10 10:22:07.473 EDT" [3] "2015-06-10 10:22:08.717 EDT" "2015-06-10 10:22:09.475 EDT" > x[1] [1] "2015-06-10 10:22:06.38 EDT" > x[2] [1] "2015-06-1

Re: [R] how to update a value in a list with lapply

2015-05-11 Thread ce
Thanks a lot Bill and David. Very few elements will be updated in the list. I think I will go for for loop in this case. As a classic programmer I still feel uncomfortable with lapply anyway. ce -Original Message- From: "William Dunlap" [wdun...@tibco.com] Date: 05/10/201

Re: [R] how to update a value in a list with lapply

2015-05-10 Thread ce
yes indeed : foo <- lapply(foo, function(x) if(x[1] == 1 ) {x[2] <- 0; x }else{x} ) would work. But if the list is too long, would it be time consuming rather than just updating elements that meet the if condition? thx ce -Original Message- From: "David Winsemiu

[R] how to update a value in a list with lapply

2015-05-09 Thread ce
Dear All, I have a list, using lapply I find some elements of the list, and then I want to change the values I find. but it doesn't work: foo<-list(A = c(1,3), B =c(1, 2), C = c(3, 1)) lapply(foo, function(x) if(x[1] == 1 ) x ) $A [1] 1 3 $B [1] 1 2 $C NULL lapply(foo, function(x) if(x[1]

Re: [R] Forecasting prices

2015-04-29 Thread ce
Prof. Hydman's book is a good place to start : https://www.otexts.org/fpp -Original Message- From: "randomness" [m.kof...@aew.eu] Date: 04/28/2015 01:52 PM To: r-help@r-project.org Subject: [R] Forecasting prices Hi, apologies in advance for the generic question but I would highly appre

Re: [R] How many digits are there in left of dot of 0.0001 ?

2015-02-26 Thread ce
yes this is exactly what I want and it works. thanks. -Original Message- From: "JS Huang" [js.hu...@protective.com] Date: 02/26/2015 03:22 AM To: r-help@r-project.org Subject: Re: [R] How many digits are there in left of dot of 0.0001 ? Hi, To get the number of digits to the right of

Re: [R] How many digits are there in left of dot of 0.0001 ?

2015-02-25 Thread ce
No no, I don't want scientific , I want really the number 4 in a variable or cut the 4 out of 1e-04 . I can do it with sub what difficulty is to cut how many characters , one or two -Original Message- From: "Hasan Diwan" [hasan.di...@gmail.com] Date: 02/25/2015 09:55

Re: [R] How many digits are there in left of dot of 0.0001 ?

2015-02-25 Thread ce
are there in left of dot of 0.0001 ? On 25 February 2015 at 17:55, ce wrote: > Dear all, > > I would like to count how many digits are there on the left of a the dot > of a numeric variable > Left? An infinite number... What does this have to do with R, th

[R] How many digits are there in left of dot of 0.0001 ?

2015-02-25 Thread ce
Dear all, I would like to count how many digits are there on the left of a the dot of a numeric variable a=0.0001 thanks __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read

Re: [R] How to create a time series object with time only (no date)

2014-12-21 Thread ce
Thanks Joshua, Would you kindly explain if I have an xts array with different dates how I change all dates to 1970-01-01 without touching the time ? I tried with indexFormat without success. indexFormat(s) <- "1970-01-01 %H:%M:%S" . when I plot a graph it still shows origin

[R] How to create a time series object with time only (no date)

2014-12-20 Thread ce
Dear all, I want to create a time series object from 00:00:00 to 23:59:00 without dates ? I can't figure it out with xts ? ce __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEA

Re: [R] Your pardon: An article possibly of interest to statisticians

2014-12-19 Thread ce
Nice but as this is R forum, is there an R package related to it ? -Original Message- From: "John McKown" [john.archie.mck...@gmail.com] Date: 12/18/2014 01:38 PM To: "r-help" Subject: [R] Your pardon: An article possibly of interest to statisticians I do hope this doesn't upset anyone.

Re: [R] how to make this get command work?

2014-12-17 Thread ce
Thank you. I was flummoxed by late night tiredness. getElement via ?"[" helped me. I am flubbergusted with your speedy answer. ce -Original Message- From: "Bert Gunter" [gunter.ber...@gene.com] Date: 12/17/2014 10:35 PM To: "ce" CC: "r-help@r-project

[R] how to make this get command work?

2014-12-17 Thread ce
Dear all, If I have a list like this how I can get an object of it with a variable : foo<-list(A = c(1,3), B =c(1, 2), C = c(3, 1)) var <- "A" get(paste("foo$",'A',sep='')) Error in get(paste("foo$", "A", sep = "")) : object 'foo$A' not found __ R-he

Re: [R] need help with withRestarts ?

2014-12-06 Thread ce
Thank you very much Martin and Chel Hee. Indeed both approach works but Martin's approach covers whole function while Chel Hee's concentrates on problem line. Also another thanks to Martin for lesson on error handling which I desperately need. ce -Original Message- F

[R] need help with withRestarts ?

2014-12-06 Thread ce
Dear all, Let's say I have this script , below. tryCatch indeed catches the error but exists, I want function to continue and stay in the loop. I found very examples of withRestarts on internet to figure it out. Could you help me how to do it ? myfunc <- function() { while(1) { x <- r

Re: [R] R memory issues

2014-11-12 Thread ce
you may try to increase virtual memory : http://windows.microsoft.com/en-us/windows/change-virtual-memory-size#1TC=windows-7 -Original Message- From: "eliza botto" [eliza_bo...@hotmail.com] Date: 11/11/2014 02:35 PM To: "r-help@r-project.org" Subject: [R] R memory issues Dear useRs, I h

[R] lappy and xts get all indexes from a list ?

2014-10-31 Thread ce
Dear all, I have a list , and I want to get all indexes ( dates ) of xts objects in one list: foo<-list(A = xts(seq(2),seq(Sys.Date(),Sys.Date()+2,length.out=2)), B = xts(seq(1),seq(Sys.Date()-2,Sys.Date()-1,length.out=1)) ) > foo $A [,1] 2014-10-311 2014-11-022 $B

[R] Socket question about isIncomplete and isOpen

2014-10-21 Thread ce
I am trying to repeat socket example in ?socketConnection Server process : con1 <- socketConnection(port = 6011, server = TRUE) while(TRUE) { writeLines("a",con1 ); Sys.sleep(1) } Client process con2 <- socketConnection(Sys.info()["nodename"], port = 6011) readLines(con2, n = 1 ) while(i

Re: [R] xts array in minutes ?

2014-10-11 Thread ce
that's very good , thanks. -Original Message- From: "John McKown" [john.archie.mck...@gmail.com] Date: 10/11/2014 12:20 PM To: "ce" CC: "r-help" Subject: Re: [R] xts array in minutes ? On Sat, Oct 11, 2014 at 11:03 AM, ce wrote: > > Dea

[R] xts array in minutes ?

2014-10-11 Thread ce
Dear all, I want to convert to character arrays "2014-10:10 00:00:00" and "2014-10-10:23:59:00" to an array of minutes : 2014-10:10 00:00:00 2014-10:10 00:01:00 2014-10:10 00:02:00 What is the best way to do it ? thanks __ R-help@r-project.org mail

Re: [R] Desktop icon to run R and load/run specific package

2014-10-08 Thread ce
Did you try to create a file containing #!/usr/bin/Rscript library(mypackage) you also need to give execute permission like chmod 755 myfile.R -Original Message- From: "Karim Mezhoud" [kmezh...@gmail.com] Date: 10/08/2014 12:16 PM To: R-help@r-project.org Subject: [R] Desktop ic

[R] R Inter Process Communication tools/packages ?

2014-09-23 Thread ce
Hello All, Is there any IPC tools like in UNIX/Linux systems in R ? I know there is mmap package but I am looking something more like sockets . Any example appreciated . Thx . __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinf

[R] ANN ARIMA or ANN ES Examples ?

2014-09-17 Thread ce
Hello, I am looking for ANN ARIMA or ANN ES ( Artificial Neural Networks Hybrid with ARIMA or Exponential Smoothing ) R examples or packages ? as referenced in http://cs.uni-muenster.de/Professoren/Lippe/diplomarbeiten/html/eisenbach/Untersuchte%20Artikel/Zhan03.pdf regards

Re: [R] Windows R doesn't recognize shortcuts ?

2014-07-23 Thread ce
iles(path = "cygwin.lnk") character(0) -Original Message- From: "Duncan Murdoch" [murdoch.dun...@gmail.com] Date: 07/23/2014 09:21 AM To: "ce" , r-help@r-project.org Subject: Re: [R] Windows R doesn't recognize shortcuts ? On 23/07/2014 9:08 AM, ce wrote:

[R] Windows R doesn't recognize shortcuts ?

2014-07-23 Thread ce
Hi All, In Windows 7 , R installation: R version 3.1.1 Patched (2014-07-14 r66149) -- "Sock it to Me" Copyright (C) 2014 The R Foundation for Statistical Computing Platform: x86_64-w64-mingw32/x64 (64-bit) it doesn't recognize shortcuts in path : > list.files(path = "cygwin") character(0) cyg

Re: [R] lapply returns NULL ?

2014-07-12 Thread ce
Thanks Jeff et. all, This is exactly what I needed. -Original Message- From: "Jeff Newmiller" [jdnew...@dcn.davis.ca.us] Date: 07/12/2014 10:38 AM To: "Uwe Ligges" , "ce" , r-help@r-project.org Subject: Re: [R] lapply returns NULL ? I think that rem

[R] lapply returns NULL ?

2014-07-12 Thread ce
Dear all, I have a list of arrays : foo<-list(A = c(1,3), B =c(1, 2), C = c(3, 1)) > foo $A [1] 1 3 $B [1] 1 2 $C [1] 3 1 > if( foo$C[1] == 1 ) foo$C[1] > lapply(foo, function(x) if(x[1] == 1 ) x ) $A [1] 1 3 $B [1] 1 2 $C NULL I don't want to list $C NULL in the output. How I can

Re: [R] Order Book details in R Interactive Brokers Package

2014-07-03 Thread ce
There is a very good example system in http://censix.com/download/ -Original Message- From: "jeeth ghambole" [jeethghamb...@gmail.com] Date: 07/01/2014 10:59 AM To: r-help@r-project.org Subject: [R] Order Book details in R Interactive Brokers Package Hello All, I am working on projec

[R] Error in foo[[1:3]] : recursive indexing failed at level 2

2014-06-26 Thread ce
Dear all, I have a list of arrays : foo<-list(A = c(1,3), B =c(1, 2), C = c(3, 1)) > foo $A [1] 1 3 $B [1] 1 2 $C [1] 3 1 I want to use all foo$A , foo$B and foo$C in a test : > foo$A[1] == 1 [1] TRUE > foo[[1]][1] == 1 [1] TRUE > foo[[1:3]][1] == 1 Error in foo[[1:3]] : recursive indexi

Re: [R] as.Date(Sys.time()) returns tomorrow !

2014-06-19 Thread ce
nks. -Original Message- From: "William Dunlap" [wdun...@tibco.com] Date: 06/19/2014 11:10 PM To: "ce" CC: r-help@r-project.org Subject: Re: [R] as.Date(Sys.time()) returns tomorrow ! Is it a time zone issue? I get: R> Sys.time() [1] "2014-06-19 20:09:25 PDT&q

[R] as.Date(Sys.time()) returns tomorrow !

2014-06-19 Thread ce
Dear all, > Sys.time() [1] "2014-06-19 22:19:17.976818 EDT" > as.Date(Sys.time()) [1] "2014-06-20" > why this happens ? __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-p

Re: [R] how to do ARIMA prediction with high performance

2014-03-26 Thread ce
I think rugarch package is doing what you need . Also it uses cluster option to increase performance : http://www.unstarched.net/r-examples/rugarch/a-short-introduction-to-the-rugarch-package/ -Original Message- From: "cyl123" [505186...@qq.com] Date: 03/26/2014 09:43 PM To: "r-help"

Re: [R] Building R for better performance

2014-03-05 Thread ce
successfully on my opensuse.. My question is : after make install , do I need to give special options to install.packages or they will be complied with icc automatically ? Regards CE -Original Message- From: "Anspach, Jonathan P" [jonathan.p.ansp...@intel.com] Date: 03/05/2014 12:28

Re: [R] replacing zeros with above/below numbers ?

2014-02-05 Thread ce
Yes , indeed this is what I am looking for : a[ a == 0.0 ] = NA na.approx(a,na.rm="FALSE") Thanks a lot. -Original Message- From: "Jeff Newmiller" [jdnew...@dcn.davis.ca.us] Date: 02/05/2014 10:35 PM To: "ce" , "" Subject: Re: [R] replacing ze

Re: [R] replacing zeros with above/below numbers ?

2014-02-05 Thread ce
ues. Jeff proposed na.approx function , I didn't know it, looks promising , I will look into it . ce -Original Message- From: "Pascal Oettli" [kri...@ymail.com] Date: 02/05/2014 10:20 PM To: "ce" CC: "r-help" Subject: Re: [R] replacing zeros with above/bel

[R] replacing zeros with above/below numbers ?

2014-02-05 Thread ce
Dear all, My data is : a <- c(0.9721,0.9722,0.9730,0.9723,0.0,0.0,0.0,0.9706,0.9698,0.0,0.9710,0.9699) I want to replace zeros with average of before and after values of them. But sometimes there is one zero sometimes more than one. What is the most elegant way to do this ? Thanks a lot _

[R] testing xts values in if command?

2014-01-29 Thread ce
Dear all , xts objects give error in if command : Error in if : missing value where TRUE/FALSE needed > library(quantmod) > getSymbols("SPY") > SPY["2007-01-03"]$SPY.Adjusted > SPY["2007-01-04"]$SPY.Adjusted [,1] If I use as.numeric function it works : > SPY["2007-01-03"]$SPY.Ad

Re: [R] How do you install cran mac binaries

2014-01-28 Thread ce
'forecast' was built for x86_64-apple-darwin10.8.0 -Original Message- From: "Henrik Bengtsson" [h...@biostat.ucsf.edu] Date: 01/28/2014 12:39 PM To: "ce" CC: "" Subject: Re: [R] How do you install cran mac binaries Whether a package is install fr

Re: [R] How do you install cran mac binaries

2014-01-28 Thread ce
a a namespace (and not attached): [1] tools_3.0.2 -Original Message- From: "Marcus Nunes" [marcus.nu...@gmail.com] Date: 01/28/2014 12:30 PM To: "ce" , "R Help" Subject: Re: [R] How do you install cran mac binaries ce, Did you try to use the menu Packages &

Re: [R] How do you install cran mac binaries

2014-01-28 Thread ce
/28/2014 12:30 AM To: "ce" CC: "" Subject: Re: [R] How do you install cran mac binaries As you install basically all CRAN packages and all OSes; install.packages("forecast") /Henrik On Mon, Jan 27, 2014 at 8:18 PM, ce wrote: > Sorry if the question is

[R] How do you install cran mac binaries

2014-01-27 Thread ce
Sorry if the question is stupid, how you you install mac os binaries like in : http://cran.r-project.org/bin/macosx/contrib/r-release/forecast_5.0.tgz __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the

[R] testing if xts date exists ?

2014-01-25 Thread ce
Dear all How to test if xts date exists ? is.null doesn't work. SPY["2009-01-18"] doesn't exist but I can't catch it in my script. library(quantmod) getSymbols("SPY") > SPY["2009-01-16"] SPY.Open SPY.High SPY.Low SPY.Close SPY.Volume SPY.Adjusted 2009-01-1685.8685.99 83.

Re: [R] Setting up an R server.

2014-01-20 Thread ce
I didn't try it myself but free Teamviewer software lets you access to any PC linux or windows from your ipad : http://www.teamviewer.com/ -Original Message- From: "John Sorkin" [jsor...@grecc.umaryland.edu] Date: 01/20/2014 09:13 AM To: "" Subject: [R] Setting up an R server. Can som

Re: [R] accessing an object with a variable ?

2014-01-18 Thread ce
Yes, it works perfect, thanks a lot. -Original Message- From: "Marius 't Hart" [mar...@ai178182.ai.rug.nl] Date: 01/18/2014 04:58 PM To: "ce" CC: "" Subject: Re: [R] accessing an object with a variable ? Does this help you? http://stackoverflow.co

[R] accessing an object with a variable ?

2014-01-18 Thread ce
I want access and object , its name is in an variable : require(xts) data(sample_matrix) head(sample_matrix) Open High LowClose 2007-01-02 50.03978 50.11778 49.95041 50.11778 2007-01-03 50.23050 50.42188 50.23050 50.39767 2007-01-04 50.42096 50.42096 50.26414 50.33236

Re: [R] xts error: number of items to replace is not a multiple of replacement length

2014-01-16 Thread ce
0.23050 50.42188 50.23050 52.39767 #2007-01-04 50.42096 50.42096 50.26414 52.33236 A.K. On Thursday, January 16, 2014 8:34 PM, ce wrote: Dear all , I am getting this error while trying to change columns of an xts object with a date range as index. > library(xts) Loading required package: zoo

[R] xts error: number of items to replace is not a multiple of replacement length

2014-01-16 Thread ce
Dear all , I am getting this error while trying to change columns of an xts object with a date range as index. > library(xts) Loading required package: zoo Attaching package: ‘zoo’ The following object is masked from ‘package:base’: as.Date, as.Date.numeric > data(sample_matrix)

Re: [R] can't install rugarch and nloptr packages in R 3.01 opensuse linux

2013-06-17 Thread ce
Hi Pascal, Indeed by following your advice I succeeded to install nloptr. Thank you very much, -Original Message- From: "Pascal Oettli" [kri...@ymail.com] Date: 06/17/2013 05:30 AM To: "ce" CC: "" Subject: Re: [R] can't install rugarch and nloptr