Displaying 20 results from an estimated 20000 matches similar to: "Simplest question ever..."
2007 Aug 28
2
Efficient way to parse string and construct data.frame
Hi all,
I have this list of strings
[1] "1 ,2 ,3" "4 ,5 ,6"
Is there an efficient way to convert it to data.frame:
V1 V2 V3
1 1 2 3
2 4 5 6
Like I can use strsplit to get to a list of split strings.. and then use say
a = strsplit(mylist, ",")
data.frame(V1 = lapply(a, function(x){x[1]}), V2 = lapply(a,
function(x){x[2]}),.....)
but i'm
2007 Jun 28
2
restructuring matrix
Hi all,
let's say I have matrix
People Desc Value
Mary Height 50
Mary Weight 100
Fanny Height 60
Fanny Height 200
Is there a quick way to form the following matrix?
People Height Weight
Mary 50 100
Fanny 60 200
(Assuming I don't know the length of people/desc and let's say these are
characters matrix.. I tried
2014 Dec 19
3
Is there have simplest way to make domain users which in remote desktop group can remote/local logon the workstation ?
Is there have simplest way to make domain users which in remote
desktop group can remote/local logon the workstation ?
Thanks.
2006 Jun 21
4
Simplest way to demonstrate a RoR app
Hi,
I have built a simple RoR application and would like to show it to some
friends.
I would like to assign a dyndns URI like "myapp.dyndns.org" address to
point to the application.
As the WEBrick/Mongrel servers are running in "localhost (so loopback
connections)" and I couldn''t bind them to the external server name or
couldn''t bind them to my IP
2007 Aug 31
2
plotting
Hi, let's say I have data
x = c(1, 2, 10, 12)
y = c(100, -20, 50, 25)
if I go plot(x, y), then the default x-axis range goes from 1 to 12. Is
there a way to change it so that the axis looks like:
----|-----|-----|-----|----
1 2 10 12
This doesn't seem reasonable but let's say I want to plot intraday graph
with axis.POSIXct, my data is only from 8:30 to 4 every
2011 Apr 14
1
Rcpp segmentation faults on the simplest code
Hi all,
I'm new to R and Rcpp, and I'm trying to learn Rcpp with the simplest code
possible. My goal is to be able to call R functions from C++.
The code I'm trying to run is:
#include
#include
#include
#include
int main(int argc, char* argv[])
{
Rcpp::NumericVector v(1);
return 0;
}
It compiles and links fine. However, as soon as I run it, it segfaults. The
following is
2008 Feb 11
11
Simplest OS possible?
What is the simplest OS I can install in Xen, preferably Linux based, and
don''t tell me MS-DOS :). I have installed a minimal version of Fedora, but I
want something that is even less cluttered.
I have looked at Minix, but it is not fully supported. I need something
small, lightweight (doesn''t have to be multi-threaded or anything), that
will run small C and Assembler programs
2017 Jun 30
3
Simplest way of executing a non-blocking (async) python AGI script?
I use a python AGI which pulls some info from a web service, which should
take half a second.
Sometimes, it takes 5-10 seconds which blocks the dialplan execution, but
the dialplan should continue immediately as it's not dependent on the
AGI/web service data.
What's the simplest, easiest quickest least-code way of firing off an AGI
with some variable, and then returning to the dialplan?
2011 Jun 08
1
The simplest bar graph with ggplot is difficult to realize
Dear all,
What is the simplest way of producing a bar graph using ggplot but
avoiding calling qplot?
That is, given:
d <- data.frame(x=seq(1,5), y=seq(1,5))
Why does the following line return an error?
ggplot(d, aes(x=x, y=y)) + stat_identity() + geom_bar(bindwidth=1)
Thanks in advance,
jcb!
2014 Dec 20
2
Is there have simplest way to make domain users which in remote desktop group can remote/local logon the workstation ?
samba 4.1.13, server role is active directory domain controller.
On Sat, Dec 20, 2014 at 6:23 AM, Tim <rintimtim at gmx.net> wrote:
> What version and server mode are you talking about?
>
> Am 19. Dezember 2014 16:53:57 MEZ, schrieb Dongsheng Song
> <dongsheng.song at gmail.com>:
>>
>> Is there have simplest way to make domain users which in remote
>>
2011 Sep 29
1
simplest pgfSweave example results in error
Hello,
since 3 days now I try to get pgfSweave running using Eclipse + StatET.
I created a super simple .Rnw file which can be viewed here:
http://www.text-upload.com/read.php?id=147992&c=6441045 test.Rnw
When I use sweave it works perfectly fine but when I use pgfSweave I get an
error.
The R output can be viewed here:
http://www.text-upload.com/read.php?id=147995&c=3804886 R output
2010 Jan 20
1
Need simplest method for providing alternate mail location
I am looking to migrate my DC V1.2 from mbox to maildir format....and
want to do this in stages, user group by user group rather than in one
horrendous fell swoop....since I'd rather fell things didn't happen.
Since I'm running sendmail/procmail, I can change the ~/.procmailrc to
change the writing of the INBOX, but the IMAP mail location access info
is knottier when one wants to
2002 Mar 13
1
Simplest script to backup many Linux servers
Okay, I've been lurking on this list for several weeks and have finally
gotten rsync to work well when transferring files from one box to
another. It is really great for passing lots of files from one machine
to another, i.e. ripped MP3 to my home Linux machine, as one example.
Now I am ready to take the next big step.
I have a large 1.5 terabyte server from Raidzone that I have NFS mounted
2008 May 29
2
creating library
Hi,
I'm able to create a library with R CMD INSTALL cmd, etc... I'm just
wondering.. is it possible that when the user says library(boo), it runs
some initialization code?
I have a dumb R file that is:
print(2)
boo <- function(x){}
when I R CMD INSTALL the library, I'm able to see 2 in my unix console..
but when I do
library(boo)
in R afterwards.. I don't see
2006 May 15
1
what's wrong with my "gls"? it does not allocate memory... even for the simplest AR1 model...
> myfit1 <- gls(col1 ~ col2+col3+col4+col5+col6-1, data=data2, corr=corAR1(
0.3202), method='ML')
Error: cannot allocate vector of size 199712 Kb
if I get rid of the "corr=corAR1(0.3202)" option, it works okay...
can anybody help me?
thanks a lot!
[[alternative HTML version deleted]]
2017 Jun 30
2
Simplest way of executing a non-blocking (async) python AGI script?
OK, I give up and come grovelling, "Fork" was suggested at 18:23, it's
now 22:20 and I have been through 4 different methods, all block with
a 2 second delay before returning to dialplan.
Here are just some of the examples I have tried, as as per the
suggestions, I am closing all possible outputs in the forked process.
https://docs.python.org/3.5/library/multiprocessing.html
2012 Aug 27
2
simplest way (set of functions) to parse a file
Hello,
What would be the best set of R functions to parse and transform a file?
My file looks as shown below. I would like to plot this data and I need to parse it into a single data frame that sorts of "transposes the data" with the following structure:
> df <- data.frame(n=c(1,1,2,2),iter=c(1,2,1,2),step=as.factor(c('Step 1', 'Step2', 'Step 1',
2012 Sep 20
0
Simplest way to create pv guest with xl w/o qemu
Hello !
What is the simplest way to create a PV guest using Xen 4.x that runs without a qemu process on DOM0 ? I am specifically
interested in the block device aspect of this.
Thanx,
Matthias
_______________________________________________
Xen-users mailing list
Xen-users@lists.xen.org
http://lists.xen.org/xen-users
2010 Jun 14
1
how to setup a simplest travel-mode read-only IMAP
Hi All,
I don't use gmail/hotmail etc...
I have been a Mozilla/SeaMonkey/Thunderbird user for ever now...
The mail and folders are all on my private fileserver.
But on certain tours, I do know in advance that I would like IMAP access
to my mail folders.
Nothing but the simplest read-only access to the years of accumulated email.
(All that email was soft-mounted onto /mnt/mail for safety and
2007 Aug 21
1
simplest boot to set hardware clock
Well I found a significant source of my problems with these decTOPs.
Hardware clock is back at Jan 2006. And many things fail.....
And there is no way to access the bios from a boot sequence.
On the one I discovered this, I watched everything get errors during all
the reboots a Trixbox install goes through.
Once I was allowed to log in, I ended using
date
to set the system date and