Displaying 20 results from an estimated 67 matches for "folllows".
Did you mean:
follows
2007 Jun 20
4
Got "Unexpected ELSE error"
Dear R-users,
I have a problem with the IF-ELSE syntax.
Please look at the folllowing code and tell me what's wrong:
a <- TRUE
if ( a )
{
cat("TRUE","\n")
}
else
{
cat("FALSE","\n")
}
If I try to execute with R I get:
Error: syntax error, unexpected ELSE in "else"
The strange thing is either "cat"
2012 Feb 14
3
execute array of functions
Hi all,
I'm trying to get the min and max of a sequence of number using a loop
like the folllowing. Can anyone point me to why it doesn't work.
Thanks.
type <- c("min","max")
n <- 1:10
for (a in 1:2) {
print(type[a](n)) }
--
Muhammad
2008 Nov 12
2
odfweave
Dear all,
I am trying to use the function odfWeave. Unfortunately I cannot get
beyond the folllowing error message:
"
Error in odfWeave("Example3.rnw", "Example3.odf") :
Error unzipping odt file
"
Can anybody tell me, how to use this function?
Thanks,
Irina Ursachi.
2008 Mar 10
2
When starting shorewall its display rfc1981 error
Hello ,
The folllowing is the error problem:
Validating interfaces file...
ERROR: The ''norfc1918'' option may not be specified on an interface with an RFC 1918 address. Interface:eth2
The shorewall interface file:
net eth2 detect tcpflags,routefilter,norfc1918,nosmurfs,logmartians
P.S. I tried to remove norfc1918 from interface
2009 Aug 26
2
"Disconnected in APPEND" sometimes when with attachment
Hello!
When I send a message with an attachment bigger than some undefined
size, the folllowing error appears in logs: "Disconnected in APPEND"
How to increase the allowed size or anything?
# dovecot -n
# 1.0.15: /etc/dovecot/dovecot.conf
log_timestamp: %Y-%m-%d %H:%M:%S
protocols: pop3 pop3s imap imaps
ssl_cert_file: /usr/local/etc/ssl/certs/highlink.ru.pem
ssl_key_file:
2002 Aug 30
4
Intercept in model formulae.
Hi,
I'm trying to create a linear model for a dataset that has a breakpoint e.g.
# dummy dataset
x <- 1:20
y <- c(1:10,seq(10.5,15,0.5))
plot(x,y)
I've modelled this using the following formula:
temp <- lm(y ~ x*(x<=10)+x*(x>10))
I want to be able to omit the intercept (i.e. force the line through
zero) from the first of these segments (x<=10) so that I'm only
2004 Mar 08
2
a question on CSV file
I have a csv file,
heartrate excercise medicine Time
12 0 0 4:30 am
23 5 0 5:00 am
34 6 0 5:30 am
56 3 0 6:00 am
24 12
2006 Mar 21
5
Order records based on number of children
Let''s say I have simple schema with two tables. The models are defined
like the folllowing:
class Parent < ActiveRecord::Base
has_many :children
end
class Child < ActiveRecord::Base
belongs_to :parent
end
Simple has_many relationship. Is there any way to order the results of
a Parent.find_all by the number of children the parent has? I can
sort with
sorted_parents =
2008 Jul 10
1
R bug in the update of nlme?
Dear Sirs,
I would like to kindly ask for your assistance on the folllowing issue.
After uploading the most updated the versions of some libraries (namely:
survival and nlme) I became unable to open R. Every time I try to open R
a dialogue box pops up with the following message:
---------------------------
Information
---------------------------
Fatal error: unable to restore saved data in
2012 Apr 12
2
[LLVMdev] HELP: Clang options needed in command to compile device driver into linux module.
On Thu, Apr 12, 2012 at 03:48:29PM +0800, 15102925731 wrote:
> BTW, the Makefile is as folllow,
>
> CC := gcc
> obj-m := hellomodule.o
> KERNELDIR := /lib/modules/`uname -r`/build
> PWD := $(shell pwd)
> modules:
> $(MAKE) -C $(KERNELDIR) M=$(PWD) modules
^^^^^^^^^^^^^^
Check the Makefile under KERNELDIR directory.
Regards,
chenwj
--
Wei-Ren Chen
2005 Feb 08
2
Data manipulation
Content-Type: text/plain; charset="iso-8859-1"
Received-SPF: none (hypatia: domain of hellik at web.de does not designate permitted sender hosts)
X-Virus-Scanned: by amavisd-new at stat.math.ethz.ch
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by hypatia.math.ethz.ch id j186djX0017423
X-Spam-Checker-Version: SpamAssassin 3.0.2 (2004-11-16) on
2013 Feb 15
2
[LLVMdev] build a machine instruction by itself
On 02/15/2013 03:07 PM, Jakob Stoklund Olesen wrote:
> On Feb 15, 2013, at 1:21 PM, Reed Kotler <rkotler at mips.com> wrote:
>
>> I want to have some functions that create machine instructions, not specifying which machine function or basic block or iterator they are part of.
> All machine instructions must be created by a machine function. It provides the context for memory
2009 Mar 30
1
what is R equivalent of Fortran DOUBLE PRECISION ?
I noticed taht R cannot understand certain Fortran real constant formats. For instance:
c14 <- as.double( 7.785205408500864D-02)
Error: unexpected symbol in " c14 <- as.double( 7.785205408500864D"
The above "D" is used in Fortran language to indicate the memory starage mode. That is for instructing Fortran compiler
to store such a REAL constant in DOUBLE
2010 Jul 14
2
Error while connecting to Oracle using RODBC package
Dear All,
I want to connnect R with oracle. I am using RODBC package for this
connection. Following is my code to connect
library(RODBC)
channel <- odbcConnect("Vikrant")
I am getting following error.
1: In odbcDriverConnect("DSN=Vikrant") :
[RODBC] ERROR: state NA000, code 12288, message [Microsoft][ODBC driver
for Oracle][Oracle]ORA-12514: TNS:listener does not
2012 Apr 12
0
[LLVMdev] HELP: Clang options needed in command to compile device driver into linux module.
BTW, the Makefile is as folllow,
CC := gcc
obj-m := hellomodule.o
KERNELDIR := /lib/modules/`uname -r`/build
PWD := $(shell pwd)
modules:
$(MAKE) -C $(KERNELDIR) M=$(PWD) modules
Can I use an option of clang to specify the KERNELDIR ,etc?
Thank you!
--
祝好!
甄凯
------------------------------------------------------------------------------------------------------
2012-04-12
2010 Jan 29
1
How to draw a border for multiple graphs in one page
Hi,
I am struggling to create a 2 by 2 multiple graphs in one page. I used par(mfrow=c(2,2)) to divide the screen into 4. In each screen I draw a pie chart (They are all same).
For example, my data is like this
Concentration value
A1 69
A2 8
G1 51
G2 1
2012 Mar 18
2
Samba4: error in schema?
Hi
There seems to be a discrepancy in the s4 schema concerning security groups.
Domain Users comes with gidNumber: 100. This is however contrary to what
the schema allows. You can show this as follows:
Create a new group. samba-tool group add mygroup.
Use phpldapadmin to add the gidNumber attribute.
There is an error because gidNumber is provided by the posixGroup class
and that objectclass is
2013 Jun 26
2
Re: snapshot-create-as for a single disk not all disks
...napshot-create-as vm --disk-only --diskspec "vda,snapshot=external"
2013/6/25 cmcc.dylan <dx10years@126.com>
>
> Hi, everyone,
> I have found the API snapshotCreateXML() can create a snapshot for a
> virtual machine, and the xml configuration file - snapshot.xml as folllows:
> <domainsnapshot>
> <name>snapshot01</name>
> <description>Snapshot of OS install and updates</description>
> <disks>
> <disk name='vda' snapshot='external'>
> <source file='/data10/snapshot'/&g...
2013 Feb 16
0
[LLVMdev] build a machine instruction by itself
I ended up settling on a scheme which I'm not completely happy with but
it's the best I can see to do.
const MCInstrDesc& AddiuSpImm(int64_t Imm) const;
and then
if (isInt<16>(-Remainder))
BuildMI(MBB, I, DL, AddiuSpImm(-Remainder)).addImm(-Remainder);
So the AddiuSpImm choses which instruction description to use depending
on the immediate value and then
2006 May 16
3
wondering how to do some clever DRYing up
Hi there,
I''m now getting to the point in my rails app where I can use all of the nice basic features like AJAX and engines etc...
but, I want to get my hands a bit dirtier, whilst learning to DRY up my code a bit.
I''m using AJAX quite a bit to dynamically populate/edit/sort has_many relationships in forms, and consequently on a model with many has_many''s I end up