similar to: Simple Question

Displaying 20 results from an estimated 400 matches similar to: "Simple Question"

2012 Sep 23
2
If Command in Plot
Hi Team, I am trying to very simple plot with command plot. Question : I am trying to plot (x,y) based on the value of Column e. If column e value is greater than 0 then plot(x,y) otherwise do not plot it. Data : structure(list(x = c(1, 1, 1, 2, 2, 2, 3, 3, 3), y = c(1, 2, 3, 1, 2, 3, 1, 2, 3), e = c(0, -1, -2, 1, 0, -1, 2, 1, 0)), row.names = c(NA, -9L), .Names = c("x",
2012 Oct 02
1
Ifelse Execution
Hi Everyone, I am trying to run a time based query and need some of your help. Not much of data or packages. Just a simple one. Query I am trying to execute. ifelse ((as.numeric(as.POSIXct("2012-10-01 20:38:00"))), (rnorm(1,2,1)),(Sys.sleep())) Note. Why I am using as.numeric is as I have a list of time at which I wanted to run the command. Something like 1349142243 1349138667
2012 Sep 24
2
Latitude Longitude to SPDF
Hi Team, Need your guidance in building SPDF objects from Latitude, Longitude Information available. I am using package "plotGoogleMaps" which is really awesome but it requires SPDF objects to build the maps. I have a data frame which have Latitude and Longitude information and wanted to convert it in SPDF for making maps. Please help me to find suitable package or function to convert
2013 Jun 10
1
Sending Email with Attachment
Hi, I am trying to send an email through gmail or outlook from my Windows PC and finding trouble to send the email. The code which I am using is given below: Code : library("sendmailR") from <- "abcd@outlook.com" to <- <mailto:efgh@gmail.com> efgh@gmail.com subject <- "Run at" mailControl = list(smtpServer="blu-m.hotmail.com")
2012 Sep 19
2
Data Frame (Very Simple Problem)
Hi List Members, This is a very stupid problem but I am not able to know what the solution can be. I am trying to run a query like below *Program Flow :* 1. a <- data.frame(table( cut( Sys.time() + seq(0,82800,3600), "60 mins") )) # It generates the 60 minute intervals. Thanks David 2. b <- data.frame(a$Var1) # To extract only First Column i.e.
2012 Oct 09
1
General question
Hi, I am currently working in Linux server and wanted to play with our beautiful R software over there. However as its a company server and have lots of restrictions so I am thinking to install it in my home directory. I have three questions in this regard. 1. Is it possible. 2. Is it safe for me and my company data. 3. How can I do that. Please help me to solve this questions and thanking you
2012 Sep 18
1
Simple String Operation.
Hi List, This is kind of very simple but I am not able to understand how it works... I have a sentence like "Even in the mid-west spring is hardly for 3 weeks, while @south the scenario is different." There are some more example of the same nature and don't know the source yet. What i want to do is remove word after "@".. Solution i think of. 1.
2012 Oct 14
3
Pivot Table "like" structure
HI Team, I am currently working on problem and stumped on "for" loop. Data: structure(list(Coutry = structure(c(3L, 3L, 3L, 3L, 2L, 2L, 1L, 1L), .Label = c("J", "M", "U"), class = "factor"), State = structure(c(1L, 1L, 4L, 2L, 5L, 5L, 3L, 6L), .Label = c("A", "C", "K", "O", "S",
2010 Sep 26
4
How to update an old unsupported package
Hi all, I have a package that is specific to a task I was repetitively using a few years ago. I now needed to run it again with new data. However I am told it was built with an older version or R and will not work. How can I tweak the package so it will run on 11.1? It was a one-off product and has not been maintained. Is there a way to "unpackage" it and repackage it to work? I
2012 Sep 11
1
Animation Problem
Hi List, I am trying to build an animation and facing problem as animation is not coming "live". The goal is to build "heart beats" like diagram for the data given below. data : structure(list(date = 1971:1991, x = c(41L, 60L, 41L, 61L, 22L, 83L, 31L, 55L, 22L, 14L, 38L, 6L, 29L, 17L, 10L, 99L, 88L, 32L, 68L, 78L, 26L)), .Names = c("date", "x"), class =
2012 Oct 12
1
problem in downloading RMySQL pkg
when i am installing Rmysql packages i get error like Warning in install.packages : package ?RMySQL? is not available (for R version 2.15.0) which is earliest version should i used ?how should i know the specific version -- View this message in context: http://r.789695.n4.nabble.com/problem-in-downloading-RMySQL-pkg-tp4645967.html Sent from the R help mailing list archive at Nabble.com.
2012 Aug 14
1
twitteR location?
Hi all, Is it possible to get the latitude and longitude of the location of a tweet? If I do tweets<- searchTwitter("#obama", n=200) #get tweets df <- twListToDF(tweets) #converts to data frame for ease of viewing it does not seem to be getting the location of where that tweet was posted. >From what I read from the twitter API this is possible?
2012 Sep 11
1
help in running r query in pre defined time intervals
Hi Team, I am not sure how to run some r queries in continuos time interval for say in each 30 minutes. Will be very grateful if some one can give me some heads up in good direction. Unfortunately I dont have any query written or data which I can share and I know most of the respected people will not like it but it's kind of a thought which is perturbing me from some days. Thanks in
2012 Sep 14
1
Plotting DMAs (Direct Marketing Areas)
Hey useRs! Do any of you guys know how to plot DMAs within R (preferrably within the maps() package)? I haven't been able to find any resources on this, but I apologize if this is a dumb question and I'm overlooking the obvious answer. Thanks for your help! Josh [[alternative HTML version deleted]]
2012 Sep 21
2
reading mzxml files
Hi Everyone, So I've been working a little with mzxml files generated from proteomics data. The current packages available to read these are not sufficient for what I am doing and I would like to build my own. The trouble I am having is how do I read in an mzxml file without the available packages (like reading in a table). I've been searching through Google for a couple of days and am
2012 Sep 22
1
Creating multiple maps so points don't overlap
Hello, I am working within package 'maptools' to plot a number of collared animal locations by reading in shapefiles of locations, roads, hydrology, and landownership as imported layers. The trouble I have is that some individual locations are overlapping and I would like to "zoom" into or create new plots for overlapping points/points that are too close together. I will be
2012 Oct 25
1
cut point in ROC
var1 var2 var3 var4 var5 var6 var7 var8 var9 var10 gold 2 3 1 2 4 0 1 4 4 3 2 2 4 2 4 3 4 2 4 4 4 2 3 3 0 0 4 1 0 2 4 4 2 1 4 0 3 2 0 0 2 4 4 2 3 4 0 2 2 0 0 0 3 4 2 2 2 3 2 2 0 0 0 2 4 2 2 4 1 1 2 0 0 3 3 3 2 3 4 1 4 0 0 0 0 3 4 2 3 1 0 2 2 1 0 2 3 3 2 0 3 1 1 1 1 2 1 2 3 2 1
2012 Oct 03
3
"options" in R
Dear Rxperts, Was wondering if there is any function in R similar to options("time.zone"): found in S-Plus that can help in looking at the default timezone settings.. Thanks much, Santosh [ [[alternative HTML version deleted]]
2012 Aug 23
2
elevation map with R
I would like to plot a map of, say, California, showing the elevation areas. I am sure there must be a source where I can find the dataset for the elevation and maybe there's an implementation in R that allows me to map it. Any ideas would be highly appreciated. -- View this message in context: http://r.789695.n4.nabble.com/elevation-map-with-R-tp4641116.html Sent from the R help mailing
2013 Jun 15
2
quick Help needed
Hi, i am new to this forum and not sure how it works, I am trying to do deskriptive descripe my data in terms of gender: head(scltotal) pbnr dat dep dys sop ago mis age female messpunkt2 messpunkt1 tage eintrittsjahr 1 10023 1994-02-21 0.75 1.00 0.50 0.50 0.75 35 1 8817 8817 0 1994 2 10023 1994-05-25 0.75 1.00 0.50 0.50 0.75 35 1 8910 8817