[R] ubuntu 22

2022-11-14 Thread Ragia .
dear group , cant install r base into ubuntu 22. the msg is The following packages have unmet dependencies: r-base-core : Depends: libicu70 (>= 70.1-1~) but it is not installable Recommends: r-recommended but it is not going to be installed Recommends: r-doc-html

[R] re attach into the killed R session

2016-12-18 Thread Ragia .
over what was the script doing for more than a month now ? any ideas? THANS Ragia A. Ibrahim [[alternative HTML version deleted]] __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEA

[R] cdf in R give probability of random variable

2016-10-21 Thread Ragia .
,.125,.5) plot( x,px ,type="h" ) # to plot the frequency , is it correct how to plot the cdf? thanks in advance Ragia [[alternative HTML version deleted]] __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more,

[R] Error nmf - Input matrix x contains at least one null or NA-filled row

2016-06-10 Thread Ragia .
quot;abo", "abu", "acc", "accept", "account", "actual", "administr",  "adnani", "advanc", "advic", "akh", "akhi", "alaykum", "aleppo",  "aljusiya", "allah&qu

[R] Non-negative matrix factorization for term documnt matrix

2016-06-09 Thread Ragia .
   Dear group,  kindly how can I apply Non-negative matrix factorization for term document matrix in R.  Please if you any link to guide or tutorial send it.   thanks in advance     Ragia    __ R-help@r

[R] Twitter Hashtag

2016-04-16 Thread Ragia .
Dear group, I want to download text of weets and other data such as user id or so for a specific hashtag on twitter, how to do this..any reference suggestions that could help me to download almost it all without limits in number of dlwonloaded tweets. thanks in advance RaGiA

[R] How to speed up my program

2016-04-01 Thread Ragia .
Dear group I had a R   program that was to slow, I mad it multi core prog..to speed up, its a simulation when the runs are 100 its very fast..raising the runs to 10k mad it in the first fast then it slow down I checked the HW usafe and here is the top command results %Cpu0  :100.0 us,  0.0

Re: [R] get values out of combined object

2016-03-21 Thread Ragia .
many thanks...it solved my problem...and I will review what is factors..( I think I have misunderstanding in this) RagiA   > From: macque...@llnl.gov > To: ragi...@hotmail.com; r-help@r-project.org > Subject: Re: [R] get values out of combin

[R] get values out of Structure

2016-03-21 Thread Ragia .
 accept my apology for resending..   Dear group  I have the following variable v_neighbours and it holds a vector of the following :   gawker.com gle.am jezebel.com   1 16 28 to have a copy,   dput(v_neighbours) structure(c(1L, 16L, 28L), .Names = c("gawker.com", "gle.am", "jezebel.com"))  

[R] get values out of combined object

2016-03-21 Thread Ragia .
   Dear group I have the following variable   v_neighbours and it holds a vector of the following :  gawker.com      gle.am   jezebel.com            1          16          28  three urls and their id ...when I call the class(v_neighbours )  the result is   "integer" how can I get the factor

Re: [R] How to speed up R program

2016-03-14 Thread Ragia .
thanks for answering the program is simulation it runs on data ( wish is taken from file to memory once)  but it runs about 10k times and in each mad some calculations ? hope this clear the problem,  Ragia  > Date: Tue, 15 Mar 2016 08:45:56 +1

[R] How to speed up R program

2016-03-14 Thread Ragia .
can I speed the program, kindly I need tutorial or book chapter that helps.. thanks in advance Ragia __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help

[R] replace text by uniqe number

2016-03-09 Thread Ragia .
images.salon.com go.theregister.com theregister.co.uk techchuck.com pcworld.com ecoustics.com pcworld.com   Ragia __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https

[R] r output as html or pdf without rstudio

2016-01-08 Thread Ragia .
dear group, is there a way to write my outputs to any kind of files ( the output contains text and graph) using R only without installing rstudio and using rmd  files. thanks in advance Ragia __ R-help@r-project.org

Re: [R] save screen printed data frames and ggplots into a file

2016-01-01 Thread Ragia Ibrahim
yes, the script prints that on the scree, when I used pd file to do the job only ggplots appears on it ! hope this clarifies, thanks . Ragia > Date: Thu, 31 Dec 2015 17:19:35 -0800 > Subject: Re: [R] save screen printed data frames and g

[R] save screen printed data frames and ggplots into a file

2015-12-31 Thread Ragia Ibrahim
Dear group I have a script that prints data frames and plot using ggplot 2 while running,   how can I do this thanks in advance Ragia __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https

Re: [R] R studio installation and running

2015-12-23 Thread Ragia Ibrahim
many thanks for all replies  Indeed I post the question on the rstudio support website, many thanks Ragia > From: istaz...@gmail.com > Date: Wed, 23 Dec 2015 13:17:48 -0500 > Subject: Re: [R] R studio installation and running > To: pda...@gm

Re: [R] R studio installation and running

2015-12-23 Thread Ragia Ibrahim
many thanks for your help its remote ubuntu server that I connect via Putty, and I install R and rstudio , now trying to make it run..but it doesnt..its only terminal..I will try the rstudio help mailing list as many of the list advice's me, many thanks prof for your help Ragia

[R] R studio installation and running

2015-12-22 Thread Ragia Ibrahim
the server admin. thanks in advance Ragia __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org

[R] splitting data frame into fixed rows depending on column rep

2015-12-06 Thread Ragia Ibrahim
 6 3   1.5    1 ... ... and so on I tried  a<- split(df, df$v1==1)  but the resulting class is a list and when I try to access for example a$v2 it gave me NULL ?? how can I split it an get each vector of v2 for each group,  lots of thanks Ra

Re: [R] extract rows based on column value in a data frame

2015-12-02 Thread Ragia Ibrahim
lots of thanks  Ragia > Date: Wed, 2 Dec 2015 14:12:46 -0800 > Subject: Re: [R] extract rows based on column value in a data frame > From: bgunter.4...@gmail.com > To: dwinsem...@comcast.net > CC: ragi...@hotmail.com; r-help@r-project.org &g

[R] Extracing Unique Rows based on 2 Column

2015-11-29 Thread Ragia Ibrahim
sure_id), indices = list(     0:6, 7:13, 14:20, 21:27, 28:34), group_sizes = c(7L, 7L,  7L, 7L, 7L), biggest_group_size = 7L, labels = structure(list(     Measure_id = c(1, 2, 3, 4, 5)), class = "data.frame", r

Re: [R] {non} linear model solving

2015-11-16 Thread Ragia Ibrahim
g > To: ragi...@hotmail.com > > >> On Nov 16, 2015, at 4:01 PM, Ragia Ibrahim <ragi...@hotmail.com> wrote: >> >> thanks for replying. >> >> the question about non linear model, I formed it incorrectly, I have a >> single objective multi con

[R] linear model solving

2015-11-15 Thread Ragia Ibrahim
Dear group IF I had an objective function and some constrains formed in linear model form. is there a way,..library in R that helps me to solve such amodel and find the unknown variable in it? thanks in advance Ragia

[R] get maximum 3 rows by column elements in data frame

2015-11-09 Thread Ragia Ibrahim
, "rank"), row.names = c(NA, 40L), class = "data.frame") >  I want to get maximum 3 rows in each group of Measure_id. e.g. for measure_id 1 get the max ranks  (select the max for each measure depe

[R] group by function

2015-11-07 Thread Ragia Ibrahim
hould be divided by 1.5 not 2.. rows 1,5,11 will be divided by 2 the max of their same group grouped by measure id how to make such grouping thanks in advance Ragia [[alternative HTML version deleted]] __

Re: [R] group by function

2015-11-07 Thread Ragia Ibrahim
many thanks for replying, yes I am kindly accept my pardon, I mistaken the rows from each other many thanks I will read them. Ragia  > Date: Sat, 7 Nov 2015 07:48:36 -0800 > Subject: Re: [R] group by function > From: bgunter.4...@gmail.com &

Re: [R] kendall tau distance

2015-09-12 Thread Ragia Ibrahim
> David L Carlson > Department of Anthropology > Texas A University > College Station, TX 77840-4352 > > -Original Message- > From: R-help [mailto:r-help-boun...@r-project.org] On Behalf Of Ragia Ibrahim > Sent: Thursday, September 10, 2015 12:40 PM > To: r-help@r

[R] kendall tau distance

2015-09-10 Thread Ragia Ibrahim
Dear group how to calculate  kendall tau distance according to  Kendall_tau_distance at wikipedia  httpsen.wikipedia.orgwikiKendall_tau_distance   thanks in advance Ragia __ R-help@r-project.org mailing list

Re: [R] groups Rank

2015-09-08 Thread Ragia Ibrahim
many thanks, It WORKS. But what If I want to add a condition that considered Measure_id , if it is '1'   rank reverse the probability and if it is ' 2 ' rank is ordered like probability?  Replying is highly appreciated  Ragia > From: petr

Re: [R] groups Rank

2015-09-07 Thread Ragia Ibrahim
provide data, rather than expecting people to >> open random attachments. Besides, there are multiple options for >> getting data into R, and we need to know exactly what you did. dput() >> is faster and easier. >> >> What have you tried? Did you look at aggregate

[R] dplyr question

2015-09-06 Thread Ragia Ibrahim
Dear group, I have the following data frame df Measure_id i j id value1 1 5 1 1 2.02 1 5 2 1 2.03 1 5 1 2 1.54 1 5 2 2 1.55 1 5 1 3 0.06 1 5 2 3 0.07 1 5 1 4 0.08 1 5 2 4 1.09

[R] groups Rank

2015-09-04 Thread Ragia Ibrahim
Dear Group,kinldy, I have the following data frame df id value1 1 4 2 1 4 3 1 6 4 1 6 5 2 1.5 6 2 2.5 7 2 2.5 8 2 2.5 add rank column regarding id coulmn where rank for the highest

[R] result NA , but expected True or False

2015-08-09 Thread Ragia Ibrahim
) || (z_nebla_dash==0) [1] NA why (z_nebla==0) || (z_nebla_dash==0) gives me NA ? thanks in advance Ragia [[alternative HTML version deleted]] __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more

[R] Data frame Q

2015-08-09 Thread Ragia Ibrahim
, Common_Friends ) newline [1] 5 thanks in advance Ragia [[alternative HTML version deleted]] __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more

[R] numeric of length 1

2015-06-23 Thread Ragia Ibrahim
Dear group, I have the following object pr_sub$vector[1] 14 0.07782809 class( pr_sub$vector[1]) [1] numeric length( pr_sub$vector[1]) [1] 1 how can I separate pr_sub$vector[1] and get 14 only thanks in advance Ragia

[R] community

2015-06-15 Thread Ragia Ibrahim
Dear group working on a graph..I parse the graph node by node and create cluster for set of nodes..firstly the number of clusters are not knowen what kind of R object can I flexibly use as community, say I want M communities C1,C2..CM how can I define this ? thanks in advance Ragia

[R] most frequent value

2015-06-14 Thread Ragia Ibrahim
Dear group, I have the following integer object a 3 4 6 3 3 6 how to get the most frequent value (it should be 3) and get nothing if no frequent one and all is equal 3 4 6 3 4 6 Thanks in advance Ragia [[alternative HTML version deleted

[R] order matrix regarding its content.

2015-05-23 Thread Ragia Ibrahim
0 1 0 0 0 0 0 8 0 0 0 0 0 0 0 0 1 0 5 0 0 0 0 0 0 0 0 0 0 10 0 0 0 0 0 0 0 0 0 0 thanks in advance Ragia [[alternative HTML version deleted]] __ R-help@r-project.org mailing list

Re: [R] order matrix regarding its content.

2015-05-23 Thread Ragia Ibrahim
Many thanks Date: Sat, 23 May 2015 11:55:07 +0200 From: lig...@statistik.tu-dortmund.de To: ragi...@hotmail.com; r-help@r-project.org Subject: Re: [R] order matrix regarding its content. On 23.05.2015 11:10, Ragia Ibrahim wrote: Dear group, I have the following matrix 1 2 3

[R] matrix inf and zero's value replacement

2015-05-13 Thread Ragia Ibrahim
Dear Group, I have the following matrix m [,1] [,2] [,3] [,4] [,5] [,6] [,7] [,8] [1,]021 Inf Inf Inf Inf Inf [2,]102 Inf Inf Inf Inf Inf [3,]210 Inf Inf Inf Inf Inf [4,]3210 Inf Inf Inf Inf [5,] Inf Inf Inf Inf0

[R] get sub elements

2015-05-10 Thread Ragia Ibrahim
2 2 1 1 2 2 2 9 3 1 1 3 6 1 4 1 3 9 2 how can I extract only records between 9 and 5 values only and put the record number n a vector it should be vector thanks in advance Ragia

[R] get the first row ?

2015-05-10 Thread Ragia Ibrahim
And I could not get the first row.. head(firstclass) 20 27 13 14 how can I got it? thanks in advance Ragia [[alternative HTML version deleted]] __ R-help@r-project.org mailing list

[R] searchTwitter

2015-04-11 Thread Ragia Ibrahim
= retryOnRateLimit, : 500 tweets were requested but the API can only return 28 why ? and how I can Increase number of retreived tweets, many thanks Ragia [[alternative HTML version deleted

[R] searchTwitter

2015-04-11 Thread Ragia Ibrahim
, : 500 tweets were requested but the API can only return 28 why ? and how I can Increase number of retreived tweets, many thanks Ragia [[alternative HTML version deleted]] __ R-help@r-project.org

[R] searchTwitter with unicode- UTF8

2015-04-10 Thread Ragia Ibrahim
are how to make it understand the unicode characters? and if It is a hashtag should I write it that way #� many thanks in advance Ragia [[alternative HTML version deleted]] __ R-help@r-project.org

[R] sort adjacency matrix

2015-04-06 Thread Ragia Ibrahim
Dear group i have the following matrix 1 . . 1 . . 1 . . . . 2 . . . . . . 1 . . . 3 1 . . . 1 . . 1 . 1 4 . . . . . 1 . . . . 5 . . 1 . . . . . . 1 6 1 . . 1 . . . . 1 . 7 . 1 . . . . . 1 . . 8 . . 1 . . . 1 . . 1 9 . . . . . 1 . . . 1 10 . . 1 . 1 . . 1 1 . I want to sort it

Re: [R] sort adjacency matrix_with data

2015-04-06 Thread Ragia Ibrahim
Hi again the data represents a directed graph represented in a matrix e.g library(igraph) g - forest.fire.game(10, fw.prob=0.3 , bw.factor=0.32/0.3, directed = TRUE) m=get.adjacency(g , attr=NULL) print(m) -- many thanks and pardon me for multiple posts Ragia Date: Mon, 6 Apr 2015

[R] creating matrix row by row

2015-03-28 Thread Ragia Ibrahim
Hi, I have a original adjacency matrix n X n , and I want to connect certain row with a set of other selected columns (could be not the same as in the original matrix). this in each iteration I have a new row of this connections matrix , how to create this matrix. having original row

[R] save program results and graphs to one file

2015-02-01 Thread Ragia Ibrahim
Dear group, I have many plots and numeric results in my R program, kindly how can I save them all sequently on one file. thanks in advance RAI [[alternative HTML version deleted]] __

[R] subscript out of bounds

2015-01-20 Thread Ragia Ibrahim
Hello, kindly , how to catch this Error Error in A[[i]] : subscript out of bounds and check that the list is empty is.null( A[[i]] ) do no twork thanks in advance R.I [[alternative HTML version deleted]]

Re: [R] union empty set with an element

2015-01-19 Thread Ragia Ibrahim
Regards R. Subject: Re: [R] union empty set with an element From: b...@xs4all.nl Date: Mon, 19 Jan 2015 16:00:28 +0100 CC: r-help@r-project.org To: ragi...@hotmail.com On 19-01-2015, at 15:51, Ragia Ibrahim ragi...@hotmail.com wrote: Hello, I started the program with an empty set

[R] union empty set with an element

2015-01-19 Thread Ragia Ibrahim
Hello, I started the program with an empty set then I add and element when needed. the problem how can I add the first element to the empty set union(set_name ,element) gives subscript out of bounds thanks in advance R. [[alternative HTML

Re: [R] union empty set with an element

2015-01-19 Thread Ragia Ibrahim
Regards R. Subject: Re: [R] union empty set with an element From: b...@xs4all.nl Date: Mon, 19 Jan 2015 16:00:28 +0100 CC: r-help@r-project.org To: ragi...@hotmail.com On 19-01-2015, at 15:51, Ragia Ibrahim ragi...@hotmail.com wrote: Hello, I started the program with an empty set

[R] list of lists, is this element empty

2014-12-20 Thread Ragia Ibrahim
Hello, Kindly I have a list of lists as follow x [[1]] [1] 7 [[2]] [1] 3 4 5 as showen x[[3]] does not have a value and it has NULL, how can I check on this how to test if x[[3]] is empty. thanks in advance Ragia [[alternative HTML version

[R] data frame cumulative row sum

2014-12-08 Thread Ragia Ibrahim
Hi, Kindly I had a data frame looks like this x y 1 3 2 2 3 1 4 3 and I want to add column z that sum cumulativly like this x y z 1 3 3 2 2 5 3 1 6 4 3 9 how to do this? Regards Ragia [[alternative HTML version deleted

[R] Generate random numbers under constrain

2014-11-22 Thread Ragia Ibrahim
Dear all, I use R 3.1.1 for Windows. kindly how can I generate n number of random numbers with probability from [0,1] and their sum must not be more than one thanks in advance Ragia [[alternative HTML version deleted

[R] re arrange according to first positions

2014-08-28 Thread Ragia Ibrahim
1 result should be starting from row index 1 to 3. thanks in advance Ragia [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r

[R] local and global variables

2014-06-21 Thread Ragia Ibrahim
Dear group I have some thing like the following code... ##start my_list (global object) function 1 { list1-mylist function2(list1) function3(list1) function4(list1) } function2(list1) { assign values via - to the object items } function3(list1) { assign values via - to the object items } #

[R] How to follow

2014-05-23 Thread Ragia Ibrahim
F Hi, An R function that should be run for about 50 000 times... during execution some data saved in data frame how can I view the progress of the function, even its counter..? there are print stamens inside the code but nothing show up till the end of the run !!! other thing, is there any

[R] select randomly from a list

2014-05-22 Thread Ragia Ibrahim
Hi, kindly I want to select randomly and item from list of items. the list generated in a looping process. I used sample(mylist,1) it works fine. BUTsome times the list have only one item. that should be chosen in this case since there is no other one. I found that sample return different item

[R] Cure and data type

2014-05-14 Thread Ragia Ibrahim
Hi, I have a simple table of age and frequency What data type should I use to represent this kind of data in R, and kindly how can I plot it in a curve thanks in advance RAE [[alternative HTML version deleted]]

[R] data presentation -curve

2014-05-14 Thread Ragia Ibrahim
dear group, I had table of ages and their related frequancy. What data type can I use to reoresent ir? Can I plot it in curve ? thanks in advance ARE [[alternative HTML version deleted]] __

[R] variable length lisin in data frame

2014-05-10 Thread Ragia Ibrahim
Dear Group, I have data like the following id contacts_list number of contacts --- 1 3 4 2 2 1 3 43 34 2 1 3 411

[R] uniform number

2014-05-04 Thread Ragia Ibrahim
Dear group, How to generate uniform probability choosing p to be 2% and 5%, in separate trials for 100 times. thanks in advance RAE [[alternative HTML version deleted]] __ R-help@r-project.org

[R] how should the program looks like?

2014-02-19 Thread Ragia Ibrahim
Hi, I used to write C++ code. write what i want in a function ..pass pointers if i want to change the object real value... here i want to ask in R, igraphshould i write the script as lines without functions..to change graph attributes or edges attributes or some values of the