Displaying 20 results from an estimated 400 matches similar to: "save a data frame in environment"
2010 May 26
2
writing function : can't find an object
Dear group,
Here is my function:
#return the daily PL for day y
PLDaily<-function(x,y)
{
#find elements in my directory with "LSCPos" in the name, keep the numeric
part in the name and
#create a list
l<-gsub("\\D","",dir()[grep("LSCPos",dir())])
#select in the list the desired elements
2010 Apr 29
3
convert Factor as numeric
Dear group,
I know this issue has been already covered, and before you reply I must say
I have read the R-FAQ and search the mailing list archive.
I still can't manage to change my factor to numeric as I couldn't find any
clear answer.
Here is my df :
Pose1 <-
structure(list(DESCRIPTION = structure(c(1L, 2L, 3L, 4L, 5L,
8L), .Label = c(" SUGAR NO.11 May/10 ", "COTTON
2010 Jun 01
1
data frame manipulation ddply
Dear group,
Here is my data frame:
futures <-
structure(list(DESCRIPTION = c("CORN Jul/10", "CORN Jul/10",
"CORN Jul/10", "CORN Jul/10", "CORN Jul/10", "LIVE CATTLE Aug/10",
"LIVE CATTLE Aug/10", "SUGAR NO.11 Jul/10", "SUGAR NO.11 Jul/10",
"SUGAR NO.11 Jul/10", "SUGAR NO.11
2010 Jun 01
1
data frame manipulation with zero rows
Dear group,
Here is the kind of data.frame I obtain every day with my function :
futures <-
structure(list(DESCRIPTION = c("CORN Jul/10", "CORN Jul/10",
"CORN Jul/10", "CORN Jul/10", "CORN Jul/10", "LIVE CATTLE Aug/10",
"LIVE CATTLE Aug/10", "SUGAR NO.11 Jul/10", "SUGAR NO.11 Jul/10",
"SUGAR
2012 Aug 01
4
as.date: do not know how to convert 'test[1]' to class "Date"
I have an object, which I pull in from a csv file here
http://r.789695.n4.nabble.com/file/n4638691/jan_2011.csv jan_2011.csv
mydata <- read.csv("jan_2011.csv", header=TRUE, sep=",")
> head(mydata)
Delivery.Date Hour.Ending Repeated.Hour.Flag Settlement.Point
Settlement.Point.Price
1 01/01/2011 01:00 N HB_BUSAVG
2003 Apr 16
1
rsync-2.5.6 on AIX 4.3.3
Hi all,
After a few days of looking into why rsync-2.5.6 would not work when using
the "::" syntax on AIX 4.3.3, I discovered it is only the case when the
system is not patched. I patched my system to maintenance level 10 and it
works fine.
AIX 4.3.3.0 - not working
# uname -a
AIX host1 3 4 00070F3F4C00
# instfix -i | grep ML
<stuff deleted>
All filesets for 4.3.3.0_AIX_ML
2010 Aug 04
3
merge two data frames
Dear list,
here are my two data frames:
av <-
structure(list(DESCRIPTION = c("COFFEE C Sep/10", "COPPER Sep/10",
"CORN Dec/10", "CRUDE OIL miNY Sep/10", "GOLD Aug/10", "HENRY HUB
NATURAL GAS Sep/10",
"PALLADIUM Sep/10", "SILVER Sep/10", "SOYBEANS Nov/10", "SPCL HIGH
GRADE ZINC USD",
"SUGAR
2010 May 12
1
data frame subscription
Dear group,
Here is my df :
pose16 <-
structure(list(DESCRIPTION = structure(c(1L, 2L, 3L, 4L, 5L,
6L, 7L, 8L, 9L, 12L), .Label = c("COPPER May/10", "COTTON NO.2 Jul/10",
"CRUDE OIL miNY May/10", "GOLD Jun/10", "ROBUSTA COFFEE (10) Jul/10",
"SOYBEANS Jul/10", "SUGAR NO.11 Jul/10", "SUGAR NO.11 May/10",
2013 Jul 12
4
simplify a dataframe
Hello
I have the following problem : group the lines of a dataframe when no
information change (Matricule, Nom, Sexe, DateNaissance, Contrat, Pays)
and when the value of Debut of lines i = value Fin of lines i-1
I can obtain it with a do loop. Is it possible to avoid the loop ?
The dataframe initial is df1
dput(df1)
structure(list(Matricule = c(1L, 1L, 1L, 6L, 6L, 6L, 6L, 6L,
6L, 8L, 8L, 8L,
2013 Jun 15
1
Downloading CSV file - RCurl help
There are some CSV file from the link below.
I'm having trouble installing the package. Is this the package I have to use
or is there another one I need to use? If so how do I get this one loaded.
https://www.enmax.com/Power/Energy+Retailers/Settlement+Reports/Profile+settlement+report.htm
install.packages("RCurl", repos =
2010 Apr 30
1
read.csv and blank character in object name of my data.frame
Dear group,
Here is my data frame:
position100415 <-
structure(list(DESCRIPTION = structure(1:9, .Label = c(" SUGAR NO.11 Jul/10
",
" SUGAR NO.11 May/10 ", "CORN May/10 ", "COTTON NO.2 Jul/10 ",
"CRUDE OIL miNY May/10 ", "ROBUSTA COFFEE (10) Jul/10 ", "SILVER May/10 ",
"SOYBEANS Jul/10 ", "WHEAT May/10
2015 Jul 03
1
MHTL + legal <- dual-booting <- Re: installing Cents os server 7.0
On 07/03/2015 02:51 AM, Kahlil Hodgson wrote:
> Wow. So many _passionate_ words. Still have no idea what Chris is really
> going on about.
Yeah, it's one of those threads with "more heat than light."
I believe that Chris wants (among many other things) is a CentOS which
will automatically resize an existing Windows or OSX partition when
setting up a dual-boot machine. I
2003 Jul 04
5
Asterisk Sacrifice?
Hi
is there any ritual sacrifice a newbie has to perform to be welcome on
this list?
I am new to this whole PBX thing in general and Asterisk in particular.
I had hoped that the community on this list would welcome a newbie like
myself and help me with some answers to my stupid questions, but somehow
it seems to me that nobody likes to respond to somebody who appears to
be a complete
2004 May 04
5
Microsoft hotfix MS04-011, breaks Samba password change.
Hi all,
I wanted to give an update on this as I know this MS Hotfix
is critical and must be applied to protect against the (latest) Microsoft
worm.
I think I've found the problem in the code, and am currently testing
a fix for this (not in the release to others to test stage yet). As
soon as I'm reasonably confident I'll put a patch out there for others
to test, and we'll
2015 Jul 11
1
User Input
All,
I have a package BondLab, all variables are passed to the models via Cusip objects. ?
The only variables input by the user are?
settlement date,?
price or yield or spread. ?
Further price may be passed as 100.125, 100-8 (1/8), or 100-2 (2/64) or 100-2+ (5/128).?
Once passed these variables must have a steady state (in decimal). ?After reading the R documentation and Hadley's book I
2001 Nov 07
1
COURT solicited comments!: Was: Analysis of the Microsoft Settlement from a Samba perspective.
Jeremy:
Just wanted to pass this snippet I saw from
slashdot
http://slashdot.org/article.pl?sid=01/11/07/053230
which says:
Public Comment Period In MS/DOJ Battle
Posted by timothy on Wednesday November 07, @07:03AM
from the tap-your-mind dept.
PacketMaster writes: "Somthing that I didn't know,
and perhaps many others didn't
2001 Nov 05
0
Analysis of the Microsoft Settlement from a Samba perspective.
The Samba Team would welcome Microsoft documenting its proprietary server
protocols. Unfortunately this isn't what the settlement stipulates. The settlement
states :
"E. Starting nine months after the submission of this proposed Final Judgment to
the Court, Microsoft shall make available for use by third parties, for the sole
purpose of interoperating with a Windows Operating System
2012 Jun 01
0
Inconsistent search results and crash on force-resync
Hi,
I am seeing inconsistencies in search results (finding 2 emails when only 1
exists, finding the email when it has been moved to another folder, etc).
I figured I should run force-resync to fix any issues. I ran the following:
doveadm -v force-resync -u <user> <mailbox> and I got some worrysome logs.
- I should mention that I have been seeing some crashes of fts-lucene in
my
2007 Jul 05
1
Simple CDRs w/Asterisk/OpenSER.
Suggestions on how to use Asterisk to collect CDRs from a OpenSER-based
proxy / call routing setup? I need to get simple CDRs; not for detailed
settlement/rating, but just for reconciliation with an ultimate TDM
carrier just to make sure we only get billed for what we're actually
using.
I'd use the often-heralded approach of dumping a call from OpenSER into
Asterisk and having it
2003 Apr 10
0
compile fixed, ssh-basic.test not working
Thanks for the help Jim.
I have found the testsuite stuff, and this in turn pointed me at
build.samba.org, which in turn told me that the build farm is using cc
instead of gcc.
I was able to get the compile finished with cc and make (rather than gcc
and gmake).
One thing to note: I could only get the ssh-basic.test to work by adding a
kludge and commenting out the "ThisShouldGo Line."