Displaying 20 results from an estimated 300 matches similar to: "Animation Problem"
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 Aug 10
1
ggplot2 geom_bar produces white slashes in legend keys
When I am using geom_bar I get these white slashes through the legend keys. I cannot figure out how to remove them.
ggplot(diamonds, aes(clarity, fill=cut)) + geom_bar()
I have tried using opts(legend.key = theme_blank()) but with no luck.
Any suggestions would be much appreciated.
I am using R vers. 2.15.0 and ggplot 0.9.1, win xp
Best wishes
Jonas Hal
2012 Aug 09
2
read htm table error
Hi I am using Version R 2.15 and I haven't been able read html table. Following is my code and error message.
Error in htmlParse(doc) :
error in creating parser for http://en.wikipedia.org/wiki/Brazil_national_football_team
theurl <- "http://en.wikipedia.org/wiki/Brazil_national_football_team"
tables <- readHTMLTable(theurl)
Regards,
Kiung
[[alternative HTML version
2012 Sep 28
3
Simple Question
Hi Everyone,
I am trying a very simple task to append the Timestamp with a variable name so something like
a_2012_09_27_00_12_30 <- rnorm(1,2,1).
Tried some commands but it doesn't work out well. Hope someone has some answer on it.
Session Info
R version 2.15.1 (2012-06-22)
Platform: i386-apple-darwin9.8.0/i386 (32-bit)
locale:
[1]
2012 Aug 09
1
Using unicode symbol has unexpected results in levels of factor object
Dear all,
When I use a unicode symbol in the labels for a factor object, the corresponding level does not display as expected. However, using levels() on the factor returns the desired output. I noticed the discrepancy when the legend labels from a call to ggplot() did not display the desired symbol, but an explicitly built legend using the same labels did.
Example (I am trying to get the less
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
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",
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 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 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 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
2005 Apr 09
1
R-generated animation of a polynomiograph
Hi, people.
Two days ago, I sent to this list a little toy for exploring
polynomiographs (yet, the mathematical formulas were not polynomials
anymore, so the name is not really appropriate).
After studying R calls, expressions and functions a bit more, I gave
myself the homework of producing an animation out of my recent toy. The
resulting animation, and also the sources, are available at:
2011 Jan 04
0
Package animation update (v2.0-0)
Hi,
The animation package 2.0-0 is on CRAN now. This version is a
milestone of the animation package. It includes a new function
saveHTML() which uses a much more elegant interface and is consistent
in syntax with other save*() functions such as saveMovie(), saveSWF()
and saveLatex(). Lots of demos have been added to demonstrate the
flexibility of this package, e.g. now we can get the snapshots
2011 Jan 04
0
Package animation update (v2.0-0)
Hi,
The animation package 2.0-0 is on CRAN now. This version is a
milestone of the animation package. It includes a new function
saveHTML() which uses a much more elegant interface and is consistent
in syntax with other save*() functions such as saveMovie(), saveSWF()
and saveLatex(). Lots of demos have been added to demonstrate the
flexibility of this package, e.g. now we can get the snapshots
2012 May 31
1
anova of lme objects (model1, model2) gives different results depending on order of models
Hello-
I understand that it's convention, when comparing two models using the
anova function anova(model1, model2), to put the more "complicated" (for
want of a better word) model as the second model. However, I'm using lme
in the nlme package and I've found that the order of the models actually
gives opposite results. I'm not sure if this is supposed to be the case
2005 Mar 09
3
Polycom IP 500 bitmaps and Idle Display Animation
Has anyone got this to work? Under Idle Display Animation, the
administrators guide says "For example, a company logo could be
displayed"..
In the ipmid.cfg file, I enabled 'ind.idleDisplay.enabled' (ie changed
it to 1), and under the IP 500 section, I added an entry for the bitmap
that I want to display: bitmap.IP_500.66.name ="arf" but from there I'm
not sure
2007 Oct 23
3
Polycom Phone and bitmaps
I've been trying to get the polycom 550 phones to show a idle display bitmap
but have not been successful. Anybody have any experience with this? The
manual gives instructions
(http://www.polycom.com/common/documents/support/setup_maintenance/products/voice/soundpoint_ip_soundstation_ip_administrators_guide_v2_2.pdf)
but they do not seam to work. So far i've done the following in my
2011 Jun 15
1
animation error
Hello,
While running the following code I encountered a bit of a funny error.
First the code:
library(animation)
ani.options(convert = shQuote('C:/Program
Files/ImageMagick-6.7.0-Q16/convert.exe'))
plot.ani<-function() {
for (ts in 1:730){
dat<-read.table(paste("c:/temp/ConcProfile_",ts,".txt",sep=""),