Hi
-Original Message-
From: r-help-boun...@r-project.org [mailto:r-help-bounces@r-
project.org] On Behalf Of Pieter Schoonees
Sent: Friday, October 12, 2012 6:19 PM
To: Vining, Kelly; r-help@r-project.org
Subject: Re: [R] average duplicated rows?
You will have to split() the data
Le 14/10/2012 00:00, Duncan Murdoch a écrit :
On 12-10-13 3:20 PM, Christophe Genolini wrote:
Hi the list,
I am about to submit an article describing an R package to the Journal of
Statistical Software but I
encounter a strange behavior of LaTeX: the numbering of the figure is correct
(1. 2.
Hello all-
I got some help on this. While it did not fix the problem with nls, one can
get around the problem by creating a data frame with the NAs excluded. As
follows:
goodidx-which(! is.na(warming$T10cm))
warming2-warming[goodidx,]
warm.10-nls(umoles60~alpha*exp(beta*T10cm),start =
HI,
Just a modification of the column names. I noticed that the Data. column
starts with 2.
Try this:
dat1-read.table(text=
Tool Step_Number Data1 Data2 Data3
A 1 0 1 2
A 2 3 1 4
A 3 2 1 3
B 1 3 2 1
B 2 1 2 3
B 3 3 2 0
,sep=,header=TRUE,stringsAsFactors=FALSE)
I have spent quite some time building a general framework for unevenly-spaced
time series. The methods do not rely on a transformation to equally-spaced
data, but allow to analyze unevenly-spaced time series in their unaltered
form. Please see http://www.eckner.com/research.html for my notes.
In
ingaschwabe ingaschwabe at gmail.com writes:
Dear all,
For a project I need to calculate the conditional AIC of a mixed effects
model.
Luckily, I found a reference in the R help forum for a function to be used:
CAIC - function(model) {
sigma - attr(VarCorr(model), 'sc')
You can also get the Tool column repeated by tricking reshape() into letting
you use Tool in the v.name and idvar arguments:
dta1 - read.csv( text=
+ Tool,Step_Number,Data1,Data2
+ A,1,0,1
+ A,2,3,2
+ A,3,2,3
+ B,1,3,2
+ B,2,1,2
+ B,3,3,2
+ )
# Repeat the first column. R will append .1 to the
i m installing pkg but get error like this
install.packages(RMySQL)
Installing package(s) into
‘/home/trendwise/R/x86_64-pc-linux-gnu-library/2.13’
(as ‘lib’ is unspecified)
trying URL 'http://ftp.iitm.ac.in/cran/src/contrib/RMySQL_0.9-3.tar.gz'
Content type 'application/x-gzip' length 165363
I just noticed chinese characters are not printed by using this. Some other
characters gets printed on axis as shown below for the sugested solution.
x - read.csv(textConnection(名称,类,学生
木材,2,2
表,3,4
笔,4,2
垃圾桶,5,6
杯,6,3), header = TRUE)
rownames(x) - x[,1]
x - x[,-1]
barplot(t(x),
Hi,
I have two within-subject factors A and B, and covariate CV, and wanna run
an ANCOVA on the dependent variable DV.
my code is:
ancova=aov(DV~factor(A)*factor(B)+CV+Error(factor(subject)/(factor(A)*factor(B))),data=data)
Is that correct?
--
View this message in context:
Hi Jeff Newmiller,
The script given by you is perfect for my requirement.
The rest of the scripts given by other authors are failing to format the
file header which are giving like eachdatacolumn.1 or eachdatacolumn.2 etc,
whereas I need them as eachdatacolumn_firstactualstepnumber,
On Sun, 14 Oct 2012, Eiko Fried wrote:
Thank you for the detailed answer, that was really helpful. I did some
excessive reading and calculating in the last hours since your reply,
and have a few (hopefully much more informed) follow up questions.
1) In the vignette(countreg, package = pscl),
Hi,
I have 2 factors A and B, and the covariate CV, and wanna run an
within-subject ANCOVA on the dependent variable DV.
Previously my ANOVA was
anova=aov(DV~factor(A)*factor(B)+Error(factor(subject)/(factor(A)*factor(B))),data=data)
how do I modify this code to included a covariate CV to run
hi Michael,
am sorry for the incomplete reply .
csv file data havinmg like this ,
getSymbols(IBM)
weekly_data = to.weekly(week_name)
dataframe=data.frame(weekly_data)
outputfile_name=F:\\R-programs\\Outputfile.csv
write.table(dataframe, file =outputfile_name,sep = ,,col.names
Hi,
I have two within-subject factors A and B, and covariate CV, and wanna run
an ANCOVA on the dependent variable DV.
my code is:
ancova=aov(DV~factor(A)*factor(B)+CV+Error(factor(subject)/(factor(A)*factor(B))),data=data)
Is that correct?
--
View this message in context:
Hi
-Original Message-
From: r-help-boun...@r-project.org [mailto:r-help-bounces@r-
project.org] On Behalf Of Gunsalus, Catherine
Sent: Friday, October 12, 2012 8:52 PM
To: r-help@r-project.org
Subject: [R] Error in rowMeans function
Hello,
I am trying to create parcels for a
Hi
snip
While I am generating graphs for the above data I am getting four
graphs in four pages in a pdf with the following programme.
Page1: Only dots (No lines)
Page2: Lines observed
Page3: Lines observed
Page4: Only dots (No lines)
I want to get rid of page 1 and 4 i.e Only dots
On 10/15/2012 08:28 AM, PIKAL Petr wrote:
Hi
-Original Message- From: r-help-boun...@r-project.org
[mailto:r-help-bounces@r- project.org] On Behalf Of Gunsalus,
Catherine Sent: Friday, October 12, 2012 8:52 PM To:
r-help@r-project.org Subject: [R] Error in rowMeans function
Hello, I
Hi
I did not use cfa function, the former poster (Catherine)did and I only advised
almost the same as you did.
Regards
Petr
-Original Message-
From: r-help-boun...@r-project.org [mailto:r-help-bounces@r-
project.org] On Behalf Of yrosseel
Sent: Monday, October 15, 2012 8:40 AM
I just founfd one article abt internationalisation of R. Can it be used here.
http://r.789695.n4.nabble.com/file/n4646206/image1.png
http://r.789695.n4.nabble.com/file/n4646206/image2.png
How this can be helpful in plotting graphs in chineese language. Pls help me
out as i m in great need.
Hi,
I am working on internationalization of R on linux. I have xml file which
has data in Chinese language. I need to read it and plot it. How can i do
it using internationalization on linux?
Regards
--
View this message in context:
On 2012-10-15 9:40, Manish Gupta wrote:
I just noticed chinese characters are not printed by using this. Some other
characters gets printed on axis as shown below for the sugested solution.
x - read.csv(textConnection(名称,类,学生
木材,2,2
表,3,4
笔,4,2
垃圾桶,5,6
杯,6,3), header = TRUE)
rownames(x) -
Dear Jari Oksanen,
Many thanks for your reply; adonis() does seem to accept a distance
matrix as an input.
Regarding the documentation, what got me confused is that 'data' is
described as; the data frame from which A, B, and C would be drawn.
but of course this refers only to the design of the
Hi Noah,
On Sun, Oct 14, 2012 at 12:14 PM, Noah Silverman noahsilver...@ucla.edu wrote:
Hello,
I have a time series object (xts) that I iterate over in a loop. Works fine.
My challenge is that I want to be able to reference other entries in the
series by math. i.e. For today's
Dear useRs,
1.how to calculate single median value for two columns of a matrix?
2.i have a matrix of 16 columns and 365 rows, how to calculate median
between columns 1 and 16, 2 and 16, 3 and 16, 4 and 16, 5 and 16 till 15th
column. is there a loop command to do the said operation?
On 12-10-15 2:04 AM, Christophe Genolini wrote:
Le 14/10/2012 00:00, Duncan Murdoch a écrit :
On 12-10-13 3:20 PM, Christophe Genolini wrote:
Hi the list,
I am about to submit an article describing an R package to the Journal of
Statistical Software but I
encounter a strange behavior of
On 15/10/12 08:32, Manish Gupta wrote:
Hi,
I am working on internationalization of R on linux. I have xml file which
has data in Chinese language. I need to read it and plot it. How can i do
it using internationalization on linux?
By following the R manuals. If you use a UTF-8 locale there
HI,
May be this helps you (if I understand it correctly):
set.seed(1)
mat1-matrix(sample(1:500,160,replace=TRUE),ncol=16)
res-do.call(rbind,lapply(1:ncol(mat1[,-16]),function(i)
median(sort(stack(as.data.frame(mat1[,c(i,16)]))[,1]
res
# [,1]
#[1,] 239.0
#[2,] 238.0
#[3,] 181.5
m-matrix(1:10,ncol=5)
m
[,1] [,2] [,3] [,4] [,5]
[1,]13579
[2,]2468 10
apply(m,2,function(x){median(x,m[,5])})
[1] 5.5 6.5 7.5 8.5 9.5
Though i am not 100% sure thats what you mean. But the median of each row
between two columns kind of doesn't make
Your df object (newdata) has to have ALL the variables in it. Normally you wouldn't need
the strata variable, but in this case cov1 is also a covariate. Look at the example I
gave earlier.
Terry T.
On 10/15/2012 05:00 AM, r-help-requ...@r-project.org wrote:
Many thanks for your very quick
On 12-10-15 06:00 AM, r-help-requ...@r-project.org wrote:
Jeff,
My understanding is that the lag command will lag an entire time series. That
isn't what I'm looking for.
I just want, for example, today, and 5 entries back.
for exmple:
iter - '2011-05-18'
observations[iter] # works
Dear Arun and Jessica,
thnx for your reply. it realy worked out.
regards
eliza
Date: Mon, 15 Oct 2012 05:55:55 -0700
From: smartpink...@yahoo.com
Subject: Re: [R] median between matrix column
To: eliza_bo...@hotmail.com
CC: r-help@r-project.org
HI,
May be this helps you (if I
hey There
I've been trying to match 2 lists in R I have an excel sheet containing all
the 51states of amerika devided by zipcode. the columns are : zip,city,
state, latitude,longitude,count so now I want R to make a new table that I
could use to draw a map. The table should consist the name of
I am installing RMySQL_0.9-3.tar.gz pkg on windows-7 64 bit machine as:---
C:\Users\trendwise R CMD INSTALL
--configure-args='--with-mysql-inc=C:\\Program Files\\MySQL\\MySQL Server
5.5\\include' C:\\Users\\trendwise\\Downloads\\RMySQL_0.9-3.tar.gz
* installing to library
Dear Marc,
Thank you for your reply.
From the link you send only nlmeODE seems to be useful for my purposes (PKPD
modelling with user defined differential equations).
But I indeed asked the author of the package and he said that he is planning to
update it soon so that it uses deSolve.
Hi
Download the xls file from this link
http://www.nseindia.com/content/fo/fii_stats_12-Oct-2012.xls
http://www.nseindia.com/content/fo/fii_stats_12-Oct-2012.xls
I tried this
---
library(XLConnect)
url =
How to read xml in UTF-8 format. I have one XML file but i want to read it
in UTF-8 format. How this is possible?
barplot
cd
name表/name
value13/value1
value22.9/value2
/cd
cd
name笔/name
HI,
i need to use simplified chineese. But when i read XML
barplot
cd
name表/name
value13/value1
value22.9/value2
/cd
cd
name笔/name
value13.3/value1
Actually i just saw that i copied the wrong code
apply(m,2,function(x){median(c(x,m[,5]))})
it should be.
Sorry if this confused anyone.
On 15.10.2012, at 15:32, eliza botto wrote:
Dear Arun and Jessica,
thnx for your reply. it realy worked out.
regards
eliza
Date: Mon, 15 Oct 2012
rm wrote
I’m trying to set up proportional hazard model that is stratified with
respect to covariate 1 and has an interaction between covariate 1 and
another variable, covariate 2. Both variables are categorical. In the
following, I try to illustrate the two problems that I’ve encountered,
aggregate() maybe?
It isn't entirely clear to me what you want (or how the United States
has 51 states, assuming amerika == US); a reproducible example
including a bit of your data provided with dput() would be the most
useful thing, as long as it includes a clear statement of your desired
--configure-args are for Unix: you are on Windows.
On 15/10/2012 11:47, sagarnikam123 wrote:
I am installing RMySQL_0.9-3.tar.gz pkg on windows-7 64 bit machine as:---
C:\Users\trendwise R CMD INSTALL
--configure-args='--with-mysql-inc=C:\\Program Files\\MySQL\\MySQL Server
5.5\\include'
Thanks much! This was very helpful.
--Kelly
-Original Message-
From: arun [mailto:smartpink...@yahoo.com]
Sent: Friday, October 12, 2012 7:23 PM
To: Vining, Kelly
Cc: Rui Barradas; R help
Subject: Re: [R] average duplicated rows?
HI,
My earlier solutions averaged FL_EARLY values for
On 15.10.2012 14:49 (UTC+2), Manish Gupta wrote:
How to read xml in UTF-8 format. I have one XML file but i want to read it
in UTF-8 format. How this is possible?
barplot
cd
name表/name
value13/value1
value22.9/value2
Hello,
Your page returns access denied:
library(RCurl)
url - http://www.nseindia.com/content/fo/fii_stats_12-Oct-2012.xls;
xls - getURL(url)
cat(xls)
HTMLHEAD
TITLEAccess Denied/TITLE
/HEADBODY
H1Access Denied/H1
You don't have permission to access
What do people use for SNA/graph analysis in R?
So far I have been using igraph (it implements the Louvain community
detection algorithm as multilevel.community, which is the killer feature
for me).
However, igraph is severely lacking in visualization, which I also need.
graphviz gephi are
Dear Eliza,
No problem.
In my solution, you can delete the sort() and get the same result.
res1-do.call(rbind,lapply(1:ncol(mat1[,-16]),function(i)
median(stack(as.data.frame(mat1[,c(i,16)]))[,1])))
head(res1)
# [,1]
#[1,] 239.0
#[2,] 238.0
#[3,] 181.5
#[4,] 244.5
#[5,] 265.0
#[6,] 212.0
Le lundi 15 octobre 2012 à 05:37 -0700, Manish Gupta a écrit :
HI,
i need to use simplified chineese. But when i read XML
barplot
cd
name表/name
value13/value1
value22.9/value2
/cd
cd
Mr Jeffrey Breen
mailed me the following code.
but it is not giving me the results under Windows 7.
With regards
veepsirtt'
library(XLConnect)
url = http://www.nseindia.com/content/fo/fii_stats_12-Oct-2012.xls;
local.xls.file = tempfile()
download.file(url, local.xls.file,
Hello,
I am running DAISY in R and using the GOWER metric since I am working with
mixed variables. I am wondering if there is a way to weight the different
variables. I see that there is a weight value for Gower but do not know if
this is how to weight the diffrent variables with different
Hello,
I have trouble with extracting Date string from my each row data.
The date format I use is as the follows:
---
Index,Open,High,Low,Close # header
2011-11-01 9:00:00 ,248.50,248.95,248.20,248.70 ...
Dear all,
I need to calculate confidence intervals of a and b and root mean square
error (RMSE) of a power law given by
Y = a X^b
I calculate the confidence intervals by:
reg.ln = function(tab.xy, indices){
tab.xy = storage[indices,]
res.lm = lm(log(y)~log(x),
All
Im having a problem with the rJava package. I can download it to my
machine (Win 7 64-bit) but when I try to load the package into R (2.15.1,
64-bit version), I get the following error:
require(rJava)
Loading required package: rJava
Error : .onLoad failed in loadNamespace() for
I am trying to model a dependent variable as a threshold function of
my independent variable.
What I mean is that I want to fit different intercepts to y following 2
breakpoints, but with fixed slopes.
I am trying to do this with using ifelse statements in the nls function.
Perhaps, this is not an
Having estimated a generalized least squares model using gls (non-diagonal
covariance matrix, one structural parameter estimated from the data), I wonder
whether there is an efficient way to compute jackknifed/externally studentized
residuals. The residuals.gls method does not offer this
That is the way I read the help file for function daisy() in package
cluster, but you might want to contact the package maintainer with your
question:
Martin Maechler maech...@stat.math.ethz.ch
--
David L Carlson
Associate Professor of Anthropology
On Mon, Oct 15, 2012 at 12:32 PM, 박상규 birdfir...@naver.com wrote:
Hello,
I have trouble with extracting Date string from my each row data.
The date format I use is as the follows:
---
Thank you for replying.
But, I think it creates another problem if I remove it in another code of my
own.
So, I just want to extract Date and convert it as string without removing
FUN=as.chron.
Does anyone know another solution ?
SK Park
-Original Message-
From: Gabor
The Rgraphviz package index says nothing about reading dot files.
(it has toFile to write them but no fromFile).
How do I create an Ragraph object?
(either by reading a dot file or from a list of edges with weights and
vertices with names and other attributes).
--
Sam Steingold
On Mon, Oct 15, 2012 at 1:54 PM, ë°ìê· birdfir...@naver.com wrote:
Thank you for replying.
But, I think it creates another problem if I remove it in another code of
my own.
So, I just want to extract Date and convert it as string without removing
FUN=as.chron.
Does anyone know
You didn't say what errors you've got but you probably wants to
specify argument mode=wb in your download.file() call, cf.
https://stat.ethz.ch/pipermail/r-devel/2012-August/064739.html
/Henrik
On Mon, Oct 15, 2012 at 1:57 AM, veepsirtt veepsi...@gmail.com wrote:
Hi
Download the xls file
On Mon, Oct 15, 2012 at 7:01 PM, Sam Steingold s...@gnu.org wrote:
The Rgraphviz package index says nothing about reading dot files.
(it has toFile to write them but no fromFile).
How do I create an Ragraph object?
(either by reading a dot file or from a list of edges with weights and
#Here is a vector of IDs
cwaves
[1]8690 185 196 197 209 210 215 216 217 218
#Here is a matrix. The rows and columns correspond to the IDs in cwaves, and
the matrix is populated with a coefficient
mat
86 90 185 196 209 210 215 216 217 218
86
Hello,
I have a data with following format:
Predictors n11 n12 n21 n22 Odds.Ratio log.ratio
se.log.odds.
1 ProcOR respirato
2 ProcVaric vein
3 DiagCardiac anom
4 DiagAllergy
5 DiagOth skin dx
6 DiagGastritis
I want to plot
On 15-10-2012, at 19:57, AHJ wrote:
#Here is a vector of IDs
cwaves
[1]8690 185 196 197 209 210 215 216 217 218
#Here is a matrix. The rows and columns correspond to the IDs in cwaves, and
the matrix is populated with a coefficient
mat
86 90 185 196
Actually the rows and columns do not correspond to the IDs in cwaves since
rownames 1162, 1323, 1338, and 1709 do not appear in cwaves and there is no
column 197 in mat. If cwaves is defined as equal to colnames(mat), you will
get one definition, but it will not match cwaves defined as equal to
Véronique:
I've cc'ed this to a true expert (Ravi Varadhan) who is one of those
who can give you a definitive response, but I **believe** the problem
is that threshhold type function fits have objective functions whose
derivatives are discontinuous,and hence gradient -based methods can
run into
On 15-10-2012, at 22:17, David L Carlson wrote:
Actually the rows and columns do not correspond to the IDs in cwaves since
rownames 1162, 1323, 1338, and 1709 do not appear in cwaves and there is no
column 197 in mat.
I didn't see that. I just looked at what the OP did.
If cwaves is
Hello,
Thanks for looking into it. What process do people usually follow to fix
bugs in RTAQ? I took me a while to realise what's wrong with it, therefore
it would be great if we can address it so others won't have to encounter
it.
Best,
Nicolae
On Sat, 13 Oct 2012 12:33:01 -0500, Jeff Ryan
Hi,
May be this helps:
cwaves-c(86,90,185,196,197,209,210,215,216,217,218,1162,1323,1338,1709)
cwaves1-as.character(cwaves)
mat[cwaves1[4],cwaves1[7]]
#[1] 0.0625
mat[cwaves1[4],cwaves1[10]]
#[1] 0.03125
A.K.
- Original Message -
From: AHJ ahadjixenofon...@med.miami.edu
To:
Dear all,
I have a series of time variables such as:
04MAY2011:08:19:00
01JUN2011:09:44:00
28JUN2011:08:08:00
25JUL2011:07:44:00
How could I extract the time as a number, so that I can normalize the times
by the first time variable?
Thanks,
--
View this message in context:
On Mon, Oct 15, 2012 at 6:44 AM, sheenmaria sheenmar...@gmail.com wrote:
hi Michael,
am sorry for the incomplete reply .
csv file data havinmg like this ,
getSymbols(IBM)
weekly_data = to.weekly(week_name)
dataframe=data.frame(weekly_data)
outputfile_name=F:\\R-programs\\Outputfile.csv
Use something like
format(as.POSIXct(xxx, format = STRING), format = STRING2)
where the appropriate formatting codes can be worked out using the
info in ?strptime
Cheers,
Michael
On Mon, Oct 15, 2012 at 9:32 PM, york8866 yu_y...@hotmail.com wrote:
Dear all,
I have a series of time variables
I am trying to write a C++ function to be called from R and have never done
this before. I have done the following:
require(Rcpp)
require(inline)
src - 'blahblahblah'
fun - cxxfunction(signature(a=numeric,b=numeric),src,plugin=Rcpp)
That last line generates the error message:
Error in
Hi list,
Can somebody explain why there are these warning messages? I just don't get
it. I'm using R 2.15.1 on WinXP.
Thanks!
Tao
x
[1] -2.143510 -1.157450 -1.315581 1.033562 -1.225440 -1.179909
ifelse(x0, log2(x), -log2(-x))
[1] -1.099975 -0.210950 -0.395700 0.047625 -0.293300
My guess would be that your running the 32 bit version of R - and
rJava is looking for the 64 bit dll. I'd suggest starting the 64 bit
version of R explicitly (e.g. the 64 bit version of Rgui lives at
R_HOME/bin/x64/Rgui.exe, whereas the 32 bit version lives at
R_HOME/bin/i386/Rgui.exe).
On Tue,
Never mind. I got it. Thanks!
Tao
- Original Message -
From: Shi, Tao shida...@yahoo.com
To: r-help@r-project.org r-help@r-project.org
Cc:
Sent: Monday, October 15, 2012 4:08 PM
Subject: [R] warning message
Hi list,
Can somebody explain why there are these warning
The second and third arguments to ifelse are evaluated for all
elements of x (producing your warnings), then the appropriate elements
of each result are combined based on the (logical) values of the first
argument to ifelse.
On Tue, Oct 16, 2012 at 10:08 AM, Shi, Tao shida...@yahoo.com wrote:
Hi
Thank you, Simon and Kevin!
Tao
- Original Message -
From: Simon Knapp sleepingw...@gmail.com
To: Shi, Tao shida...@yahoo.com
Cc: r-help@r-project.org r-help@r-project.org
Sent: Monday, October 15, 2012 4:25 PM
Subject: Re: [R] warning message
T he second and third arguments to
If I have a two column data frame like:
dat - cbind(x=c(1:100),y=c(100:1))
How can I create an array that splits every ten rows of that data frame
into a third dimension of an array so that:
newarray[,,1]
,,1
x y
1 100
2 99
3 98
... ...
10 91
,,2
xy
11 90
12 89
... ...
HI,
May be this:
dat - cbind(x=c(1:100),y=c(100:1))
newarray-array(do.call(cbind,lapply(split(dat,rep(1:10,each=10)),function(x)
cbind(x=x[1:10],y=x[11:20]))),dim=c(10,2,10))
colnames(newarray)-c(x,y)
newarray[,,1]
# x y
#[1,] 1 100
#[2,] 2 99
#[3,] 3 98
#[4,] 4 97
#[5,]
aperm(array(dat,c(10,10,2)),c(1,3,2))
---
Jeff NewmillerThe . . Go Live...
DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go...
Greetings,
The website fivethirtyeight has a great plot.
http://www.nytimes.com/interactive/2012/10/15/us/politics/swing-history.html
Can this be done with R or GGobi or GGPlot?
thanks,
Tom
__
R-help@r-project.org mailing list
I have setup a package directory structure with all the relevent files in the
src, R, man and data directories.
Also have the correct DESCRIPTION and NAMESPACE files in the root directory.
I don't wisk to recompile the .dll file in the src directory as it currently
works fine if I locate it in
I am using the effects package to construct some probability graphs showing
the predicted probabilities from a logistic regression model.
However, I get an odd error message and don't know what the issue is.
When I attempt to generate the plots, I get the following error:
dat$won_ping =
I am trying to follow the instructions in section 8.2.2 of Writing R
extensions, to learn how to call R from C. In this manual and at other
sites I see continual references to examples in the tests/Embedding
directory of the sources.
There is no directory named Embedding anywhere in my 2.13.1
Hi Henrik,
i included the mode='wb' but gives me this error.
What is the other method to download the excel file?.
With kind regards
veepsirtt
library(XLConnect)
url = http://www.nseindia.com/content/fo/fii_stats_12-Oct-2012.xls;
local.xls.file = tempfile()
download.file(url,
Currently download methods internal, wget, curl and lynx are
available.
If wget is not possible under windows,how to use 'curl'?.
thanks
veepsirtt
--
View this message in context:
http://r.789695.n4.nabble.com/Download-a-file-from-url-tp4642985p4646296.html
Sent from the R help mailing list
Yes.
Your looking at R_HOME (the installation directory), not the
directory of the sources.
On Tue, Oct 16, 2012 at 10:08 AM, BayesForever
andrew.mor...@verizon.net wrote:
I am trying to follow the instructions in section 8.2.2 of Writing R
extensions, to learn how to call R from C. In this
Thanks,
The code gives the numbers in days, how can I adjust the code to directly
get the numbers in hours?
I tried units but it did not work.
Thanks1
--
View this message in context:
http://r.789695.n4.nabble.com/time-extraction-and-normalization-tp4646275p4646298.html
Sent from the R
There are multiple ways. For lack of your example, I would suggest multiplying
by 24.
Please post the previous context of the thread if you must post from Nabble.
---
Jeff NewmillerThe .
Anything you put in the folder 'inst' of a package gets copied, as is,
to the installed package once 'everything else' is done (see section
1.1.3 of Writing R Extensions - which you read for caveats). Hence
you can create
inst/libs/arch/libs/package_name.dll
where:
- arch is either 'x64' or
I'm trying to get significance of coefficients as for lm() but I news help.
Inviato da iPad
[[alternative HTML version deleted]]
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting
toDaySecond - function(date.string, format.string='%d%b%Y:%T', tz='') {
d - as.POSIXct(d, format=format.string, tz=tz)
sum(mapply(function(f, l) as.numeric(format(d, format=f)) * l,
c('%H', '%M', '%S'), c(3600, 60, 1)))
}
toDaySecond('04MAY2011:08:19:00')
Will calculate the second of the
94 matches
Mail list logo