Re: [R] Please help - my IP was blacklisted

2023-03-14 Thread Ivan Krylov
В Tue, 14 Mar 2023 02:03:29 +0200 Guy Kelman пишет: > A while ago I tried to bundle packages for offline installations. For > this I created a script that would access > ftp://cran.r-project.org/pub/R/src/contrib/ for each package in a > loop. Next time, follow the instructions at

[R] Please help - my IP was blacklisted

2023-03-14 Thread Guy Kelman
Dear r-help@, A while ago I tried to bundle packages for offline installations. For this I created a script that would access ftp://cran.r-project.org/pub/R/src/contrib/ for each package in a loop. The first trial was bugous and it generated many bad URL requests to cran.r-project.org >From that

Re: [R] Please help me debugg

2021-11-05 Thread Ivan Krylov
On Fri, 5 Nov 2021 12:29:21 +0530 Shrinivas Dharma wrote: > I am trying to run the following double loop which I have written > but it is not running. Thanks for providing the code, but it's much easier to help you if you provide the data, too. Use dput(head(...)) to make it easy for us to

[R] Please help me debugg

2021-11-05 Thread Shrinivas Dharma
I am trying to run the following double loop which I have written but it is not running. Unable to get my head around the mistake. Please try to spot the bug and help > for(i in 1:122){ + for(j in 1:68){ + if(V(FriendGraph)$name[i]==names[j]){ + gender_vector[i]<-sex[j] + break;} +

Re: [R] please help with "could not find function "ComBat.mc" "

2020-11-12 Thread Yuan Chun Ding
: Re: [R] please help with "could not find function "ComBat.mc" " Hi Yuan, The package named "Enmix" is maintained on Bioconductor. It seems to be specific to particular lab equipment and so all I can advise is: 1) Try your question on the Bioconductor help list 2) I

Re: [R] please help with "could not find function "ComBat.mc" "

2020-11-11 Thread Jim Lemon
Hi Yuan, The package named "Enmix" is maintained on Bioconductor. It seems to be specific to particular lab equipment and so all I can advise is: 1) Try your question on the Bioconductor help list 2) If no help there contact Zongli Xu (the maintainer) Jim On Thu, Nov 12, 2020 at 11:40 AM Yuan

[R] please help with "could not find function "ComBat.mc" "

2020-11-11 Thread Yuan Chun Ding
Hi All, I am very sorry to bother you. This week, I updated my R from 3.5.3  to 4.0.3, reinstalled all required R packages and reran the following R code; then got the following error: could not find function "ComBat.mc". > #' firstly Removing chip-well batch effects using ComBat from the

Re: [R] Please help translate this program in C++ to R

2019-12-15 Thread Richard O'Keefe
As a C implementation of merge sort, that is the very reverse of impressive. I would not translate *that* code into anything. There is a fundamental difference between between arrays in C and arrays in R, and it is the same as the difference between Python and R. You are MUCH better to start from

Re: [R] Please help translate this program in python to R.

2019-12-15 Thread Richard O'Keefe
The obvious question is "why?" If you just want to sort stuff, ?sort and ?order tell you about the sorting methods available in R. If you want to translate this specific algorithm into R for some reason, (a) if you don't know enough about array processing in R to do this yourself, how are you

Re: [R] Please help translate this program in python to R.

2019-12-14 Thread Eric Berger
And similar to my response to the C++ question you posted, it is possible to incorporate Python code into R programs using the reticulate package. On Sun, Dec 15, 2019 at 5:58 AM Boris Steipe wrote: > > See my response to the C++ question you posted a minute later. > > B. > > > > > > On

Re: [R] Please help translate this program in C++ to R

2019-12-14 Thread Eric Berger
It is fairly easy to incorporate C++ code into R programs using the Rcpp package. Definitely worth the effort to learn how to do this. On Sun, Dec 15, 2019 at 5:48 AM Boris Steipe wrote: > > See this thread why that's a bad idea ... > https://stackoverflow.com/questions/26080716/merge-sort-in-r

Re: [R] Please help translate this program in python to R.

2019-12-14 Thread Boris Steipe
See my response to the C++ question you posted a minute later. B. > On 2019-12-15, at 05:35, Александр Дубровский wrote: > > # Iterative Merge sort (Bottom Up) > > # Iterative mergesort function to > # sort arr[0...n-1] > def mergeSort(a): > >current_size = 1 > ># Outer loop for

Re: [R] Please help translate this program in C++ to R

2019-12-14 Thread Boris Steipe
See this thread why that's a bad idea ... https://stackoverflow.com/questions/26080716/merge-sort-in-r ... and use the code given there, or give us some context why a literal translation would be important to you. Cheers, Boris > On 2019-12-15, at 05:37, Александр Дубровский wrote: > >

[R] Please help translate this program in C++ to R

2019-12-14 Thread Александр Дубровский
/* Iterative C program for merge sort */ #include #include /* Function to merge the two haves arr[l..m] and arr[m+1..r] of array arr[] */ void merge(int arr[], int l, int m, int r); // Utility function to find minimum of two integers int min(int x, int y) { return

[R] Please help translate this program in python to R.

2019-12-14 Thread Александр Дубровский
# Iterative Merge sort (Bottom Up) # Iterative mergesort function to # sort arr[0...n-1] def mergeSort(a): current_size = 1 # Outer loop for traversing Each # sub array of current_size while current_size < len(a) - 1: left = 0 # Inner loop for merge call

Re: [R] Please help with ggplot error Resolved!

2019-06-12 Thread Bill Poling
Hello Rui, yes, I thought of that and rebooted RStudio and only loaded the specific pkgs for this project and that fixed that issue. Thank you Rui! WHP From: Rui Barradas Sent: Wednesday, June 12, 2019 3:01 PM To: Bill Poling ; r-help (r-help@r-project.org) Subject: Re: [R] Please help

Re: [R] Please help with ggplot error

2019-06-12 Thread Rui Barradas
om: Rui Barradas Sent: Wednesday, June 12, 2019 2:03 PM To: Bill Poling ; r-help (r-help@r-project.org) Subject: Re: [R] Please help with ggplot error Hello, Works with me, as soon as I corrected "Loess" to "loess". Hope this helps, Rui Barradas Às 18:56 de 12/06/19, Bi

Re: [R] Please help with ggplot error

2019-06-12 Thread Bill Poling
: no applicable method for 'margin' applied to an object of class "NULL" WHP From: Rui Barradas Sent: Wednesday, June 12, 2019 2:03 PM To: Bill Poling ; r-help (r-help@r-project.org) Subject: Re: [R] Please help with ggplot error Hello, Works with me, as soon as I corrected "

Re: [R] Please help with ggplot error

2019-06-12 Thread Bill Poling
Oh my, sheesh! Oh my gosh! UGH! Thank you Rui! WHP From: Rui Barradas Sent: Wednesday, June 12, 2019 2:03 PM To: Bill Poling ; r-help (r-help@r-project.org) Subject: Re: [R] Please help with ggplot error Hello, Works with me, as soon as I corrected "Loess" to "loess&quo

Re: [R] Please help with ggplot error

2019-06-12 Thread Rui Barradas
Hello, Works with me, as soon as I corrected "Loess" to "loess". Hope this helps, Rui Barradas Às 18:56 de 12/06/19, Bill Poling escreveu: #RStudio Version 1.2.1335 sessionInfo() #R version 3.6.0 Patched (2019-05-19 r76539) #Platform: x86_64-w64-mingw32/x64 (64-bit) #Running under: Windows

[R] Please help with ggplot error

2019-06-12 Thread Bill Poling
#RStudio Version 1.2.1335 sessionInfo() #R version 3.6.0 Patched (2019-05-19 r76539) #Platform: x86_64-w64-mingw32/x64 (64-bit) #Running under: Windows 10 x64 (build 17134) Hello I am getting an error for which I have googled to remedy but have not found a resource for it. I found this but

Re: [R] please help me a little

2018-02-09 Thread Jeff Newmiller
I don't use coxphf, but it is generally a bad idea to reference variables via multiple environments (e.g. global and the data= argument in this case) directly from within a formula. Just use FAM138A.chr wherever you have used test[,6] and it should work. -- Sent from my phone. Please excuse

[R] please help me a little

2018-02-09 Thread Ding, Yuan Chun
Hi R Users, I am very frustrated with the following code. Please do me a favor to run it. after reading into the test data set (I also pasted the data set below), the first line of code for "res_coxphf" did not work and generated the error code below. but the other three line worked well.

Re: [R] Please help(urgent) - How to simulate transactional data for reliability/survival analysis

2017-07-05 Thread Mark Sharp
I am trying to figure out the algorithm you are using to calculate event_episodes, event_status, and start_minutes. Where does the 129600 come from? Why is the start(minutes) 0 for the last row instead of 40? Mark R. Mark Sharp, Ph.D. msh...@txbiomed.org > On Jul 5, 2017, at 1:03 AM,

Re: [R] Please help(urgent) - How to simulate transactional data for reliability/survival analysis

2017-07-05 Thread Bert Gunter
Strictly speaking, this is reliability, not survival, data, since failed pumps are apparently repaired and put back in service as new. Also, it is not clear from your data whether there is interval censoring: is the recorded "event" time (failure) the actual failure time -- so no censoring -- or

Re: [R] Please help(urgent) - How to simulate transactional data for reliability/survival analysis

2017-07-05 Thread Sunny Singha
Mark, Below is the sampled simulated granular data format for pumps for trial period of 3 months that I need to transform for survival analysis: 3 months = (60*24*90) minutes i.e 129600 minutes pump_id timingsevents vibration temprature flow pump1 01-07-2017 00:00 0

Re: [R] Please help(urgent) - How to simulate transactional data for reliability/survival analysis

2017-07-04 Thread Mark Sharp
A small example data set that illustrates your question will be of great value to those trying to help. This appears to be a transformation that you are wanting to do (timestamp to units of time) so a data representing what you have (dput() is handy for this) and one representing what you want

Re: [R] Please help(urgent) - How to simulate transactional data for reliability/survival analysis

2017-07-04 Thread Sunny Singha
Thanks Boris and Bret, I was successful in simulating granular/transactional data. Now I need some guidance to transform the same data in format acceptable for survival analysis i.e below format: pump_id | event_episode_no. | event(0/1) | start | stop | time_to_dropout The challenge I'm

Re: [R] Please help(urgent) - How to simulate transactional data for reliability/survival analysis

2017-06-28 Thread Boris Steipe
In principle what you need to do is the following: - break down the time you wish to simulate into intervals. - for each interval, and each failure mode, determine the probability of an event. Determining the probability is the fun part, where you make your domain knowledge explicit and

Re: [R] Please help(urgent) - How to simulate transactional data for reliability/survival analysis

2017-06-27 Thread Bert Gunter
I think you need to find a local consultant. Someone here might have a suggestion or two where to look (as I do below), but this list only provides help on R programming code, not statistical issues (see programming guide below for details). You might wish to have a look at the CRAN survival

[R] Please help(urgent) - How to simulate transactional data for reliability/survival analysis

2017-06-27 Thread sandeep Rana
Hi friends, I haven't done such a simulation before and any help would be greatly appreciated. I need your guidance. I need to simulate end to end data for Reliability/survival analysis of a Pump ,with correlation in place, that is at 'Transactional level' or at the granularity of

Re: [R] Please help with creating the improved image with pheatmap package

2016-10-03 Thread Jim Lemon
Hi Maryam, Your labels have been "greeked" as the font is too small to be displayed properly. If you must use PNG format, specify your image file at least twice as high. png("pheatmap.png",width=1254,height=5000) PDF would be a better choice as you can just zoom in and scroll down. Jim On

Re: [R] Please help with creating the improved image with pheatmap package

2016-10-03 Thread David Winsemius
> On Oct 3, 2016, at 4:43 AM, maryam moazam wrote: > > Hi all, > > I'm trying to show about 190 items using "pheatmap" package. I'm working > with R 3.3.1 on windows 7. I used the following code: > > pheatmap(mat_data, cellwidth=20, cluster_rows = FALSE, cluster_cols = >

[R] Please help with creating the improved image with pheatmap package

2016-10-03 Thread maryam moazam
Hi all, I'm trying to show about 190 items using "pheatmap" package. I'm working with R 3.3.1 on windows 7. I used the following code: pheatmap(mat_data, cellwidth=20, cluster_rows = FALSE, cluster_cols = FALSE, fontsize=5, fontsize_row=5, margins=c(5,10)) The resulted image is attached.

Re: [R] Please help me, I'm trying to update my version of R

2016-08-23 Thread KMNanus
Thanks for getting back to me. Worked like a charm. Ken kmna...@gmail.com 914-450-0816 (tel) 347-730-4813 (fax) > On Aug 22, 2016, at 11:45 PM, Thomas Mailund wrote: > > Hi Ken, > > You are trying to install R as a package. That won't work. The .pkg file you >

Re: [R] Please help me, I'm trying to update my version of R

2016-08-23 Thread Berend Hasselman
Follow up on my previous mail. See the FAQ for OS X :https://cran.r-project.org/bin/macosx/RMacOSX-FAQ.html Read the section "3.2 Installation of packages". It tells it all. (reachable from the contents entry "How to install packages"). Berend > On 23 Aug 2016, at 08:27, Berend Hasselman

Re: [R] Please help me, I'm trying to update my version of R

2016-08-23 Thread Berend Hasselman
> On 22 Aug 2016, at 22:17, KMNanus wrote: > > I’m a newbie running 3.2.4 on a mac equipped with Yosemite (10.10.5). > > I want to update to 3.3.1 and have downloaded the package, but have not been > able to install it. I’ve tried install.packages("R-3.3.1.tar.gz”) and >

Re: [R] Please help me, I'm trying to update my version of R

2016-08-22 Thread Thomas Mailund
Hi Ken, You are trying to install R as a package. That won't work. The .pkg file you downloaded from https://cran.r-project.org/bin/macosx/ is an installer, though, so if you just double-click on it, it should take you through the installation. After that you probably need to install a number

[R] Please help me, I'm trying to update my version of R

2016-08-22 Thread KMNanus
I’m a newbie running 3.2.4 on a mac equipped with Yosemite (10.10.5). I want to update to 3.3.1 and have downloaded the package, but have not been able to install it. I’ve tried install.packages("R-3.3.1.tar.gz”) and install.packages("R-3.3.1.pkg”) after downloading both files. I get an error

Re: [R] Please help: cannot import files from Windows into R

2016-07-14 Thread William Dunlap via R-help
The file may have been stored in the UTF-16 encoding (what Windows Notepad calls "Unicode"). If so, adding fileEncoding="UTF-16" to the read.table command might read it correctly. Bill Dunlap TIBCO Software wdunlap tibco.com On Thu, Jul 14, 2016 at 3:49 PM, Christa Rose

Re: [R] Please help: cannot import files from Windows into R

2016-07-14 Thread John Dougherty
Christa, As others are noting, the file is not a text file. Open the file in Notebook or Notepad. If the editor complains, then open it in Word. Save it as a "plain text" file. You will have to choose the file type in the "Save As" dialog. You may run into other issues such as the field

Re: [R] Please help: cannot import files from Windows into R

2016-07-14 Thread Duncan Murdoch
On 14/07/2016 6:49 PM, Christa Rose wrote: Can someone please help? The read.table command is not working for me I think because Windows has my account name stored as "Christa Rose" with a space in it. Is this a problem? I have tried many syntax iterations, and cannot get around this. I don't

Re: [R] Please help: cannot import files from Windows into R

2016-07-14 Thread Jim Lemon
Hi Christa, The error messages tell you that the file contains NULL characters, which can cause problems with reading files. You can remove these characters with a "hex editor". I am not familiar with those used on Windows, but look at this Web page:

[R] Please help: cannot import files from Windows into R

2016-07-14 Thread Christa Rose
Can someone please help? The read.table command is not working for me I think because Windows has my account name stored as "Christa Rose" with a space in it. Is this a problem? I have tried many syntax iterations, and cannot get around this. Here is an example of the syntax I've used: >

Re: [R] Please help -- Cbind data frames within LIST() in R

2016-03-15 Thread PIKAL Petr
0", "21:00", "23:00", "3:00", "5:00", "7:00", "9:00" ), class = "factor"), Kontrolor = structure(c(6L, 6L, 6L, 6L, 6L, 6L, NA, NA, NA), .Label = c("CLLAB", "KOŠUTKOVÁ", "KOUTNÁ PETRA", "KOVÁŘOVÁ", "

Re: [R] please help

2016-03-14 Thread John Kane
In line John Kane Kingston ON Canada > -Original Message- > From: bgunter.4...@gmail.com > Sent: Mon, 14 Mar 2016 07:45:28 -0700 > To: damjanfaks2...@gmail.com > Subject: Re: [R] please help > > ... also, **if** this is homework, this list has a no homewo

Re: [R] please help

2016-03-14 Thread John Kane
John Kane Kingston ON Canada > -Original Message- > From: damjanfaks2...@gmail.com > Sent: Mon, 14 Mar 2016 09:43:45 +0100 > To: r-help@r-project.org > Subject: [R] please help > > Dear all, > > with the below 2 files I would like to to the t.test an

Re: [R] please help

2016-03-14 Thread Bert Gunter
... also, **if** this is homework, this list has a no homework policy. -- 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 Mon, Mar 14, 2016 at 1:43 AM,

Re: [R] please help

2016-03-14 Thread S Ellison
> From: R-help [mailto:r-help-boun...@r-project.org] On Behalf Of Damjan / > Subject: [R] please help > > Dear all, > > with the below 2 files I would like to to the t.test and var.test > > but it does not work. > > Can you help me ? > Dear Damjan

[R] please help

2016-03-14 Thread Damjan /
Dear all, with the below 2 files I would like to to the t.test and var.test but it does not work. Can you help me ? thanks BR letost_ur 19721608.3 19731825.6 19741646.8 19751718.8 19761837.5 19771905.9 19781694.6 19791928.3 19801632.6 19812064.4

Re: [R] Please help -- Cbind data frames within LIST() in R

2016-03-14 Thread PIKAL Petr
Hi From: Sunny Singha [mailto:sunnysingha.analyt...@gmail.com] Sent: Monday, March 14, 2016 10:37 AM To: r-help; PIKAL Petr Subject: Re: [R] Please help -- Cbind data frames within LIST() in R Thanks Petr, I'm going through the link that you have provided. Merge won't be useful in my case. Let

Re: [R] Please help -- Cbind data frames within LIST() in R

2016-03-14 Thread Sunny Singha
l-lengths > > but maybe you want to do actually merging > > see > > ?merge > > Cheers > Petr > > > -Original Message- > > From: R-help [mailto:r-help-boun...@r-project.org] On Behalf Of Sunny > > Singha > > Sent: Monday, March 14, 2016 8:16

Re: [R] Please help -- Cbind data frames within LIST() in R

2016-03-14 Thread PIKAL Petr
nal Message- > From: R-help [mailto:r-help-boun...@r-project.org] On Behalf Of Sunny > Singha > Sent: Monday, March 14, 2016 8:16 AM > To: r-help > Subject: [R] Please help -- Cbind data frames within LIST() in R > > Hi, > Please help and guide. I want to cbind datafram

[R] Please help -- Cbind data frames within LIST() in R

2016-03-14 Thread Sunny Singha
Hi, Please help and guide. I want to cbind dataframes within the list object: List object 'post_data' contains below sampled data frames: post_data $posts from_id user_name post_msg $comm comm_id from_id message $Likes username like_id *Note: The columns in each data frame

Re: [R] please help me for my project

2015-09-07 Thread Bert Gunter
ox.com> wrote: > Some suggestions on how to ask a question on the R-help list > > John Kane > Kingston ON Canada > > >> -Original Message- >> From: ghada.f...@gmail.com >> Sent: Mon, 7 Sep 2015 16:57:19 +0300 >> To: r-help@r-project.org >> Sub

Re: [R] please help me for my project

2015-09-07 Thread John Kane
Some suggestions on how to ask a question on the R-help list John Kane Kingston ON Canada > -Original Message- > From: ghada.f...@gmail.com > Sent: Mon, 7 Sep 2015 16:57:19 +0300 > To: r-help@r-project.org > Subject: [R] please help me for my project > > Hello

[R] please help me for my project

2015-09-07 Thread Ghada Almousa
Hello dears member I have project to analysis clusters algorithm in R "K-mean, Hierarchical, Density based and EM" I want to calculate Cluster instance , number of iteration , sum of squared error SSE and the accuracy for each cluster algorithms that i mention above And the log likelihood for EM

[R] Please Help how to execute R via php script

2015-08-18 Thread Joseph Mbowe
Dear R members, I want to call my R script thorough php but no I am not getting output When I call my r script by bat file works fines also when run by Rstudio it works fines but when i cant call via php here is the php code: ?php exec('C:/Program Files/R/R-3.2.0/bin/i386/Rscript.exe

Re: [R] Please Help how to execute R via php script

2015-08-18 Thread Loris Bennett
Joseph Mbowe mbo...@nm-aist.ac.tz writes: Dear R members, I want to call my R script thorough php but no I am not getting output When I call my r script by bat file works fines also when run by Rstudio it works fines but when i cant call via php here is the php code: ?php exec('C:/Program

Re: [R] please help me in r

2015-04-28 Thread Jim Lemon
Hi Ghada, The value returned by Mclust (m in your example) has different components from say the hierarchical clustering. The second argument for cluster.stats is the cluster IDs of the objects in the initial set. Perhaps if you call it like this: cluster.stats(d,m$classification) I don't have

[R] please help me in r

2015-04-28 Thread Ghada Almousa
Hello dears I using (R tool) in my project and I want to compare the results betwen k-mean cluster ,Hierarchical cluster and EM cluster I use cluster.stats() it's work on k-mean cluster and hrarichal cluster but not work in EM Hello Dears I Use R tool in my project I want to do comparison of

[R] Please help! Matrices and parameter of time

2014-04-01 Thread ANNA SIMEONIDOU
Hi, Well, the solution to my problem maybe is easy, but i have really stuck with this. I have a process which evolves in three times, so there is the parameter of time (t=1,2,3).More particularly i have three 4*4 matrices, one for each time. In other words each element has three cordinates:

Re: [R] Please help! Matrices and parameter of time

2014-04-01 Thread David Carlson
-project.org] On Behalf Of ANNA SIMEONIDOU Sent: Tuesday, April 1, 2014 3:37 AM To: r-help@r-project.org Subject: [R] Please help! Matrices and parameter of time Hi, Well, the solution to my problem maybe is easy, but i have really stuck with this. I have a process which evolves in three times, so

Re: [R] Please help! Matrices and parameter of time

2014-04-01 Thread Jeff Newmiller
This mailing list has a no homework policy (read the Posting Guide, please, which also requests that you post in plain text format only). If this is not homework then you will have to be a bit more specific about what you know and what you don't in order to get useful help. Questions about why

Re: [R] Please help

2014-03-31 Thread Zilefac Elvis
Thanks AK. Great job. I appreciate your effort. Atem. On Monday, March 31, 2014 11:28 AM, arun smartpink...@yahoo.com wrote: Hi, replace `lst2` with: #Subset of data lst1Sub - lapply(lst1Not1970,function(x) x[c(1:25, 18707:18708)]) lst2 - lapply(lst1Sub,function(x) {dateSite -

Re: [R] Please help

2014-03-31 Thread arun
Hi, replace `lst2` with: #Subset of data lst1Sub - lapply(lst1Not1970,function(x) x[c(1:25, 18707:18708)]) lst2 - lapply(lst1Sub,function(x) {dateSite - gsub((.*G.{3}).*,\\1,x); dat1 - data.frame(Year=as.numeric(substr(dateSite,1,4)),

Re: [R] Please help

2014-03-30 Thread arun
Hi Atem, Try this: I created 3 folders (Precip, Tmax, Tmin) within the folder sample #working directory: sample list.files() #[1] Imputation_Daily_Sim01.datImputation_Daily_Sim02.dat #[3] Imputation_Daily_Sim03.datPrecip #[5] Sim1971-2000_Daily_Sim001.dat

Re: [R] Please help me to short my code

2013-11-08 Thread arun
Hi, Try either: Ceramic - read.table(ceramic.dat,header=TRUE) Ceramic1 - Ceramic Ceramic$indx - ((seq_len(nrow(Ceramic))-1)%/%60)+1 library(plyr) DF1 - data.frame(M=as.vector(t(ddply(Ceramic,.(indx), colwise(mean))[,-1])), S=as.vector(t(ddply(Ceramic,.(indx),colwise(sd))[,-1])),Rep = 60)  

[R] Please Help FDR BH correction of pvalues

2013-04-10 Thread David Lyon
I have a matrix of p values below. Column1 are the analytes and the other columns are p values comparing time points. How do I convert this table of pvalues into adjust p values for FDR/BH This is wrong does anyone know how to fix this code a-read.table(file, header=T, sep\t)

Re: [R] please help, iteration through a list of files and plot each one

2013-04-02 Thread arun
-project.org r-help@r-project.org Cc: Sent: Tuesday, April 2, 2013 12:13 AM Subject: [R] please help, iteration through a list of files and plot each one I have many files in 1 directory, file names end in .txt. Each file has 2 columns col1 col2 2 3 3 4 4 5 5 6 I want to make a list

Re: [R] please help, iteration through a list of files and plot each one

2013-04-02 Thread Shane McMahon
There's probably a better way to do it, but here's one way: require(stringr) windows() file_list - list.files(pattern=.txt) for (file in file_list) { dataset - read.table(file, header=TRUE, sep=\t) plot(dataset) savePlot(filename=str_replace(file,.txt,),type=png) }

[R] please help, iteration through a list of files and plot each one

2013-04-01 Thread David Lyon
I have many files in 1 directory, file names end in .txt. Each file has 2 columns col1 col2 2 3 3 4 4 5 5 6 I want to make a list of the file names and iterate through each plotting them in a separate file $filename\.png with the png swapped for txt. So far I have this, can someone

Re: [R] Please help R error message masked from 'package:utils':combn

2013-01-24 Thread MacQueen, Don
After you get that message, use conflicts() (and read the help page for the conflicts function) -Don -- Don MacQueen Lawrence Livermore National Laboratory 7000 East Ave., L-627 Livermore, CA 94550 925-423-1062 On 1/23/13 10:04 PM, Fumie Sugahara fumie.sugah...@gmail.com wrote: Hi

[R] Please help R error message masked from 'package:utils':combn

2013-01-23 Thread Fumie Sugahara
Hi The message occurred from R, when I was selected of optimization block diagonal Fhiser matrix and used the attached file on PFIM. Could you please advise me about the following message? * Loading required pakage: combinat Attaching package:'combinat' The

Re: [R] Please help R error message masked from 'package:utils':combn

2013-01-23 Thread Pascal Oettli
Hi, It means that the functions combn from the package utils is masked because a function with the same name exists in loaded package combinat. You still can access the one from the package utils using: utils::combn HTH, Pascal Le 24/01/2013 15:04, Fumie Sugahara a écrit : Hi The

[R] Please help me

2012-11-24 Thread emable_wahid
i want to generate an odf report using R, the report is generated but the run stop just after the instruction: odfWeave(inputFile,outputFile) and i get this error: Error in odfWeave(inf, outf) : Error removing work dir please help me it's an emergency. thanks -- View this message in context:

Re: [R] Please help a struggling student with data set-up for

2012-10-18 Thread Asa Johannesen
: [R] Please help a struggling student with data set-up for lmer crossed random effects Message-ID: ca+vqilhbs4fzhup6znpsujawu7+cqtbww0a8xmadakj8pdh...@mail.gmail.com Content-Type: text/plain; charset=ISO-8859-1 Hi, On Wed, Oct 17, 2012 at 3:25 PM, Ralitt ral...@gmail.com wrote: Hi

[R] Please help a struggling student with data set-up for lmer crossed random effects

2012-10-17 Thread Ralitt
Hi all, I am just starting my first models in R and am having trouble with some of the basics. The main things at the moment are about setting up my data correctly. I have a repeated measures design-all participants complete 4 experimental conditions. I want to fit a linear mixed effects model

Re: [R] Please help a struggling student with data set-up for lmer crossed random effects

2012-10-17 Thread Ista Zahn
Hi, On Wed, Oct 17, 2012 at 3:25 PM, Ralitt ral...@gmail.com wrote: Hi all, I am just starting my first models in R and am having trouble with some of the basics. The main things at the moment are about setting up my data correctly. I have a repeated measures design-all participants

[R] Please help on Sweave question

2012-09-30 Thread Andras Farkas
Dear All,     I have reviewed some examples over the net on this issue, but still not getting the results. I have the following text and code i would like to place into a pdf with sweave, but I would like to change the margins on the produced document. The options(width=60) I guess should do

Re: [R] Please help on Sweave question

2012-09-30 Thread Duncan Murdoch
On 12-09-30 2:18 PM, Andras Farkas wrote: Dear All, I have reviewed some examples over the net on this issue, but still not getting the results. I have the following text and code i would like to place into a pdf with sweave, but I would like to change the margins on the produced document.

Re: [R] Please help....normalization by the median of some control genes

2012-08-24 Thread Roebuck,Paul L
On 8/23/12 7:37 AM, David Lyon david_ly...@yahoo.com wrote: Can someone show me some code to do normalization by the median of some control genes for the example below? Many Many Thanks in advance This strategy selects a subset of genes (called ³control genes²) and makes the median of

[R] Please help....normalization by the median of some control genes

2012-08-23 Thread David Lyon
Can someone show me some code to do normalization by the median of some control genes for the example below? Many Many Thanks in advance This strategy selects a subset of genes (called “control genes”) and makes the median of their data distribution similar across arrays.         id1    id2 

Re: [R] Please help....normalization by the median of some control genes

2012-08-23 Thread Rui Barradas
Hello, I'm not sure I understand what you want. You want the medians to be similar? Why not equal? (The code below assumes ids represent genes.) d - read.table(text= id1id2id3 control10.80.70.6 control20.60.20.4 probe10.30.20.5 probe2

Re: [R] Please help....normalization by the median of some control genes

2012-08-23 Thread arun
HI, You could try: limma package: normalizeWithinArrays() A.K. - Original Message - From: David Lyon david_ly...@yahoo.com To: r-help@r-project.org r-help@r-project.org Cc: Sent: Thursday, August 23, 2012 8:37 AM Subject: [R] Please helpnormalization by the median of some control

Re: [R] Please help

2012-07-06 Thread Pascal Oettli
the problem is, please as kind as offer me a direction. Many thanks, Jun Date: Wed, 4 Jul 2012 10:39:29 +0100 From: kri...@ymail.com Subject: Re: [R] Please help To: chensh...@hotmail.com CC: r-help@r-project.org Hello, Following lines are wrong: x=dim.def.ncdf(Lon,degreesE,140.0251:146.6751) y

[R] Please help

2012-07-04 Thread Jun Chen
Dear All, I am a research student in environment. I have only little programming knowledge. I am currently doing the last project about rainfall impact on ground water quality in an area. It happens that I have to use R to read rainfall data (3 dimension) from ASC file (*.asc), and

Re: [R] Please help

2012-07-04 Thread Pascal Oettli
- Mail original - De : Jun Chen chensh...@hotmail.com À : r-help@r-project.org Cc : Envoyé le : Mercredi 4 juillet 2012 10h52 Objet : [R] Please help Dear All,           I am a research student in environment. I have only little programming knowledge. I am currently doing the last project

Re: [R] Please help

2012-07-04 Thread giuseppe calamita
Dear Jun I think you should consider to submit your question to R-SIG (special interest group) about spatial data http://r-sig-geo.2731867.n2.nabble.com/ This will improve the probability you get some help. Cheers Giuseppe Calamita - Giuseppe Calamita PhD at CNR-IMAA Italian National

Re: [R] Please help

2012-07-04 Thread Jun Chen
+0100 From: kri...@ymail.com Subject: Re: [R] Please help To: chensh...@hotmail.com CC: r-help@r-project.org Hello, Following lines are wrong: x=dim.def.ncdf(Lon,degreesE,140.0251:146.6751) y=dim.def.ncdf(Lat,degreesN,(-31.025):(-38.975)) You have 241 longitudes and 160 latitudes

Re: [R] Please help

2012-07-04 Thread Jun Chen
the problem is, please as kind as offer me a direction. Many thanks, Jun Date: Wed, 4 Jul 2012 10:39:29 +0100 From: kri...@ymail.com Subject: Re: [R] Please help To: chensh...@hotmail.com CC: r-help@r-project.org Hello, Following lines are wrong: x=dim.def.ncdf(Lon,degreesE

Re: [R] Please help

2012-07-04 Thread Pascal Oettli
different rows 0, 31981 If you can understand what the problem is, please as kind as offer me a direction. Many thanks, Jun Date: Wed, 4 Jul 2012 10:39:29 +0100 From: kri...@ymail.com Subject: Re: [R] Please help To: chensh...@hotmail.com CC: r-help@r-project.org Hello, Following

Re: [R] please help! Extract the row to the new file by using if-statment

2012-06-01 Thread pigpigmeow
Thank, it OK now but I don't understand what is the meaning of y - y[!is.na(y[5]),] Thank in advance! -- View this message in context: http://r.789695.n4.nabble.com/please-help-Extract-the-row-to-the-new-file-by-using-if-statment-tp4631957p4632090.html Sent from the R help mailing list archive

Re: [R] please help! Extract the row to the new file by using if-statment

2012-06-01 Thread Sarah Goslee
Hi, On Fri, Jun 1, 2012 at 12:05 PM, pigpigmeow gloryk...@hotmail.com wrote: Thank, it OK now but I don't understand what is the meaning of y - y[!is.na(y[5]),] Thank in advance! This is very basic R syntax. You should definitely read the Introduction to R, and also ?[ ?! ?is.na Sarah --

[R] please help! Extract the row to the new file by using if-statment

2012-05-31 Thread pigpigmeow
Dear all, I find some troubles about how to extact the row from csv. file by using if-statement condition. I want to extract the row if the rainfall is greater than the mean of rainfall and using the wrfta divided into 3 groups that's rainfall greater than mean - group A ( create file group

Re: [R] please help! Extract the row to the new file by using if-statment

2012-05-31 Thread Rainer Schuermann
Not sure whether I understand your data and objectives well enough but here is what I would do: To make my life easier, I used x as a variable name. I'm not using attach(). You can extract your data with something like y - x[x$wrfta= 255 | x$wrfta= 65 x$wrfrain == 0, ] y - y[!is.na(y[5]),] y

[R] please help!

2012-05-08 Thread T Bal
Hi, I have a data with the forum a b c 8.9 0 0 7.4 1 0 4.2 0 1 2.3 1 1 Which are explanatory variables in this data? And also I want to fit logistic regression model with two explanatory variables? (I think that I should

[R] please help!

2012-05-08 Thread T Bal
Hi, I want to estimate the probability within logistic regression? How can I do this (within R) ? For example; I have a data with the form. How should I estimate the probability that a has the value 4.2 and b=1 and also c=1?: a b c 8.9 0 0 7.4 1 0

Re: [R] please help!

2012-05-08 Thread ONKELINX, Thierry
bericht- Van: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] Namens T Bal Verzonden: dinsdag 8 mei 2012 8:15 Aan: r-help@r-project.org Onderwerp: [R] please help! Hi, I have a data with the forum a b c 8.9 0 0 7.4 1 0 4.2 0

Re: [R] please help!

2012-05-08 Thread Stephen Sefick
I don't know if we can figure that out... I would figure out what these data are, and then read the relevant help files, ?glm, and literature associated with linear modeling. HTH, Stephen On 05/08/2012 01:15 AM, T Bal wrote: Hi, I have a data with the forum a b c 8.9

  1   2   3   >