Displaying 20 results from an estimated 40000 matches similar to: "How to Clear all variables stored in current and previous sessions"
2008 Dec 30
5
Downloading data from Economagic
I was trying to dw data from Economagic
[http://www.economagic.com/em-cgi/data.exe/libor/day-ussnon], using
following code :
library(fimport)
dat2 = economagicSeries("libor/day-ussnon", frequency = "daily")
Here I see that data is not complete, downloaded data starts from
"2007-12-31 ", whereas actual data is available from 2001.
secondly, how I convert that data
2008 Dec 02
3
How to solve following equation?
I need to solve a equation like this :
a = b/(1+x) + c/(1+x)^2 + d/(1+x)^3
where a,b,c,d are known constant. Is there any R-way to do that?
Thanks in advance
--
View this message in context: http://www.nabble.com/How-to-solve-following-equation--tp20785063p20785063.html
Sent from the R help mailing list archive at Nabble.com.
2009 Jul 18
7
Question on qplot
Hi, suppose I have following codes :
library(zoo); library(ggplot2)
dat <- matrix(rnorm(500*2), 500); dat <- zooreg(dat, start =
as.Date("01/01/01", "%m/%d/%y"), frequency=1); plot(dat)
head(dat); month.no <- format(index(dat), "%m"); dat1 <-
cbind(coredata(dat), as.numeric(month.no))
x <- dat1[,1]; y <- dat1[,2]; z <- dat1[,3]
Now I draw a
2009 Nov 16
2
How to make all elements all elements lower-cap ?
I have a vector of letters like c("a", "B", "c"). Is there any R function to
force all elements to lower-cap ?
Thanks,
--
View this message in context: http://old.nabble.com/How-to-make-all-elements-all-elements-lower-cap---tp26365794p26365794.html
Sent from the R help mailing list archive at Nabble.com.
2009 Jan 11
4
How to get solution of following polynomial?
Hi, I want find all roots for the following polynomial :
a <- c(-0.07, 0.17); b <- c(1, -4); cc <- matrix(c(0.24, 0.00, -0.08,
-0.31), 2); d <- matrix(c(0, 0, -0.13, -0.37), 2); e <- matrix(c(0.2, 0,
-0.06, -0.34), 2)
A1 <- diag(2) + a %*% t(b) + cc; A2 <- -cc + d; A3 <- -d + e; A4 <- -e
fn <- function(z)
{
y <- diag(2) - A1*z - A2*z^2 - A3*z^3 - A4*z^4
2009 May 11
3
Searching within a ch. string
Hi all, is there any function to find some words in a character-string? For
example suppose the string is : "gdfsa-sdhchc-88", now I want to find
whether this string contains "sdhch". Is there any R function to do that?
Regards,
--
View this message in context: http://www.nabble.com/Searching-within-a-ch.-string-tp23484010p23484010.html
Sent from the R help mailing list
2009 Sep 11
2
Searching 1st number within a ch. string
Hi all,
Is there any process to conduct a search for a particular digit or letter in
a ch. string? For example I want to make a search where 1st numeric figure
appears in the string "asd123". Here the answer should be "4"
Thanks,
--
View this message in context: http://www.nabble.com/Searching-1st-number-within-a-ch.-string-tp25400580p25400580.html
Sent from the R help
2008 Nov 05
2
How to extract following data
Hi everyone,
I have this kind of raw dataset :
- <Temp diffgr:id="Temp14" msdata:rowOrder="13">
<Date>2005-01-17T00:00:00+05:30</Date>
<SecurityID>10149</SecurityID>
<PriceClose>1288.40002</PriceClose>
</Temp>
- <Temp diffgr:id="Temp15" msdata:rowOrder="14">
2009 Oct 10
1
installing any package fails using 'install.packages()' (PR#13993)
Dear all,
I installed my R-2.9.2 on my ubuntu version 9.04 successfully using the
command
sudo apt-get install r-base-dev
The problem is that I cannot install any package.
See my details below:
> install.packages("epicalc")
Warning in install.packages("epicalc") :
argument 'lib' is missing: using
'/home/lmramba/R/i486-pc-linux-gnu-library/2.9'
2008 Nov 14
1
Epicalc package
Dear R-friends,
?
I am using the epicalc package and the manual by V. Chongsuvivatwong "Analysis of epidemiological
data using R and Epicalc" to get the hang of some basic epidemiological analyses.???
?
After running all the analyses of chapter 7, one is supposed to wrap it up by saving the data writing: ?
?
> save(.data, file = "Chapter7.Rdata")
?
...?after writing the
2007 Jun 08
0
problem with rake db:sessions:clear and session_table_name
The comments in:
actionpack/lib/action_controller/session/activerecord_store.rb
document this method for changing the session table_name:
# You may configure the table name, primary key, and data column.
# For example, at the end of config/environment.rb:
# CGI::Session::ActiveRecordStore::Session.table_name =
''legacy_session_table''
#
2011 Nov 02
1
Removing or ignoring package version for generic function in locked environment
Hi,
I use the epicalc package which provides the function aggregate.numeric.
Unfortunately aggregate.numeric produces warnings when aggregate is used by functions not under my control on a numeric value. If I don't load epicalc, aggregate.default is used instead by these functions and does not produce any warning.
However I need epicalc. So to get around this, what I would do is firstly
2006 Jul 04
2
clear all sessions keys
hi list,
how to iterate over the Session object to reset all session keys (after
a logout for example)
session[''something'']=nil
session[''another_key'']=nil
...
is there something like session.keys{|aSessionKey|
session[aSessionKey]=nil} ?
thanks
arnaud
2009 Nov 13
2
All combination
Please consider the following :
> expand.grid(rep(list(c(1:3)), 3))
Var1 Var2 Var3
1 1 1 1
2 2 1 1
3 3 1 1
4 1 2 1
5 2 2 1
6 3 2 1
7 1 3 1
8 2 3 1
9 3 3 1
10 1 1 2
11 2 1 2
12 3 1 2
13 1 2 2
14 2 2 2
15 3 2 2
16 1 3 2
17 2 3 2
18
2008 Jun 12
1
Current opened sessions
Is there in Dovecot a command or another way to show current opened
sessions, I mean who is connected using IMAP ti the server? It could be
useful to know if I can restart my server without dusturb any client.
Thank you
Tutan
2008 Nov 22
1
How to draw following plot in R?
I want to draw following plot, given here
http://www.2shared.com/file/4327128/830b82c4/pic.html
for the following data :
dat <- cbind(rnorm(100), sample(c(1:4), 1000, T))
colnames(dat) <- c("data","level")
Here x-axis should be on "data" and y-axis is for "level" and z-axis should
be to display the frequency of "data" for a particular
2010 Dec 10
2
Could concurrent R sessions mix up variables?
Hi, I'm working in R 2.11.1 x64 on Windows x86_64-pc-mingw32.
I'm experiencing a strange problem in R that I'm not even sure how to
begin to fix.
I've got a huge (forty-pages printed) simulation written in R that I'd
like to run multiple times. When I open up R and run it on its own,
it works fine. At the beginning of the program, there's a variable X
that I set to 1,
2014 Aug 21
2
pregunta
Buenas noches Javier y José,
Estoy en contra de usar attach(), asi que propongo la siguiente alternativa
con with():
# paquete
require(epicalc)
# los argumentos en ... pasan de epicalc:::cc
# ver ?cc para mas informacion
foo <- function(var1, var2, var3, ...){
or1 <- cc(var1, var2, ...)
or2 <- cc(var1, var3, ...)
list(or1 = or1, or2 = or2)
}
# datos
x <-
2014 Aug 21
2
pregunta
Estimados
Estoy entrenando hacer funciones que respondan a comandos,
en esta caso en la salida gráfica se observa que dice : Exposure=var3 y
outcome=var 1
quisiéramos que se reflejan los nombres de la base de datos : var1=estado,
var2=cake, var3=chocolate
Espero haberme explicado adecuadamente
Adjunto tabla con datos
####################################
#Comando que llama
2008 Jul 22
3
Error in installing packages
Dear R Users;
I am an R user who has recently bought a new laptop;Toshiba Satellite
U405 running on both Windows Vista and Ubuntu.
I have problems on the wondows vista when installing packages. The
argument 'lib' is missing. How do i solve this problem?
Illustration:
> install.packages("epicalc")
Warning in install.packages("epicalc") :
argument 'lib'