Displaying 20 results from an estimated 10000 matches similar to: "Multiple line commands in R scripting"
2010 Jun 30
2
plain text in Chinese can not be set
Hi there,
According to ?par, 'font' is an integer which specifies which font to
use for text, that 1 corresponds to plain text (the default), 2 to bold
face, 3 to italic and 4 to bold italic.
When I test Chinese character in pdf(), I found that 1 to bold face, 2
to italic, 3 to bold italic, 4 to symbol. and I don't find how to set
plain text. In the following code, the font to use
2011 Nov 21
5
R ignores number only with a nine under 10000
Hello R users,
I'm trying to replace numerical values in a datamatrix with strings. R does
this except for numbers under 10000 starting with a 9 (eg 98, 970, 9504
etc). This is really weird and I wondered whether someone had encountered
such a problem or knows the solution. I'm using the next script:
test_1 <- read.table("5+ref_151111clusters3.csv", header = TRUE, sep =
2007 Nov 06
1
User keywords limit to 26
Hi,
I'm planning to use dovecot 1.0.5 for a webmail using a lot of user-
defined tags.
Recently, I just saw the limit of 26 of them when messages are stored
in maildir format.
This is an important issue for me, since I didn't find how to remove a
flag from the dovecot-keywords database.
Is there any plan to get rid of the keywords limit ?
Or perhaps the new dbox storage format can
2007 Mar 01
3
Ajax.PeriodicalUpdater using Effect.Highlight to highlight newly loaded div
Hi folks. So far I have managed to get dataloading into a div froma
php script. This script just passes the time on the server in a div to
the javascript below. I am trying to get the last loaded data to call
Effect.Highlight but it seems to highlight the 2nd last data instead.
Can anyone see what''s going wrong here? I''ve tried everywhere to solve
this.
Check the code in action
2010 Oct 19
2
separate elements of a character vector
Dear colleagues, this seems like an easy problem, and I found some suggestions which I've incorporated in the help list, but I can't quite get it right.
I want to add a series of years to a second x-axis category label. I generate them with test and test_2 below, format them with some spacing (which is the suggestion I took from the R-list) and concatenate them and then write them with
2007 Nov 06
1
UTF-8 in dovecot-sieve ?
Hi,
Reading http://tools.ietf.org/html/rfc3028#section-2.7.2 I thought
that out-of-the-box dovecot can filter messages by matching header in
UTF-8.
But when I tested it, it failed :
(I'm using 1.0.5 with sieve plugin)
Here is my .dovecot.sieve file :
----------
require ["fileinto", "imapflags"];
if allof(header :contains "subject" "filtre") {
2011 Nov 21
1
quota.h
Hi
configure samba4 with --with-sys-quotas and check bin/config.log see this
message:
------------------------------------------
Checking for header sys/fs/vx/quota.h
==>
#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include
2014 Jun 21
1
broken samba-4.1.8 waf configure
21 jun 2014
the version numbers changed (samba-4.1.8), but the problem
remains exactly the same: waf configure continues to break at
krb5.
frank smith
31 may 2014
greetings,
in the (relatively distant) past, i several times downloaded,
built, and ran the then-current version of samba with little to no
problem. i recently experienced similar successful results with
samba-3.6.23.
i
2007 Dec 10
5
Neat conditional assignment
I would like to make a new vector with values taken from two existing
vectors conditional upon a third. At present I am doing this with a for loop
but wonder if there is not a neater way, given some of the very neat things
R can do.
a<-rep(c("A","B"),50)
b<-rep(1,100)
c<-rep(2,100)
a is thus "A" "B" "A" "B" "A"
2009 Sep 11
1
call Fortran from R
Dear R users,
I have to call fortran program from within R (R 2.8.1 on ubuntu 8.10
machine).
Suppose I have a fortran code like this (this is only a toy model, my
working model is far more complex, but input/output is similar)
DOUBLE PRECISION FUNCTION model(times, alfa, beta)
DOUBLE PRECISION alfa, beta, times
model=beta*sin(times)+alfa*cos(times)
END FUNCTION
which
2009 Jan 30
2
reshape with two time variables
I have a data frame in wide format that I'd like to convert to long format.
For example, in wide format I have:
id A1B1 A1B2 A2B1 A2B2
1 1 400 475 420 510
2 2 390 500 470 472
3 3 428 512 555 610
4 4 703 787 801 822
5 5 611 634 721 705
6 6 543 522 612 788
7 7 411 488 506 623
8 8 654 644 711 795
A is one repeated-measures variable with levels 1 and 2. B is a second
repeated-measures variable
2006 Apr 16
11
RJS templates not found
I am running Rails 1.10 and wanted to check out the RJS templates.
Rails doesn''t seem to find them.
I did issue the rake comment update_javascripts and that did not correct
the problem. RJS is part of 1.1 right?
Any ideas?
Thanks.
--
Posted via http://www.ruby-forum.com/.
2007 Jun 05
1
multiple plot in odfWeave
Hello R users,
I found the odfWeave package to create an odf document. It seems to be a
very nice tool.
So i tried to used it to create a report with multiple plot:
I create an odt file with some code inside:
I connect to a mysql database
I get a list of projects
foreach project I would like to make a plot (a map exactly)
then in a R console I use the odfweave (inFile, outFile) function.
2016 Jul 02
3
Need help Compiling Samba
Hi,
I was recently using Samba 3.6.0 on AIX 6100-09-06-1543, but that has a
security vulnerability.
Therefore, I tried to compile Samba v4.4.4 on AIX 6100-09-06-1543. I am
using Python 2.7.11.
After running ./configure I get the following error.
/usr/local/samba-4.4.4/wscript:106: error: the configuration failed (see
'/usr/local/samba-4.4.4/bin/config.log')
I can send you more
2016 Mar 15
0
Building smbclient 4.3.3 issues with lttng-ust
We are building smbclient 4.3.3 for Intel, which was working fine. We got a toolchain update, which added the lttng-ust libraries(previously missing in our toolchain), but not lttng/tracef.h and now we get an error in the config.log:
Checking for lttng-ust
pkg-config --errors-to-stdout --print-errors --cflags --libs lttng-ust
Package lttng-ust was not found in the pkg-config search path.
Perhaps
2004 Mar 19
2
Beginners question
Dear list,
I've been messing around with coding functions in R and it just won't make
sense to me.
Running my analysis by hand on command line is fine and works but because
of the repetitive nature of the job I would like to code a function for it.
My problem:
I would like to read in data from a file in my current working dir.
so my code would look like:
myanalysis <-
2010 May 11
3
Pairwise combination
Hi there,
I am looking for a function that takes a vector as input and generates
all pair wise combination of the elements of the input vector.
For example, the input vector is c(1,2,3,4). The output vector is c(1
and 2, 1 and 3, 1 and 4, 2 and 3, 2 and 4, 3 and 4). The
representation here is generic.
I can use a for loop to do it, but it gets slow when the number of
elements of the input
2014 May 31
0
broken samba-4.1.7 waf configure
31 may 2014
greetings,
in the (relatively distant) past, i several times downloaded,
built, and ran the then-current version of samba with little to no
problem. i recently experienced similar successful results with
samba-3.6.23.
i downloaded and tried to configure samba-4.1.7, which you (samba)
advertise as the current "stable" version. i expected no problems.
unfortunately, i
2012 Sep 02
1
Cross Compile Samba4
Hi,
I try to port samba4beta8 to Optware which includes cross compiling it
for various platforms. I already created makefiles for optware for samba
versions 3.4 and 3.6. Creating a working makefile for samba4 I try to
use the new build environment but it puzzles me. I don't get over part
where the python version is being checked. From my findings it looks
like the linker dislikes the
2003 Sep 04
0
security issues wint smbmount
Dear sirs/madams,
I am using smbmount (mount -t smbfs) version 2.2.8a for mounting shares
from a Windows 2003 server on a Linux machine.
This works fine, but there seems to be a security problem; ordinary
users can write to files, even when the Unix protection does not allow this.
The user cannot remove the file or create a new one, but can do what
he/she wants with an existing one.
Is this a