Displaying 20 results from an estimated 1000 matches similar to: "combine the data frames into comma separated list."
2011 Jun 14
1
[Resolved] combine the data frames into comma separated list.
Hi
Thanks Gabor for your suggestion. I am posting the code that worked for me.
dataframe1 = data.frame(cbind(Src = c(1,1,1,2,3), Target1 =
c('aaa','bbb','ccc','aaa','ddd'))); #must be data frame
dataframe2 = data.frame(cbind(Src = c(2,3,4,4,4), Target2 =
c('aaaa','dddd','bbbb','eeee','ffff')));
dataframe3 =
2020 Oct 29
2
dovecot quota-warning detection mail
OK. "passdb/userdb" Setting part
$ dovecot -n (Excerpt from change)
----------------------------------------------------------------------------
---------------------
passdb {
args = scheme=CRYPT username_format=%u /etc/dovecot/users.auth
driver = passwd-file
}
userdb {
args = username_format=%u /etc/dovecot/users.auth
driver = passwd-file
}
protocol lmtp {
info_log_path =
2011 Aug 19
3
installing packages systemwide
I installed some downloaded packages in R. I always do
$sudo R CMD INSTALL <anRpackage.tar.gz>
By default it is storing these packages into my directory
/home/mary/R/x86_64-pc-linux-gnu-library/2.13/.
However I want them to be systemwide into /usr/local/lib/R/site-library/
folder.
I tried
$sudo R
R> install.packages("anRpackage", dep=TRUE)
I did not succeed into getting
2011 Aug 19
3
installing packages systemwide
I installed some downloaded packages in R. I always do
$sudo R CMD INSTALL <anRpackage.tar.gz>
By default it is storing these packages into my directory
/home/mary/R/x86_64-pc-linux-gnu-library/2.13/.
However I want them to be systemwide into /usr/local/lib/R/site-library/
folder.
I tried
$sudo R
R> install.packages("anRpackage", dep=TRUE)
I did not succeed into getting
2011 Nov 16
1
read.table : fill missing entry with "unAvailable" [edit]
Hi R users,
I try to read a data file (tab delimited format) in which some of the
entries in a particular field are missing. Is it possible to fill the
unavailable data with 'UnAvailable' string while performing read.table()
Something like
df = read.table(DataFile, header=FALSE, fill_missing_entry = 'unAvailable')
1
thanks
--
-------------
Mary Kindall
Yorktown Heights,
2012 Jul 22
4
pvalue calculate
I have a value
a=300
observation (x) = sample(1:50)
How to find a p-value from this. I need to show that "a" is different fom
mean(x).
Thanks
--
-------------
Mary Kindall
Yorktown Heights, NY
USA
[[alternative HTML version deleted]]
2008 Jul 23
28
[PATCH] ioemu-remote: ACPI S3 state wake up
ioemu-remote: The device model needs to write in the ACPI tables when it
wakes up from S3 state.
Signed-off-by: Jean Guyader <jean.guyader@eu.citrix.com>
--
Jean Guyader
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
2017 Oct 21
1
Skip error in downloading file in loop
I am trying to download data from NASA web-service.
I am using the following code;
for( i in 1:8) {
target1 <- paste0("
https://hydro1.gesdisc.eosdis.nasa.gov/daac-bin/access/timeseries.cgi?variable=NLDAS:NLDAS_FORA0125_H.002:TMP2m&location=GEOM:POINT(
",
cities[i, "lon_nldas"],
",%20",
2012 Jan 06
6
cbind alternate
I have two one dimensional list of elements and want to perform cbind and
then write into a file. The number of entries are more than a million in
both lists. R is taking a lot of time performing this operation.
Is there any alternate way to perform cbind?
x = table1[1:1000000,1]
y = table2[1:1000000,5]
z = cbind(x,y) //hanging the machine
write.table(z,'out.txt)
--
-------------
2011 Dec 21
1
aggregate function
Hi
I have a data frame with values in following format.
param case1
1 a
2 b
2 c
2 d
3 e
4 f
how to use aggregate so that it I only one row for each 'param' value.
the output for the above input should be
param case1
1 a
2 b,c,d
3 e
4 f
Thanks
M
--
-------------
Mary
2012 Jan 06
1
(Edited) cbind alternate for data frames
>
> I have two dataframes and want to perform cbind and then write into a
> file. The number of entries are more than a million in both frames. R is
> taking a lot of time performing this operation.
>
> Is there any alternate way to perform cbind?
>
> x = table1[1:1000000,1:4]
> y = table2[1:1000000,3:6]
>
> z = cbind(x,y) //hanging the machine
>
>
2012 Jan 08
1
mode of frequency distribution table
In a frequency distribution table (bell shaped), how can we find the most
frequent range?
for example:
x = c(1,2, 4,4,4,4, 5,5,5,6,6,5,5,5,5,5,6,6,6,13, 17,17,30,100,300)
barplot(table(x))
In the code above, which function do we use to find that the most
frequent value range from 4 to 6.
Thanks.
--
-------------
Mary Kindall
Yorktown Heights, NY
USA
[[alternative HTML version deleted]]
2011 Nov 08
2
download.file
I am downloading say 100 files from ucsc website and storing it into dest
folder.
download.file function create a file in destination folder even if the file
is not present which is something I dont want.
So I wrote if condition to remove the file if the download function has non
zero value.
Now it exits when there is an error or file not present. How can I use
"try" and "if"
2020 Oct 29
2
dovecot quota-warning detection mail
Gedalya-san
Thank you for the information.
It seems to be difficult...
morikawa
-----Original Message-----
From: dovecot [mailto:dovecot-bounces at dovecot.org] On Behalf Of Gedalya
Sent: Thursday, October 29, 2020 1:17 PM
To: dovecot at dovecot.org
Subject: Re: dovecot quota-warning detection mail
Aha. Then it's not a straightforward case of just adding the domain name to
the same
2007 Jul 22
11
Many same managed domain
Hi,
When I tested xm new command without uuid parameter repeatedly,
I saw many same managed domain as follows.
# xm list
Name ID Mem VCPUs State Time(s)
Domain-0 0 941 2 r----- 51.9
# xm new /xen/vm1.conf
Using config file "/xen/vm1.conf".
# xm new /xen/vm1.conf
Using config file
2017 Oct 15
2
Download data from NASA for multiple locations - RCurl
Dear all,
i am trying to download time-series climatic data from GES DISC (NASA)
Hydrology Data Rods web-service. Unfortunately, no wget method is
available.
Five parameters are needed for data retrieval: variable, location,
startDate, endDate, and type. For example:
###
2007 Feb 04
1
Error : Doing a node status request to the domain master browser at IP aaaa.bbbb.cccc.dddd failed
I've the following error : Doing a node status request to the domain
master browser at IP aaaa.bbbb.cccc.dddd failed
First time I configure my smb.conf file on a server with the adress
aaaa.bbbb.cccc.dddd
For some raison I have to change this address for another.
When I restart samba I the message :
nmbd/nmbd_browsesync.c:get_domain_master_name_node_status_fail(486)
2015 May 21
2
IPv6 subnet routing
I've been trying out IPv6 networking with tinc and noticed that it will not
route smaller segments than /48
If I try to run ip -6 route add aaaa:bbbb:cccc:dddd::/64 dev tun0 I get
network unreachable
However if I run ip -6 route add aaaa:bbbb:cccc::/48 dev tun0 it works fine
Is this is a limitation in tinc or the kernel network stack itself?
-------------- next part --------------
An HTML
2017 Oct 15
0
Download data from NASA for multiple locations - RCurl
> On Oct 15, 2017, at 2:02 PM, Miluji Sb <milujisb at gmail.com> wrote:
>
> Dear all,
>
> i am trying to download time-series climatic data from GES DISC (NASA)
> Hydrology Data Rods web-service. Unfortunately, no wget method is
> available.
>
> Five parameters are needed for data retrieval: variable, location,
> startDate, endDate, and type. For example:
2010 Dec 30
2
remove newlines / perl /concise example
Thanks for the previous tips and suggestions. Here's a more concise
example:
Input file:
<aaaa>
<bbbb>
<cccc>
<dddd>
I want everything on one line, i.e., remove all newlines. Like so:
<aaaa><bbbb><cccc><dddd>
Simple perl code:
#!/usr/bin/env perl
# Remove newlines from a file in two ways:
# (1) Just "chomp" them;
# (2) Replace