[R] Sweave: Incorporating warnings into a Sweave output chunck

2017-01-03 Thread Duncan Mackay
Dear All There are some occasions I have run code in R without warning. After incorporating the code into an .Rnw file and running by Sweave I find there are warnings sent to the screen. On some occasions when I use Sweave(...) I would like to incorporate the warnings into the resulting tex

Re: [R] getTimeLimit?

2017-01-03 Thread Henrik Bengtsson
On Tue, Jan 3, 2017 at 2:43 PM, William Dunlap via R-help wrote: > I am interested in measuring the time it takes to run an expression. > system.time(expr) does this but I would like to have it report just 'more > than xxx seconds', where xxx is a argument to the timing function, when it > takes

[R] getTimeLimit?

2017-01-03 Thread William Dunlap via R-help
I am interested in measuring the time it takes to run an expression. system.time(expr) does this but I would like to have it report just 'more than xxx seconds', where xxx is a argument to the timing function, when it takes a long time. This is useful automating the process of seeing how processi

[R] Error when trying to install rzmq continued

2017-01-03 Thread Paul Bernal
Dear friends, Thanks to all of you who took a a time to try to guide me. I get this error message. > install_github('armstrtw/rzmq') Error in curl::curl_fetch_disk(url, x$path, handle = handle) : Couldn't connect to server Any other way to work this out? My final goal is to get Jupyter to work

Re: [R] [FORGED] Re: Problems when trying to install and load package "rzmq"

2017-01-03 Thread Rolf Turner
On 04/01/17 08:45, Paul Bernal wrote: Hello Petr, Is it possible to compile the package (rzmq) from Ubuntu for Windows? No. At least in my understanding, if you want a package to run on Windoze, you have to compile it for Windoze, on Windoze, using compilers that are adapted to Windoze. A

Re: [R] Problems when trying to install and load package "rzmq"

2017-01-03 Thread Paul Bernal
Hello Petr, Is it possible to compile the package (rzmq) from Ubuntu for Windows? Best regards, Paul 2017-01-03 10:28 GMT-05:00 PIKAL Petr : > Hi > > It is clearly seen from CRAN that there is no binary for windows. So you > either need to migrate to linux or you need to compile the package fr

Re: [R] XML to CSV

2017-01-03 Thread Ben Tupper
Hi, It's hard to know what to advise - much depends upon the XML data you have and what you want to extract from it. Without knowing about those two things there is little anyone could do to help. Can you post to the internet a to example data and provide the link here? Then state explicitly

Re: [R] machine learning goal (new to R )

2017-01-03 Thread Sarah Goslee
There are a lot of machine learning options in R: https://cran.r-project.org/web/views/MachineLearning.html It sounds like you need to back up a step, and do some reading on the statistical underpinnings of machine learning before you try to figure out how to implement a particular method. There

[R] XML to CSV

2017-01-03 Thread Andrew Lachance
up votdown votefavorite I am completely new to R and have tried to use several functions within the xml packages to convert an XML to a csv and have had little success. Since I am

[R] machine learning goal (new to R )

2017-01-03 Thread Chuck Snell
Hello, I am new to R, a computer programmer friend of mine recommended R for a project I have on my plate. (He is not a R guy but knows I need to consider it for the problem I described to him) Frist, I have plenty of data I have been doing this task with regression models but was asked to try

[R] How to check R kernel (IRkernel) version used in Jupyter

2017-01-03 Thread Paul Bernal
Dear friends, I would like to know how can I do to check which IRkernel version I am currently using? Thanks beforehand for any valuable information you can share, Best regards, Paul [[alternative HTML version deleted]] __ R-help@r-project.o

Re: [R] Fitting Hastie's principal surfaces in R

2017-01-03 Thread Hall, Mark
Did you search for the princurve package? Sounds like it may be what you want. See https://cran.r-project.org/web/packages/princurve/index.html Best, MEH Mark E. Hall, PhD Assistant Field Manager Black Rock Field Office Winnemucca District Office 775-623-1529. On Sun, Jan 1, 2017 at 2:56 AM, Ne

Re: [R] Problems when trying to install and load package "rzmq"

2017-01-03 Thread PIKAL Petr
Hi It is clearly seen from CRAN that there is no binary for windows. So you either need to migrate to linux or you need to compile the package from source or maybe both. You need to study how to compile a package as it is usually not trivial task, especially for somebody who does not compile p

Re: [R] [Rd] Problems when trying to install and load package "rzmq"

2017-01-03 Thread Paul Bernal
Dear Whit, Thank you for your valuable and kind reply. I will take a look at the link you provided, however, I would also like to try to compile libzmq sources for windows with R´s mingw, how can I do this? Or where can I find any documents or guidance to try this? Any help will be greatly apprec

Re: [R] Network validation (of sorts) using granger Causality in R

2017-01-03 Thread Erdogan CEVHER
1. Describe better the distributions of obs to time series; i.e., describe clearly the time series and obs with math'l notation briefly. 2. Use Conditional G-causality and/or partial G-causality, you can exceed "the limit of max. number of variables = 11" in a VAR structure. 3. You can use R's FI

Re: [R] Network validation (of sorts) using granger Causality in R

2017-01-03 Thread Bert Gunter
Have you searched?! "Granger causality" at rseek.org brought up what appeared to be many relevant hits. -- 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 )

Re: [R] Problems when trying to install and load package "rzmq"

2017-01-03 Thread Paul Bernal
Hello Paulo, Thanks for the reply. As a matter of fact, I used the command install.packages("rzmq"), however, the error message kept showing. Best regards, Paul 2016-12-29 16:26 GMT-05:00 Paulo Moniz : > hi Bernal, wouldn't the right command be - install.packages("rzmq") > > > > > > > ---

[R] Difference in Generalized Extreme Value distribution parameter estimations using lmom and fExtremes

2017-01-03 Thread Amelia Marsh via R-help
Dear R forum I have following dataset amounts = c(2803102.248,1088675.278,10394575.14,1007368.396,1004871.328,1092956.088,1020110.818,997371.4487,1000904.154,998105.9744,997434.3006,1080067.258,997594.7992,1000871.015,1001321.094,1000713.448,997591.2307,1469501.54,1066924.393,1074918.566,998628.

[R] Network validation (of sorts) using granger Causality in R

2017-01-03 Thread PWD7052 via R-help
Hi Everyone, We have a question about whether one can to do a particular type of Granger Causality (GC) network validation in R. We hope you'll agree it's an interesting problem and that someone's figured out how to solve it. We have a cellular network with n nodes (proteins).  We have two diff

[R] Reg. odds ratio for Nested logit model

2017-01-03 Thread Suja Sekhar C
Hi, I am new to R. I find that I can get the odds ratio of a logit regression by typing exp(coef(result)) . However for a nested logit model with an inclusive value parameter, I am not sure how to get the odds ratio. My code is below, with m1 containing my results. Please help me to get the odds-r