Displaying 20 results from an estimated 700 matches similar to: "Split data frame by date (POSIXlt)"
2011 Jun 15
2
Escape sequence in eval ()
Hello,
I am wondering how to get the quotation marks into a variable expression. I
can't escape it with the backslash \ ...
Example:
I can access my data frame via
TABLE$"2011-01-02"$columnD
Now I want to do this automatically.. (with a for loop)..
a <- TABLE
b <- " \"2011-01-02\" "
c <- "columnD"
acessmytable <-
2008 Mar 10
3
internet proxy settings (win)
I cannot access internet through R.
My IT-guys told me that I should set the proxy and the port and then
everything will be fine. Where can I set them?
I use R 2.6.2 under Windows 2000 and these settings are those of the
Internet Explorer (no password).
I read http://cran.at.r-project.org/bin/windows/base/rw-FAQ.html#The-Internet-download-functions-fail_002e
but staring R by
"C:\Program
2011 Sep 03
7
scp fails after sending command: scp -v -t
I encounter a strange problem with scp / sftp:
I travel quite a bit. Normally I never have had any problems using
ssh / scp / sftp to connect from my laptop to my computer at home /
in the office. Currently (for the next 6 months, too long to ignore it)
I'll stay in a place where scp / sftp seem to fail, while as usual I
have no problems to establish an interactive ssh connection to these
2005 Nov 03
0
problems with pan(): Indizierung ausserhalb der Grenzen = subscript out of bounds
Dear alltogether,
I tried pan() to impute NAs for longitudinal data.
The terminology in the following output follows the pan manpage. No data
are attached to this script as this may be too huge.
y = 15 responses
pred = at first just intercept was tried (later on covariates should follow)
subj = 168 different subjects with 4 to 6 observations for each subject
at time points t1, t2, ..., t6
#
2011 May 24
2
Problem with visualization of power of t test
Dear R-User,
I'm trying to visualize the results of the power calculation with the function power.t.test(). Therefore I want to plot the related t-distributions and shade the surfaces indicatingt the type I error, the type II error and the power. For sample sizes greater 30 I got results which are very satisfying. For small sample sizes I got stuck and did'nt find a mistake.
To show you
2011 Mar 03
4
Can not delete files via Samba in some cases
Hi List,
my problem is the following:
I use Samba 3.5 with AD password authentification and uid/gid information in local files. Everything seems to work so far, when i create files via samba the created files have correct user/group information on linux filesystem level (so i think id mapping works basicly).
The only thing that does not work is deleting files which
- belong to other users from
2010 Jun 26
0
dynamic panelmodel pgmm
Hi,
I want to estimate a dynamic paneldata model with the following code, but unfortenately I received the error message below.
form<-PB~Activity+Solvency+Cap_Int
2004 Jun 11
3
Einlesen von Daten unter R
Sehr geehrte Damen und Herren,
An der Fachhochschule Winterthur wurde f??r mich im Rahmen einer
Diplomarbeit (Prof. Ruckstuhl) ein R-Programm zur Auswertung von
IR-Spektren (line-shape-Analyse zur quantitativen Analyse von
Gasmischungen) entwickelt. Die Daten werden einer Excel-Tabelle
entnommen. Bisher werden die spektroskopischen Daten ??ber den Inhalt von
64 Kan??len ??ber die
2008 Mar 27
2
strptime and plot(),lines()
Hello,
Im reading Data out of a Database.
#v+
rs <- dbGetQuery(con,"SELECT * ... )
attach(rs)
#v-
There ist a colum I convert into "Time".
#v+
> zeit<-strptime(datum,format="%Y-%m-%d %H:%M:%S");
> class(zeit)
[1] "POSIXt" "POSIXlt"
#v-
1.
A plot(zeit,money) plots the Data.
All i see on the x-achis are the Days.
I would like to see the
2011 Aug 02
1
msdfs and %u
I tryed to use msdfs, but it doesn't work.
Is it my fault, or is it a bug?
log.snmd:
smbd/msdfs.c:295(create_conn_struct)
create_conn_struct: Can't ChDir to new conn path /mypath/host/%u. Error was No such file or directory
Part of smb.conf:
[global]
...
host msdfs = yes
...
[eb]
path = /mypath/data/eb
force group =smb
valid users = @gruppeeb
write list = @gruppeeb
browseable = no
2012 Oct 31
1
overriding shutdown for LXC
Moin Im using lxc at libvirt for LXC-applicationcontainer.
Works quite nice for now, beside shutting down the container,
which is not implemented. Hooks don't help here, as far as I found out.
Is there a way to override/define the shutdown function?
Regards
Erkan
--
?ber den grenzen mu? die freiheit wohl wolkenlos sein
2007 Oct 18
3
Writing a R-Script
Ist there a possibility to write a R-Script using something like
#!/usr/bin/R
and then alle the requestet commands?
Of course "R CMD BATCH" exists, but there was (for me) no
possibility to write something like a HERE-script.
regards
erkan
--
?ber den grenzen mu? die freiheit wohl wolkenlos sein
2009 Jun 17
3
[GERMAN - ENGLISH] Wine can not started the Game (Dragonica)
Hallo Leute :)
Ich bin sehr neu in der Linux Branche und sto?e zu anfang direkt an meine grenzen.
Wine startet alle meine Windows Programme einwandfrei.. ausser das spiel was ich in meiner freizeit spiele wenn ich mal nicht rausgehe und mal langeweile habe.
Das spielt nennt sich Dragonica.
Ich benutze Ubuntu 9.
Der Patcher startet erfolgroch. nachdem ich das spiel starte.. ?ffnet sich dieses
2011 May 08
2
Rearranging variables in table in non-alphabetical (manually specified) order
Dear all,
I'm trying to rearrange variables in a table in a custum order for using it with levelplot. So far I could only find examples showing how to sort alphabetically. Here is a short example:?
a <- c("Anna","Anna","Michael","Klaus","Klaus","Anna","Fritz")?
b <-
2011 Jul 27
2
fitting sine wave
Dear R-helpers
?
I have 7 data points that I want to fit a continuous curve to, that should look similar to a sine wave
My data points would mark the local minima and maxima respectively.
This is what I?ve got so far. And I would keep doing so, but sadly nls() then says that it has reached the maximum number of Iterations?
?
2006 Nov 13
1
Fetching Intraday data from Bloomberg
Hi Everyone.
I am downloading intraday Bloomberg data from R.
The code I give is:
library(zoo)
library(chron)
library(RBloomberg)
conn<-blpConnect(show.days="trading",na.action="previous.days",periodici
ty="daily")
dat<-blpGetData(conn, "VG1 Index", c("LAST_PRICE"),
start=as.chron(as.Date("2006-9-01",
2007 Nov 01
4
rsyncing files that might change
Hi, I hope I have not been google-incompetant, but I have been unable to
find
an explicit answer a case I am concerned about.
If am rsyncing a file and I have the the following sequence of events happen
in
the same second
1. rsync starts
2. rsync sends some chunk of data to the other end
3 a local process modifies the chunk that has just been sent
I have seen statements that rsync does
2011 Jul 19
1
Plotting intraday data in quantmod
Hello, I'm new to R and am having trouble plotting intraday data on a chart.
I haven't had any success with using ideas from some other posts or other
content.
My data is in csv format, here's the first few rows:
TimeStamp..UTC. Open High Low Close
1 2011-06-15 13:30:00:0000 127175 127500 126925 127425
2 2011-06-15 14:00:00:0000 127400 127575 127225 127225
3 2011-06-15
2011 Jul 26
1
intraday plot and gaps in data
Hi,
I have an intraday timeseries of financial data (see below) which has gaps
due to market opening and closing hours. I am trying to plot it, but the
time gap is always visible in the plot. I tried converting data to xts, zoo,
timeSeries and plotting it with different functions i.e. plot.xts, plot.zoo.
The only way to make it work was with function 'chartSeries' in the quantmod
package
2010 Dec 03
1
intraday zoo
I'm trying to read intraday zoo but running into issues (again) ...
what am I missing here? (the date doesn't seem to read in correctly)
> head(dat)
TrdDate TrdTime impliedVol
1 20090102 09:55:03 0.3610715
2 20090102 09:55:04 0.3637943
3 20090102 09:55:05 0.3752375
4 20090102 09:55:05 0.4190025
5 20090102 09:55:06 0.3696080
6 20090102 09:55:06 0.4944981
> f <-