Re: [R] Help with R-Markdown please

2020-05-13 Thread Rasmus Liland
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

Re: [R] Help with R-Markdown please

2020-05-13 Thread Poling, William via R-help
-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

Re: [R] Help with R-Markdown please

2020-05-13 Thread Rasmus Liland
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

Re: [R] Help with R-Markdown please

2020-05-13 Thread Poling, William via R-help
= 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,

Re: [R] Help with R-Markdown please

2020-05-13 Thread Rasmus Liland
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

Re: [R] Help with R-Markdown please

2020-05-13 Thread Poling, William via R-help
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

Re: [R] Help with R-Markdown please

2020-05-12 Thread Poling, William via R-help
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

Re: [R] Help with R-Markdown please

2020-05-12 Thread Ege Rubak
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

[R] Help with R-Markdown please

2020-05-12 Thread Poling, William via R-help
#UPDATED 05/05/2020 #RStudio Version Version 1.2.1335 need this one--> 1.2.5019 sessionInfo() # R version 4.0.0 Patched (2020-05-03 r78349) #Platform: x86_64-w64-mingw32/x64 (64-bit) #Running under: Windows 10 x64 (build 17763) Good morning. This is the first time I have tried RMarkdown on new l

Re: [R] Help with R coding

2019-05-22 Thread Bill Poling
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

Re: [R] Help with R coding

2019-05-22 Thread Bill Poling
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

Re: [R] Help with R coding

2019-05-22 Thread Jeff Newmiller
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

Re: [R] Help with R coding

2019-05-22 Thread William Michels via R-help
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

Re: [R] Help with R coding

2019-05-22 Thread Bill Poling
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

Re: [R] Help with R coding

2019-05-22 Thread Rui Barradas
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

[R] Help with R coding

2019-05-22 Thread Bill Poling
Good morning. #R version 3.6.0 Patched (2019-05-19 r76539) #Platform: x86_64-w64-mingw32/x64 (64-bit) #Running under: Windows >= 8 x64 (build 9200) I need a calculated field For the Rate of Avg_AllowByLimit where the Allowed_AmtFlag = TRUE BY Each Code I have almost got this. #So far I have t

Re: [R] Help with r script

2018-09-05 Thread ruipbarradas
-project.org Assunto: [R] Help with r script  To the R Project: I am using R Studio and I need help sum product exponents with R Script.  Every time I type at the very start in the R Script window like 25* 30 nothing happens.  Where can I go to find the complete commands for basic functions in the r

Re: [R] Help with r script

2018-09-04 Thread Jeff Newmiller
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

[R] Help with r script

2018-09-04 Thread Nathan D Jennings
 To the R Project: I am using R Studio and I need help sum product exponents with R Script.  Every time I type at the very start in the R Script window like 25* 30 nothing happens.  Where can I go to find the complete commands for basic functions in the r script window? Sincerely, Nathan Je

Re: [R] Help with R-Calling forth csv.

2018-04-16 Thread Ulrik Stervbo
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:

Re: [R] Help with R-Calling forth csv.

2018-04-16 Thread Roslina Zakaria
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

Re: [R] Help with R-Calling forth csv.

2018-04-16 Thread Michael Dewey
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

[R] Help with R-Calling forth csv.

2018-04-16 Thread Mohammad Areida
Hi, I'm working on R trying to find a distribution that fits data from a csv file. The csv contains data on pressure exerted by a certain vehicle in terms of pressure [kPa] and I have around 3000 data points. I want to call forth this csv and by using (fitdistr) or if you could recommend a fun

Re: [R] Help with R script

2017-07-14 Thread Vijayan Padmanabhan
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

Re: [R] Help with R script

2017-07-13 Thread Ulrik Stervbo
@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

Re: [R] Help with R script

2017-07-13 Thread MacQueen, Don
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

Re: [R] Help with R script

2017-07-13 Thread Ulrik Stervbo
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

[R] Help with R script

2017-07-13 Thread Vijayan Padmanabhan
Dear R-help Group Scenario 1: I have a text file running to 1000 of lines...that is like as follows: [922] "FieldName: Wk3PackSubMonth" [923] "FieldValue: Apr" [924] "FieldName: Wk3PackSubYear" [925] "FieldValue: 2017" [926] "FieldName: Wk3Code1" [927] "FieldValue: " [928] "FieldVal

Re: [R] Help with R

2016-11-21 Thread MacQueen, Don
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

Re: [R] Help with R

2016-11-19 Thread Jackson Hooten
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

Re: [R] Help with R

2016-11-19 Thread Rui Barradas
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

Re: [R] Help with R

2016-11-19 Thread Duncan Murdoch
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

Re: [R] Help with R

2016-11-19 Thread Jeff Newmiller
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

Re: [R] Help with R

2016-11-19 Thread Bert Gunter
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

[R] Help with R

2016-11-19 Thread Jackson Hooten
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. I have a number of different questions regarding R. My most pressing ques

Re: [R] help with r package "trip"

2016-06-15 Thread Jim Lemon
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

[R] help with r package "trip"

2016-06-14 Thread Alice Domalik
Hi List, I'm relatively new to R, so apologies if my question is rather elementary. I'm working with some bird tracking data and I would like to calculate the maximum distance traveled from the colony. For the maximum distance traveled, I was going to use the function homedist(). However, whe

Re: [R] Help with R solve

2014-09-21 Thread Berend Hasselman
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

Re: [R] Help with R solve

2014-09-21 Thread Jeff Newmiller
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

[R] Help with R solve

2014-09-21 Thread Lio, Yuhlong
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-negative solution for x column, when more than one possible soluti

Re: [R] Help with R package

2014-06-08 Thread Uwe Ligges
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

[R] Help with R package

2014-06-07 Thread Milan Bimali
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 "Depends" of the Description file. I have the packa

Re: [R] Help with R loop for URL download from FRED to create US time series

2013-06-10 Thread jim holtman
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 +

[R] Help with R loop for URL download from FRED to create US time series

2013-06-10 Thread arum
I am downloading time series data from FRED. I have a working download, but I do not want to write out the download for all 50 states likes this: IDRGSP <- read.table('http://research.stlouisfed.org/fred2/data/IDRGSP.txt', skip=11, header=TRUE) IDRGSP$DATE <- as.Date(IDRGSP$DATE, '%Y-%m-%d') IDRGS

Re: [R] help with R CMD check --as-cran

2013-02-22 Thread David Winsemius
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

Re: [R] help with R CMD check --as-cran

2013-02-22 Thread Joshua Wiley
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

[R] help with R CMD check --as-cran

2013-02-22 Thread Tao Wang
Hi Everyone! This is my first time using R-help. I am trying to do R CMD check before uploading my package to CRAN. R CMD check --as-cran "my package folder". However, it spits out this warning: "pdf is needed for checks on size reduction of PDFs" I searched online but found no clue to solve

Re: [R] Help with R Fitting an inverse Gamma

2012-10-04 Thread R. Michael Weylandt
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

Re: [R] Help with R invoking

2012-09-26 Thread Duncan Murdoch
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

[R] Help with R invoking

2012-09-26 Thread Li, Jianying (NIH/NIEHS) [C]
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 a binary source archive (*.zip) for use on Windows only."

Re: [R] Help with R package forecast

2012-03-23 Thread David Winsemius
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

Re: [R] Help with R package forecast

2012-03-23 Thread Uwe Ligges
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.

Re: [R] Help with R package forecast

2012-03-23 Thread jason
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,

Re: [R] Help with R plots

2011-10-12 Thread Jeff Newmiller
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

Re: [R] Help with R plots

2011-10-12 Thread Weidong Gu
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

[R] Help with R plots

2011-10-12 Thread Jonathan Edwin
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 university. My question is regarding adding titles to plots. I'll post the code below, and then explain my issue: > hist(gender$HeartRate) > title(Histogram: HeartRate

Re: [R] Help with R

2011-08-02 Thread Gavin Simpson
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

Re: [R] Help with R

2011-07-28 Thread Sarah Goslee
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

[R] Help with R

2011-07-28 Thread mark
1. How can I plot the entire tree produced by rpart? 2. How can I submit a vector of values to a tree produced by rpart and have it make an assignment? Mark References Visible links Hidden links: 1. mailto:r-help@r-project.org ___

Re: [R] Help with R

2010-10-15 Thread Petr PIKAL
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-

Re: [R] Help with R

2010-10-15 Thread peter dalgaard
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

Re: [R] Help with R

2010-10-15 Thread Philipp Pagel
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

[R] Help with R

2010-10-15 Thread Muteba Mwamba, John
Dear Sir/Madam; I'm not sure whether this is the correct contact for help. I've been recently working with R on my project, unfortunately It sudenly crashes! It gives me the following message: "FATAL ERROR: unable to restore saved data in .RDATA" I decided to uninstall the copy (a R2.11.0) and ins

Re: [R] help with R

2010-06-12 Thread Berend Hasselman
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(

Re: [R] help with R

2010-06-12 Thread John Fox
.@r-project.org [mailto:r-help-boun...@r-project.org] On > Behalf Of li li > Sent: June-12-10 8:31 PM > To: r-help > Subject: [R] help with R > > Hi all, >I want to solve the following equation for x with rho <- 0.5 > >pnorm(-x)*pnorm((rho*dnorm(x)/pnorm(x)-x)/sqr

[R] help with R

2010-06-12 Thread li li
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? Thank you very much! Hannah [[alternative HTML version deleted

Re: [R] Help with R graphics

2010-05-29 Thread Marc Schwartz
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

[R] Help with R graphics

2010-05-29 Thread Fabian
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 with uneuqal size (1/5, 2/5, 2/5 of the screen width)?

Re: [R] Help with R in ubuntu

2010-02-01 Thread Marianne Promberger
> 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

[R] Help with R in ubuntu (more organized 2)

2010-01-31 Thread Kenneth Roy Cabrera Torres
Dear R users: Maybe it is a silly question, but I'm don't understand what am I doing wrong. In a new karmik koala ubuntu installation I compile the last patched 2.10.1 version of R. Every thing was right (I install all the dev libraries I need). First I type: ./configure --enable-R-shlib And

[R] Help with R in ubuntu (more organized)

2010-01-31 Thread KENNETH R CABRERA
Dear R users: Maybe it is a silly question, but I'm don't understand what am I doing wrong. In a new karmik koala ubuntu installation I compile the last patched 2.10.1 version of R. Every thing was right (I install all the dev libraries I need). First I type: ./configure --enable-R-shlib An

[R] Help with R in ubuntu

2010-01-31 Thread KENNETH R CABRERA
Dear R users: Maybe it is a silly question, but I'm don't understand what am I doing wrong. In a new karmik koala ubuntu installation I compile the last patched 2.10.1 version of R. Every thing was right (I install all the dev libraries I need). First I type: ./configure --enable-R-shlib An

[R] Help with R and Webserver (SOAP)

2009-11-03 Thread Ravi Chandra
Hello all... We are trying to use the analytical power of R in a Web based environment, and are seeking the optimal ways of accomplishing the same. We need R to accept requests from clients, perform analysis on the data as required by the users and return the results ( formatted text, graphs, etc)

[R] Help with R and webserver

2009-10-14 Thread cvsrc
My goal is to provide data analysis statistics and graphs by taking input from a user from their browser. The data is on a SQL server, we are using an IIS 7.0 web server with ColdFusion on Windows. I want to do the statistics and graphs part using R. Can anyone suggest the best way to get coldF

Re: [R] Help with R Function writing for Matrix

2009-08-10 Thread jim holtman
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

Re: [R] Help with R Function writing for Matrix

2009-08-10 Thread kaixin maleA
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

[R] Help with R 2.9.0 and XML

2009-04-21 Thread Luis Orlindo Tedeschi
After I installed R 2.9.0 and XML package, I get an error "This application has failed to start because iconv.dll was not found. Re-installing the application may fix this problem". I already re-installed both but the problem persists. Does anyone know what is going on? Thanks. -- __

Re: [R] Help with R and MySQL

2009-02-23 Thread Aaron Barzilai
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

Re: [R] Help with R and MySQL

2009-02-23 Thread Jeffrey Horner
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

[R] Help with R and MySQL

2009-02-23 Thread Aaron Barzilai
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 (the ibdata file had bec

[R] help with R memory

2008-09-08 Thread shamsuk
Hi There! I am trying to read a grid file (.asc) file with readGDAL (library[rgdal]). The file has 7541 rows and 5247 columns and a size of 177 Mb. My laptop has 2 Gb of RAM and 150 Gb of total hard disk memory. Is it possible to open this raster file in R at all? Thanks, Shams -- View this me

Re: [R] help with R semantics

2008-04-03 Thread Ken Knoblauch
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

[R] help with R semantics

2008-04-03 Thread Charles Annis, P.E.
Greetings: I'm running R2.6.2 on a WinXP DELL box with 2 gig RAM. I have created a new glm link function to be used with family = binomial. The function works (although any suggested improvements would be welcome), logit.FC <- function(POD.floor = 0, POD.ceiling =1) { if (POD.floor <

Re: [R] help with R

2008-01-10 Thread John Kane
--- [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. __

Re: [R] help with R

2008-01-09 Thread John Sorkin
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

Re: [R] help with R

2008-01-09 Thread John Sorkin
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

Re: [R] help with R

2008-01-09 Thread Peter Dalgaard
[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

Re: [R] help with R

2008-01-09 Thread Roland Rau
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 (

Re: [R] help with R

2008-01-09 Thread Wensui Liu
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

[R] help with R

2008-01-09 Thread Sitadri_Bagchi
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? (2) Where do I get to see the complete library of packages offer

Re: [R] Help with R software

2007-11-16 Thread Charles C. Berry
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

[R] Help with R software

2007-11-16 Thread aparna m
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 Thanks __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEA

Re: [R] Help with R software

2007-11-16 Thread John Sorkin
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