On 2020-05-13 19:54 +, Poling, William wrote:
> I have R on personal laptop for
> consultative purposes from time to time,
> however, I cannot move data,
> confidentiality constraints, as you can
> imagine.
>
> I have initiated another IT ticket with
> organization, I think I will get to
-Original Message-
From: Rasmus Liland
Sent: Wednesday, May 13, 2020 2:50 PM
To: Poling, William
Cc: r-help@r-project.org
Subject: [EXTERNAL] Re: Re: [R] Help with R-Markdown please
External Email - Use Caution
On 2020-05-13 19:27 +, Poling, William wrote:
> if this
On 2020-05-13 19:27 +, Poling, William wrote:
> if this is something I can do without IT admin access.
Hi! O.T. on laptops: Also, perhaps it is
easier to find another laptop. There seems
to be some great ThinkPads readily available
anywhere around the U.S., like an X61 or X220
or somethi
= 10
responseTimeout = ResponseTimeoutDefault
requestVersion = HTTP/1.1
}
(InvalidDestinationHost "")
Error: pandoc document conversion failed with error 61
Execution halted
WHP
Proprietary
-Original Message-----
From: Rasmus Liland
Sent: Wednesday, May 13,
On 2020-05-13 18:46 +, Poling, William via R-help wrote:
> Hello all.
>
> I am still struggling with this issue.
>
> It appears that new installations are going
> to local drive.
>
> # #Test 05/13/2020
> # install.packages("abjutils")
> # package ‘abjutils’ successfully unpacked and MD5 sum
Original Message-
From: Ege Rubak
Sent: Tuesday, May 12, 2020 7:43 AM
To: Poling, William ; r-help@r-project.org
Subject: [EXTERNAL] Re: [R] Help with R-Markdown please
External Email - Use Caution
Looks like your files are on a Windows network drive (UNC path). I have
exper
p 813-777-5030
Proprietary
-Original Message-
From: Ege Rubak
Sent: Tuesday, May 12, 2020 7:43 AM
To: Poling, William ; r-help@r-project.org
Subject: [EXTERNAL] Re: [R] Help with R-Markdown please
External Email - Use Caution
Looks like your files are on a Windows network
Looks like your files are on a Windows network drive (UNC path). I have
experienced many problems with this on a Windows laptop from work. If
at all possible you should avoid this. As an absolute minimum make sure
your R library (collection of installed packages) is on the local file
system and not
Thank you William appreciate your response Sir.
WHP
From: William Michels
Sent: Wednesday, May 22, 2019 9:58 AM
To: Bill Poling
Cc: r-help (r-help@r-project.org)
Subject: Re: [R] Help with R coding
Morning Bill, I take it this is dplyr? You might try:
tmp1 <- HCPC %>%
group_by(HCP
Thank you Jeff!
WHP
From: Jeff Newmiller
Sent: Wednesday, May 22, 2019 10:06 AM
To: r-help@r-project.org; Rui Barradas ; Bill Poling
; r-help (r-help@r-project.org)
Subject: Re: [R] Help with R coding
Generally more efficient to filter before grouping.
Note that summarize clears out
Generally more efficient to filter before grouping.
Note that summarize clears out whatever isn't mentioned in it, so the
subsetting currently being done in the mean call could also be done in the
pre-filter step and you can avoid filtering other columns and then discarding
them by limiting the
Morning Bill, I take it this is dplyr? You might try:
tmp1 <- HCPC %>%
group_by(HCPCSCode) %>%
summarise(Avg_AllowByLimit =
mean(Avg_AllowByLimit[which(Avg_AllowByLimit!=0 & AllowByLimitFlag ==
TRUE)]))
The code above gives "NaN" for cases where AllowByLimitFlag == FALSE.
Maybe this is the answer
Zelis Healthcare
-Original Message-
From: Rui Barradas
Sent: Wednesday, May 22, 2019 9:46 AM
To: Bill Poling ; r-help (r-help@r-project.org)
Subject: Re: [R] Help with R coding
Hello,
Maybe filter the AllowByLimitFlag values first (not tested)?
tmp1 <- tmp %>%
group_by(HC
Hello,
Maybe filter the AllowByLimitFlag values first (not tested)?
tmp1 <- tmp %>%
group_by(HCPCSCode) %>%
filter(AllowByLimitFlag) %>%
summarise(Avg_AllowByLimit =
mean(Avg_AllowByLimit[which(Avg_AllowByLimit!=0)]))
Hope this helps,
Rui Barradas
Às 13:35 de 22/05/19, Bill Poling
Hello,
25*30
This is the most basic possible, please google an intro text and run its
examples.
Hope this helps,
Rui Barradas
Enviado a partir do meu smartphone Samsung Galaxy. Mensagem original
De: Nathan D Jennings Data: 05/09/2018
00:30 (GMT+00:00) Para: r-help@r-projec
On Tue, 4 Sep 2018, Nathan D Jennings wrote:
?To the R Project:
This is the R-help mailing list, populated by various people who use R
including the occasional R-core developer.
I am using R Studio and I need help sum product exponents with R Script.
a) This is the R-help mailing list, n
There are plenty of options for reading csv files. For built-in solutions
look at ?read.csv or at read_csv from the package reader.
If the measurements are ordered in columns rather than in rows, reading the
data can be very slow.
HTH
Ulrik
Mohammad Areida schrieb am Mo., 16. Apr. 2018, 13:25:
Hi,
You may use the keyword to google for what you want to do to start with. Slowly
you will learn...this forum is,really helpful but we should provide or show
some effort..all the best!
I like this forum very much and always feel thankful to very helpful and
committed members.
Sent from my S
Dear Mohammad
Perhaps if you showed us what you tried people could offer more helpful
advice? When you say you want to call it forth do you mean you want to
read in the file using read.csv?
Michael
On 16/04/2018 11:23, Mohammad Areida wrote:
Hi, I'm working on R trying to find a distributio
these solutions..
Thanks & Regards
VP
From: Ulrik Stervbo
To: "MacQueen, Don" ,
Vijayan Padmanabhan
,
"r-help@r-project.org"
Date: 14-07-2017 10:39
Subject: Re: [R] Help with R script
@Don your
@Don your solution does not solve Vijayan's scenario 2. I used spread and
gather for that.
An alternative solution to insert mising Fval - picking up with Don's
newtst - is
newtst <- c("FName: fname1", "Fval: Fval1.name1", "FName: fname2", "Fval:
Fval2.name2", "FName: fname3", "FName: fname4", "F
Using Ulrik’s example data (and assuming I understand what is wanted), here is
what I would do:
ex.dat <- c("FName: fname1", "Fval: Fval1.name1", "Fval: ", "FName: fname2",
"Fval: Fval2.name2", "FName: fname3")
tst <- data.frame(x = ex.dat, stringsAsFactors=FALSE)
sp <- strsplit(tst$x, ':', fix
Hi Vijayan,
one way going about it *could* be this:
library(dplyr)
library(tidyr)
library(purrr)
ex_dat <- c("FName: fname1", "Fval: Fval1.name1", "Fval: ", "FName:
fname2", "Fval: Fval2.name2", "FName: fname3")
data.frame(x = ex_dat) %>%
separate(x, c("F1", "F2"), sep = ": ") %>%
filter(F2
To go further with your teacher's code, I would start by finding out what
kind of object "map" is, in R terms. For example, can your teacher give
you the output from the commands:
class(map)
str(map)
?
Without that information, I don't think anyone here can give you effective
help.
Also, as o
Rui Barradas,
Thank you very much for your help! This isn't an actual homework assignment,
it's an independent project that I'm conducting that my teacher was just giving
me a tutorial to help me. Thank you again!
Sincerely,
Jackson
Sent from my iPhone
> On Nov 19, 2016, at 3:33 PM, Rui B
Hello,
First of all, there's a no homework policy in R-Help, but since it's the
first time you post I'll try to give some help.
Now, you are trying to call two functions in one statement, system.file
and readPNG. If you separate the calls, you will see that the call to
system.file is returni
On 19/11/2016 1:32 PM, Jackson Hooten wrote:
Hello R Help,
I am fairly new to R and have been scouring the internet trying to find
useful tips, tricks and advice with how to solve my problems with R. I
finally was able to find you guys, and am now asking for your help.
You can find a fairly re
This question is a bit too vague for the R mailing lists.
For general advice on using this list, read the Posting Guide linked in the
footer of this and every post on this list. One key recommendation made there
is to send plain text emails because html frequently corrupts your example code
so
If you haven't already done so, I strongly recommend that you stop
doing what you're doing until you first spend some time with an R
tutorial or two. You can find some good suggestions here:
https://www.rstudio.com/online-learning/#R
rseek.org is also a good resource for R queries; "plot maps" br
Hi Alice,
Have you tried creating a vector of the start position (xpos[1],ypos[1]):
xstart<-rep(xpos[1],n)
ystart<-rep(ypos[1],n)
# where "n" is the number of subsequent positions in the trip
max(trackDistance(xstart,ystart,xpos[2:n],ypos[2:n],...))
may then give you the value of the longest dist
On 22-09-2014, at 04:10, Lio, Yuhlong wrote:
>
> I need someone to help with solution for a system of linear equations A%*%x
> =b, where A is the coefficient matrix and b is right hand-side constant
> column.
>
> My question is that is there any option in the qr.solve to get a non-negativ
This question is about linear algebra theory, or perhaps linear programming,
not about R. There is no magic parameter to solve this for you... either there
is a non-negative solution or there isn't.
---
Jeff Newmiller
On 07.06.2014 23:34, Milan Bimali wrote:
Dear R Community,
I am in process of developing an R package which in turn depends on a
package that is not available in CRAN but has to be downloaded from a web
source (as follows). Could someone guide me on how to include the package
listed in "Depe
This should do it for you:
> base <- "http://research.stlouisfed.org/fred2/data/";
>
> files <- lapply(state.abb, function(.state){
+ cat(.state, "\n")
+ input <- read.table(paste0(base, .state, "RGSP.txt")
+ , skip = 11
+ , header = TRUE
+
On Feb 22, 2013, at 5:52 PM, Joshua Wiley wrote:
> Hi Tao,
>
> I wonder if you are on Windows? If so, make sure you have qpdf
> installed, and the location is in your path.
>
> Cheers,
>
> Josh
>
> On Fri, Feb 22, 2013 at 3:32 PM, Tao Wang wrote:
>> Hi Everyone!
>>
>> This is my first time
Hi Tao,
I wonder if you are on Windows? If so, make sure you have qpdf
installed, and the location is in your path.
Cheers,
Josh
On Fri, Feb 22, 2013 at 3:32 PM, Tao Wang wrote:
> Hi Everyone!
>
> This is my first time using R-help. I am trying to do R CMD check before
> uploading my package
On Thu, Oct 4, 2012 at 11:42 AM, kmammasis wrote:
> Dear all,
>
> I am new in R and would like to ask for someone's help in understanding
> where I go wrong with the following code:
>
# > rm(list=ls())
#
Please don't include this line into your postings: it's quite rude to
clobber the data of fol
On 26/09/2012 11:03 AM, Li, Jianying (NIH/NIEHS) [C] wrote:
Hi,
I encountered a very strange error with R (2.14.1).
I tried to build an R package and eventually worked (passing all the checks etc.). Then, I tried
this command "R CMD INSTALL --binary pkg", which supposedly "installs and produce
On Mar 23, 2012, at 8:47 AM, jason wrote:
When I type library() to see what is installed the following list in
RED
comes up.
Packages in library '/home/jason/R/i686-pc-linux-gnu-library/2.13':
This suggests you are using an old copy of R. Many time the current
repository will only be ser
On 23.03.2012 13:47, jason wrote:
When I type library() to see what is installed the following list in RED
comes up.
Packages in library '/home/jason/R/i686-pc-linux-gnu-library/2.13':
abind Combine multi-dimensional arrays
aplpack Another Plot PACKage: stem.
When I type library() to see what is installed the following list in RED
comes up.
Packages in library '/home/jason/R/i686-pc-linux-gnu-library/2.13':
abind Combine multi-dimensional arrays
aplpack Another Plot PACKage: stem.leaf, bagplot,
All complete newbies should read the posting guide referenced at the bottom of
every message. One of the rules mentioned there is that this is not the
appropriate venue for homework questions, since you have an instructor to get
you up to speed. When you finish the course and are familiar with t
try
hist(gender$HeartRate,main='Histogram: HeartRate distribution for
Temperature Data')
Weidong Gu
On Wed, Oct 12, 2011 at 8:44 PM, Jonathan Edwin wrote:
> Hi all,
>
> Mind my ignorance and complete newbiness, but I am very new to R and am
> currently learning it through my stats course at un
On Thu, 2011-07-28 at 11:58 -0400, Sarah Goslee wrote:
> Hi Mark,
>
> On Thu, Jul 28, 2011 at 10:44 AM, wrote:
> >
> > 1. How can I plot the entire tree produced by rpart?
>
> What does plot() not do that you are expecting?
Not do any labelling... ;-)
text(tree)
where `tree` is your fitte
Hi Mark,
On Thu, Jul 28, 2011 at 10:44 AM, wrote:
>
> 1. How can I plot the entire tree produced by rpart?
What does plot() not do that you are expecting?
> 2. How can I submit a vector of values to a tree produced by rpart and have
> it make an assignment?
What does predict() not do
Sometimes such message appears when you try to open .RData file in
environment where packages used when the file was created are not
installed. Than it is possible just to install necessary packages. Without
whole story it is impossible to say what is real cause for that error.
Regards
Petr
r-
On Oct 15, 2010, at 12:37 , Philipp Pagel wrote:
> On Fri, Oct 15, 2010 at 09:57:21AM +0200, Muteba Mwamba, John wrote:
>
>> "FATAL ERROR: unable to restore saved data in .RDATA"
>
> Without more information it's hard to know what exactly went wrong.
>
> Anyway, the message most likely means t
On Fri, Oct 15, 2010 at 09:57:21AM +0200, Muteba Mwamba, John wrote:
> "FATAL ERROR: unable to restore saved data in .RDATA"
Without more information it's hard to know what exactly went wrong.
Anyway, the message most likely means that the .RData file got
corrupted. Deleting it should solve the
li li-13 wrote:
>
> Hi all,
>I want to solve the following equation for x with rho <- 0.5
>
>pnorm(-x)*pnorm((rho*dnorm(x)/pnorm(x)-x)/sqrt(1-rho^2))==0.05
>
>Is there a function in R to do this?
>
Or if you wish to try different values of rho
f <- function(x, rho) {
pnorm(
Dear Hannah,
If I understand you correctly, you want a solution when rho is 0.5; if so,
> f <- function(x){
+ pnorm(-x)*pnorm((0.5*dnorm(x)/pnorm(x)-x)/sqrt(1-0.5^2)) - 0.05
+ }
> uniroot(f, c(-3, 3))
$root
[1] 0.8031289
$f.root
[1] -1.565857e-06
$iter
[1] 11
$estim.prec
[1] 6.103516e-05
On May 29, 2010, at 9:54 AM, Fabian wrote:
> I need to make a plot illustrating main characterisitig of river drainage
> data. For this I have 2 questions:
>
> how can I rotate a histogram -90° (or 270°) (like the horizontal=TRUE with
> plot)?
>
> how can I use split.screen to produce 3 plot
> In a new karmik koala ubuntu installation I compile the last patched
> 2.10.1 version of R.
This doesn't answer your question, but you do know you can get the
(pretty much, I think) latest R via aptitude by adding a CRAN mirror
to your /etc/apt/sources.list, right?
http://cran.r-project.org/bin
Try this:
> x <- matrix(1:40,ncol=5)
> # function to find zero rows
> f.zero <-
+ function(arr)
+ {
+ which(apply(arr, 1, function(z) all(z == 0)))[1] # first one
+ }
>
> # now the non-zero rows
> f.nonzero <-
+ function(arr)
+ {
+ which(apply(arr, 1, function(z) any(z != 0)))
+ }
>
> f.z
Dear all,
I have a task to find the first all zero row of a matrix X ( nothing known
about X). I need to write a function which returns either the row index of
the first all-zero row, or NA if there are no all-zero rows. and I also need
to locate all rows which are non-zero (should be a vector of
From: Jeffrey Horner
Cc: R-help@r-project.org
Sent: Monday, February 23, 2009 10:10:02 AM
Subject: Re: [R] Help with R and MySQL
Aaron Barzilai wrote:
> Hello,
>
> This forum has been very helpful to me in the past, and I've run out of ideas
> on how to solve my pr
Aaron Barzilai wrote:
Hello,
This forum has been very helpful to me in the past, and I've run out of ideas
on how to solve my problem.
I had been using R and MySQL (and Perl) together for quite some time
successfully on my Windows XP machine. However, I recently had some problems
with MySQL
Hi,
Charles Annis, P.E. StatisticalEngineering.com> writes:
> logit.FC <- function(POD.floor = 0, POD.ceiling =1)
> { if (POD.floor < 0 | POD.floor > 1) stop ("POD.floor must be between zero
> and one.")
> if (POD.ceiling < 0 | POD.ceiling > 1) stop ("POD.ceiling must be
> between zero and
--- [EMAIL PROTECTED] wrote:
> (2) Where do I get to see the complete library of
> packages offered by R?
> In particular, I am interested in quantile
> regression and logistic
> regression.
R webpage > CRAN > Packages link.
Also have a look at the Task Views on the CRAN page.
__
Sitadri,
I would also look at
http://www.math.ilstu.edu/dhkim/Rstuff/Rtutor.html
a site that was pointed out in a recent posting to the listserve by John Kane.
John
Sitadri,
What operating system are you using? Have you loaded R onto you computer? If
not I suggest you do so. You can than enter t
Sitadri,
What operating system are you using? Have you loaded R onto you computer? If
not I suggest you do so. You can than enter the command
?lm
which will give you information about lm command, the command used to perform
linear regresssion. I would also suggest that you go to
http://cran.r-pro
[EMAIL PROTECTED] wrote:
> Folks, Two simple questions :
>
> (1) I have a data set (call it data.xls) in a folder in my hard drive. How
> do I perform a simple regression between two variables from that data set?
> After I click on 'R', what exactly do I type in?
>
>
Ideally, you shouldn't r
Hi,
please have a look at the posting guide (link is at the bottom of your
message). Most (if not all) of your problems should be solved if you
follow the advice given there.
Anyway, please have a look below:
[EMAIL PROTECTED] wrote:
> Folks, Two simple questions :
>
> (1) I have a data set (
1) there are many ways to read data from excel into R, such as rodbc package.
2) check cran, or do a r search.
On Jan 9, 2008 4:35 PM, <[EMAIL PROTECTED]> wrote:
> Folks, Two simple questions :
>
> (1) I have a data set (call it data.xls) in a folder in my hard drive. How
> do I perform a simple
On Fri, 16 Nov 2007, aparna m wrote:
> Hi
> Can anyone teall me how to perform matrix related operations
> using R like multiplication of a n*n matrix , finding transpose ,
> inverse eigen values etc
Yes. Its all in the manuals. Especially,
An Introduction to R
Section 5.7 M
Aparna
You can find information about matrix inversion in the MASS package
[function: ginv()]. Matrix multiplication is performed using the
%*% operator. Transpose is performed by the t() function.
I suggest you do some searching. Open R, go to HELP>HTML HELP then click on
SEARCH ENGINE & KEYWOR
65 matches
Mail list logo