Re: [R] remove a "corrupted file" after using download.file() with R on Windows 7

2016-10-02 Thread Fabien Tarrade
UE) } return(1) } ) Thanks a lot Cheers Fabien -- Dr Fabien Tarrade Quantitative Analyst/Developer - Data Scientist Senior data analyst specialised in the modelling, processing and statistical treatment of data. PhD in Physics, 10 years of experience as researcher at the forefront of internati

Re: [R] remove a "corrupted file" after using download.file() with R on Windows 7

2016-10-02 Thread Fabien Tarrade
Fabien -- Dr Fabien Tarrade Quantitative Analyst/Developer - Data Scientist Senior data analyst specialised in the modelling, processing and statistical treatment of data. PhD in Physics, 10 years of experience as researcher at the forefront of international scientific research. Fascinated

[R] remove a "corrupted file" after using download.file() with R on Windows 7

2016-09-28 Thread Fabien Tarrade
file.remove(path_file,overwrite=TRUE,showWarning=TRUE) } return(1) } ) Thanks a lot Cheers Fabien -- Dr Fabien Tarrade Quantitative Analyst/Developer - Data Scientist Senior data analyst specialised in the modelling, processing and statistical treatment of data. PhD in Physics

Re: [R] how to remove all messages when loading a library ?

2016-09-25 Thread Fabien Tarrade
Cheers, Bert Bert Gunter "The trouble with having an open mind is that people keep coming along and sticking things into it." -- Opus (aka Berkeley Breathed in his "Bloom County" comic strip ) On Sun, Sep 25, 2016 at 12:22 PM, Fabien Tarrade <fabien.tarr...@gmail.com>

[R] how to remove all messages when loading a library ?

2016-09-25 Thread Fabien Tarrade
ie folgenden Objekte sind maskiert von ‘package:stats’: filter, lag Die folgenden Objekte sind maskiert von ‘package:base’: intersect, setdiff, setequal, union [1] "step 2" What is the way to get no messages at all when loading library ? ( or using other R function in general).

Re: [R] what is the faster way to search for a pattern in a few million entries data frame ?

2016-04-29 Thread Fabien Tarrade
c(seq_along(grams), function(i) grepl("^91", grams[i]), mc.cores=8)) user system elapsed 24.996 1.709 3.974 > identical(res0, res2) [[1]] TRUE I think anything else would require pre-processing of some kind, and then some more detail about what your data looks like is r

Re: [R] what is the faster way to search for a pattern in a few million entries data frame ?

2016-04-10 Thread Fabien Tarrade
ste,collapse="")) match.ind<-grep("DF",df$strings) match.ind [1] 2 11 91 133 169 444 547 605 734 943 Jim -- Dr Fabien Tarrade Quantitative Analyst/Developer - Data Scientist Senior data analyst specialised in the modelling, processing and statistical treatment of data

Re: [R] what is the faster way to search for a pattern in a few million entries data frame ?

2016-04-10 Thread Fabien Tarrade
in my DF of the strings starting with a sequence of few words. I guess these days it is standard to use DF with millions of entries so I was wondering how people are doing that in the faster way. Thanks Cheers Fabien -- Dr Fabien Tarrade Quantitative Analyst/Developer - Data Scientist Senior

[R] what is the faster way to search for a pattern in a few million entries data frame ?

2016-04-10 Thread Fabien Tarrade
ive me some guidance ? Thanks a lot Cheers Fabien -- Dr Fabien Tarrade Quantitative Analyst/Developer - Data Scientist Senior data analyst specialised in the modelling, processing and statistical treatment of data. PhD in Physics, 10 years of experience as researcher at the forefront of international

[R] fast way to search for a pattern in a few million entries data frame

2016-04-09 Thread Fabien Tarrade
ive me some guidance ? Thanks a lot Cheers Fabien -- Dr Fabien Tarrade Quantitative Analyst/Developer - Data Scientist Senior data analyst specialised in the modelling, processing and statistical treatment of data. PhD in Physics, 10 years of experience as researcher at the forefront of international

Re: [R] R 3.1.2 : arima.sim(model=list(ma=0.5), n=250, innov=rnorm(250, mean=0, sd=0.1)) versus arima.sim(model=list(ma=0.5), n=250, mean=0, sd=0.1) = only the first element is not identical !

2015-07-13 Thread Fabien Tarrade
test 1 Thanks Cheers Fabien -- Dr Fabien Tarrade Quantitative Analyst - Data Scientist - Researcher Senior data analyst specialised in the modelling, processing and statistical treatment of data. PhD in Physics, 10 years of experience as researcher at the forefront of international scientific

Re: [R] R 3.1.2 : arima.sim(model=list(ma=0.5), n=250, innov=rnorm(250, mean=0, sd=0.1)) versus arima.sim(model=list(ma=0.5), n=250, mean=0, sd=0.1) = only the first element is not identical !

2015-07-13 Thread Fabien Tarrade
)) On Sat, Jul 11, 2015 at 3:46 AM, Fabien Tarrade fabien.tarr...@gmail.com mailto:fabien.tarr...@gmail.com wrote: Dear all, When doing a DataCamp tutorial with R I find the following observation that using 2 different syntax for arima.sim give different answer for the first

[R] R 3.1.2 : arima.sim(model=list(ma=0.5), n=250, innov=rnorm(250, mean=0, sd=0.1)) versus arima.sim(model=list(ma=0.5), n=250, mean=0, sd=0.1) = only the first element is not identical !

2015-07-11 Thread Fabien Tarrade
Fabien -- Dr Fabien Tarrade Quantitative Analyst - Data Scientist - Researcher Senior data analyst specialised in the modelling, processing and statistical treatment of data. PhD in Physics, 10 years of experience as researcher at the forefront of international scientific research. Fascinated