Displaying 20 results from an estimated 3000 matches similar to: "Replace / with - in date"
2010 Apr 15
4
Does "sink" stand for anything?
Hello Everyone,
Learning about R and its wonderful array of functions. If it's not obvious, I usually try to find out what a function stands for. I think this helps me remember better.
One function that has me stumped is "sink." Can anyone tell me if this stands for something?
Thanks,
Paul
__________________________________________________
[[alternative HTML
2010 Jan 25
4
R Memory Problem
Is anyone could help me to resolve this problem?I'm presently an SAS user for
my application and was exploring R to use it for my application.I have
already posted this question on using my 32 bit machine with 2GB RAM and
from what i understood was to use a 64Bit machine .I tried using 64bit
machine using 4GB RAM .I'm running predictive analytics using R and to
calibrate my model i used to
2012 Feb 09
1
Constraint on one of parameters.
Dear all,
I have a function to optimize for a set of parameters and want to set a
constraint on only one parameter. Here is my function. What I want to do is
estimate the parameters of a bivariate normal distribution where the
correlation has to be between -1 and 1. Would you please advise how to
revise it?
ex=function(s,prob,theta1,theta,xa,xb,xc,xd,t,delta) {
expo1=
2004 Jul 30
1
plot(x,y) core dump
Dear R Development Team,
I compile R-1.9.1 on AIX 5.2 under 2.9-aix51-020209, and xlf 7.1. In
order to let R compile successfully under gcc 2.9, I have to change one
C statement of file(RHOME//src/modules/X11/devX11.c) line 1768 from
"retrun FALSE" to "retrun NULL", following is C code snapshot:
newX11Desc * Rf_allocNewX11DeviceDesc(double ps)
{
newX11Desc *xd;
2008 Jun 11
2
problem with as.Date
Data into R from Excel csv file
xd<-read.csv("court.dates1.txt",as.is=T, header = F)
> str(xd)
'data.frame': 5 obs. of 1 variable:
$ V1: chr "6/6" "5/27" "5/16" "5/2" ...
>xd
V1
1 6/6
2 5/27
3 5/16
4 5/2
5 4/29
cdates <- as.Date(xd, format = " %m/ %d")
Error in as.Date.default(xd, format = " %m/
2006 Aug 02
1
RE
Hi any,
Can some please detail me the createX command in bayesm package?
To make things easy for you to help me, let me put forward my problem
Suppose I have 3 covariates (say X matrix) and my Y has 3 categories say
(1,2,3). Now from the CreateX I understand that the data matrix say 'Xa' must
be of dimension n* (naxp), where 'na' is the number of variables and 'p' is
2010 Apr 29
1
Request - adding recycled "lwd" parameter to polygon
Hello dear members of R-help and R-core mailing list,
I am not sure if this request is a "ticket" that should be filled somewhere
outside the mailing list. If so, I apologize for not doing and would like
to know where I should have filled it.
And to the subject matter:
I would like to use a command like this:
plot(c(1,8), 1:2, type="n")
polygon(1:7, c(2,1,2,NA,2,1,2),
2010 Apr 29
1
Request - adding recycled "lwd" parameter to polygon
Hello dear members of R-help and R-core mailing list,
I am not sure if this request is a "ticket" that should be filled somewhere
outside the mailing list. If so, I apologize for not doing and would like
to know where I should have filled it.
And to the subject matter:
I would like to use a command like this:
plot(c(1,8), 1:2, type="n")
polygon(1:7, c(2,1,2,NA,2,1,2),
2008 Apr 28
2
X11 window title setting in X11() Device (PR#11325)
--=-=-=
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
Hi,
I think I have found a very little bug in the new version of the X11()
device in R 2.7.0, more precisely in the devX11.c file.
The problem is that when you open a new window with X11(), the title
of the window (the WM_NAME property) is not immediately set. It seems
that the window is created, then it
2000 Sep 22
3
eval functions... (PR#668)
Full_Name: Anantha Prasad
Version: 1.1.1
OS: Linux
Submission from: (NULL) (199.131.134.30)
I am trying to convert some S-PLUS code to R (a tcl/tk application that uses
R)...
here is the error I got in R (but not in S-PLUS)...so I am wondering if it is a
bug.
Eg., the foll. extract from a function runs fine in S-PLUS but gives the error:
Error in x[[j]] : subscript out of bounds
in R
code
2010 Jan 29
1
R on Hard drive memory
I heard form my friend there is a way to run R in system hard disk space not
in the RAM .By that we may not run out of memory and have problem attached
with the same.Someone could help me in this.Thanks.
--
View this message in context: http://n4.nabble.com/R-on-Hard-drive-memory-tp1401528p1401528.html
Sent from the R help mailing list archive at Nabble.com.
2001 Feb 15
3
who frees dd and xd in X11_Open?
Hi, I'm not sure this is a bug in the code, the comment or my
thinking. So first try goes to r-devel... I find the following
comment in X11_Open () (src/unix/X11/devX11.c):
/* if we have to bail out with "error", then must free(dd) and free(xd) */
A couple lines down, there is:
if (!strncmp(dsp, "png::", 5)) {
FILE *fp;
#ifndef HAVE_PNG
error("No png support
2008 Mar 16
2
How to loop through all the columns in dataframe
Hi:
Can anyone advice me on how to loop and perform a
calculation through all the columns.
here's my data
xd<-
c(2.2024,2.4216,1.4672,1.4817,1.4957,1.4431,1.5676)
pd<-
c(0.017046,0.018504,0.012157,0.012253,0.012348,0.011997,0.012825)
td<- c(160524,163565,143973,111956,89677,95269,81558)
mydf<-data.frame(xd,pd,td)
trans<-t(mydf)
trans
I have these values that I need to
2009 Aug 09
1
Why is strptime always returning a vector of length 9 ?
Dear List,
I am having an issue with strptime (see below).
I can reproduce it on R-2.8, R-2.9, and R-2.10-dev, I tempted to see
either a bug or my misunderstanding (and then I just don't currently see
where).
# setup:
x <- c("March 09, 2007", "May 31, 2007", "November 12, 2008", "November
12, 2008", "July 30, 2009", "July 30,
2003 Jun 10
1
Regression output labels
Hello to all-
1. When I run a regression which implements the augmented Dickey-Fuller
test, I am confused about the names given to the regressors in the output.
I understand what "xGE" stands for in a standard "lm" test involving an
independent variable GE for instance, but if I lags and or differences are
included in the model, what do the following "output" stand
2016 Apr 07
2
Xen4CentOS 6 64bit - domUs don't shutdown on dom0 after "yum upgrade" to 4.6.1
Hello all,
I'm addressing the mailing list following the suggestion of gwd on
#centos-virt @freenode IRC.
The subject says most of it. Here are the details :
- Was running 4.4.x and configured such that /etc/xen/auto domUs would be
saved/restored on dom0 shutdown/bootup.
- Installation was based on "centos-release-xen" such that "yum upgrade"
brough Xen to 4.6.1.
After
2002 Feb 07
1
Plotting on log scale using plot.date()
Hi, I'm trying to use the date library and I think I'm getting an
incorrect warning when I make a plot with plot.date(). For example:
> library(date)
> x <- as.date(1:100)
> y <- 1:100
> plot(x, y, log = "y")
Warning message:
parameter "log" couldn't be set in high-level plot() function
The problem appears to be in the last line of plot.date()
2008 Nov 03
1
sort returns a wrong index (PR#13242)
Full_Name: Bert Tijhuis
Version: 2.8.0
OS: MS-Windows
Submission from: (NULL) (217.140.7.52)
> xd
[1] 0.5 -1.0 0.2 NA -3.0 1.0 2.0 NA 2.0
> sort(xd, index=T)$ix
[1] 4 2 3 1 5 6 7
And in my believe it should be
5 2 3 1 6 7 8 4 9
This was function well in R 2.7.2
Good luck,
2016 Feb 05
2
building R Devel --enable-R-shlib
Hello,
It has been a while since my last R Devel build, and now I'm running
into an issue I'm not sure how to isolate. After updating to the latest
SVN sources, and using:
---<--------------------cut here---------------start------------------->---
tools/rsync-recommended
R_PAPERSIZE=letter \
R_BATCHSAVE="--no-save --no-restore" \
R_BROWSER=xdg-open \
LIBnn=lib \
2016 May 22
3
Problemas con For
Hola comunidad XD, necesito ayuda con estola idea es que para cada valor del frame x4 si es cero ponga cerosino que ponga un valor del frame Nsinel cual tiene una estructura como % | n25% | 150% | 275% | 3100% | 4 y x4 tiene una cierta cantidad de valores en 0 (poco menos de la mitad pero varian aleatoriamente) y los demas un valor aleatorio entre 0 y 1Tomando en cuenta que si el