Displaying 20 results from an estimated 4000 matches similar to: "as.Date function error"
2010 Nov 22
4
How to call R from C
Hi all!
I read R Extensions manual.
But still I am not sure how to call R functions from C.
Would any of you give me a sample C code to show how to call R functions - for instance, time series functions - from C in the embedded way of C code?
[[alternative HTML version deleted]]
2011 Jul 21
1
How to convert 3-digits hours
Hi, all
Here is what I try to do.
> strptime('20110101 0900',"%Y%m%d %H%M")
[1] "2011-01-01 09:00:00"
> strptime('20110101 900',"%Y%m%d %H%M")
[1] NA
If I have a 3-digit hour like '900', please show me how to convert it to 9:00:00.
Thank you in advance.
Wonjae
[[alternative HTML version deleted]]
2012 Oct 10
2
Strange email i'm getting whenever i post to the list
From: ?????? <NAVER-MAILER at naver.com>
Subject: [???? ??] envy721c at naver.cobSDsnLzroZwg66mU7J287J20IOyghOyGoeuQmOyngCDrqrvtlojsig==teuLiOuLpC4=
The only plain english in the message is that the mail was denied by the receiver
Anyone else getting this?
2006 Jul 15
7
[Bug 493] NAT still work after flush it.
https://bugzilla.netfilter.org/bugzilla/show_bug.cgi?id=493
netfilter@linuxace.com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |netfilter@linuxace.com
Status|NEW |RESOLVED
Resolution|
2013 Jan 28
6
Thank you your help.
Hi,
temp3<- read.table(text="
ID CTIME WEIGHT
HM001 1223 24.0
HM001 1224 25.2
HM001 1225 23.1
HM001 1226 NA
HM001 1227 32.1
HM001 1228 32.4
HM001 1229 1323.2
HM001 1230 27.4
HM001 1231 22.4236 #changed here to test the previous solution
",sep="",header=TRUE,stringsAsFactors=FALSE)
?tempnew<- na.omit(temp3)
?grep("\\d{4}",temp3$WEIGHT)
#[1] 7 9 #not correct
2012 Dec 19
4
How to convert xts data into list
Hello,
How can I convert Close colume of the below xts time series data into a list of Close values ?
I'd like to plot Close values as a list.
> head(zc)
Close
(10/15/12 09:00:00) 252.40
(10/15/12 09:01:00) 253.10
(10/15/12 09:02:00) 253.15
(10/15/12 09:03:00) 253.30
(10/15/12 09:04:00) 253.25
(10/15/12 09:05:00) 253.45
I tried the below command to plot it.
2012 Oct 15
1
trouble with extracting Date string from my data.
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 ...
....
----------------------------------------------------------------------------
-----------
When I read
2011 Jan 13
9
[RVM,Ubuntu]ruby installed from rvm doesn't work
I''ve installed ruby1.9.2 from rvm
but ruby doesn''t work on my ubuntu
there is a picture showing my situation.
plase give me a help
http://postfiles4.naver.net/20110114_51/sukury47_1294944222409RbBlv_JPEG/rvm_break.JPG?type=w3
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to
2011 May 01
0
Conversion to xlsx file
Hi, all
I would like to convert xls files to xlsx files with R commands in R console
instead of saving xls files as xlsx files after opening xls files.
Please show me how.
Thanks.
Wonjae
--
View this message in context: http://r.789695.n4.nabble.com/Conversion-to-xlsx-file-tp3487118p3487118.html
Sent from the R help mailing list archive at Nabble.com.
2011 Jul 06
1
trouble parsing a date using strptime()
Hi,
I am having a trouble parsing dates using strptime() that I get in the
format of year and week number. The data looks like this "201127" which
means year 2011 and week 27. I would like to graph this using ggplot but
then I get a gap between 201054 and 201101 so I thought I would just easily
convert it.
I tried to use strptime and as.Date and the format string of %Y%W but it
seems
2011 Dec 05
1
installing several versions of R (2.14 and 2.12.2) on the same system on Ubuntu
Dear R users,
besides the current R 2.14 I would like to install a second version of R (2.12.2) on my Ubuntu system. The current version is easily installed as a precompiled package from Cran but I am heavily fighting with the older version. I tried to follow the instructions here:
http://cran.r-project.org/doc/manuals/R-admin.html
Unfortunately I got totally confused by all the different
2011 Mar 24
3
R CMD build creates tar file instead of tar.gz file
Dear all,
I'm trying to create my own package by following for instance http://epub.ub.uni-muenchen.de/6175/2/tr036.pdf In step 6 (page 19) it says that the command 'R CMD build <mypackage>' should result in a tar.gz file. However, after running the command I end up with a tar file only (no gz extension). I also get the following warnings in the command prompt
C:\Program
2011 Mar 18
1
help regarding RPostgreSQL and R 2.12.2
Hi R-team,
While using R 2.12.2, I came across a problem that it doesn't have RPostgreSQL package in the list of "install packages".
As my original code was written in R 2.11.1, I could use the RPostgreSQL package.
I am moving to R 2.12.2 to use the newly added package "xtable" in newer version R 2.12.2.
Please help me to solve this problem and tell me if the RPostgreSQL
2012 Nov 25
1
I'd like to know more efficient method to verify the pre-packaged codes
Hello,
I want to add some new functionalities in the package 'quantmod '.
So I download source code and am managed to build it.
I found that modifying code and check if it works by repeating the following steps:
1) r CMD check quantmod
2) r CMD build quantmod
3) r CMD INSTALL quantmod_0.3-17.tar.gz
4) launch R gui
5) library('quantmod')
6) run my script
Let me know if there
2008 Mar 06
1
histogram like x labels in barplot
Hi, all
I drew a barplot with
> barplot(data1, beside=TRUE)
and then, I want to labels with hist() like x-axis ticks.
How can I do this?
Thanks in advance,
Hyunchul
2013 Jan 31
1
I want to download "garchOxFit" function.
Dear R help.
Hello.
I want to fit the model of "FIGARCH" on TimeSeries data.
So I need to use the code of "garchOxFit".
I don't know how to estimate FIGARCH model.
Please let me know which package I need and
what is procedure of estimating FIGARCH by R.
I think I need this code!
> garchOxFit(formula.mean = arma(0, 0), formula.var = garch(1,1), series
=
How to count from larger value to smaller value in ecdf (Empirical Cumulative Distribution Function)
2008 Feb 19
1
How to count from larger value to smaller value in ecdf (Empirical Cumulative Distribution Function)
Hi, all
ecdf function (Empirical Cumulative Distribution Function) in "stats"
package counts from smaller values to larger values.
However, I want to draw it by counting from larger value to smaller values
and I couldn't find options for this purpose.
How can I draw ecdf or ecdf like graph by counting from larger values to
smaller values.
Thank you in advance.
Hyunchul Kim
2017 Jul 07
1
GluserFS WORM hardlink
GlusterFS WORM hard links will not be created
OS is CentOS7
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gluster.org/pipermail/gluster-users/attachments/20170707/aaea8dfc/attachment.html>
2017 Jul 10
1
GlusterFS WORM mode can't create hard link pliz ㅠ
hard linksA read-only file system does not produce a hard link in GlusterFS WORM mode. Is it impossible?
OS is CentOS7
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gluster.org/pipermail/gluster-users/attachments/20170710/837d3179/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: error.png
2012 Dec 27
1
Regarding multiple axes in plots..
Hello,
I'd like to draw 2 plots in one graph.
Here is my code:
plot(data_min1$macd,main="1 min MACD",type="l")
lines(data_min1$macdsig,col="red")
par(new=T)
plot(data_min1$macdhist,type="h",main="")
axis(4)
par(new=F)
It seems it works.
But left axes of two graphs are over-drawn.
Could you let me know how to fix it ?