search for: folllowing

Displaying 20 results from an estimated 67 matches for "folllowing".

Did you mean: following
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&qu...
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,no...
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: /usr/loc...
2002 Aug 30
4
Intercept in model formulae.
...ng 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 estimating one intercept and two slopes. I've tried including -1 in the formula, folllowing the lm(y ~ x -1) syntax to omit the intercept from lm(y ~x) but the linear model still returns an estimate of the intercept of the first segment. I can't work out what the syntax for the formula should be. Is it possible in one step or do I have to fit the two lines as two models? Any sug...
2004 Mar 08
2
a question on CSV file
...5 0 7:30 am 63 4 0 8:00 am 24 3 1 8:30 am 45 9 0 9:00 am I did the folllowing: x <- read.table("heart.csv",sep=",") names(x) <- c("heartrate","ex","Med","Time") x.newtime <- strptime(x$Time, format= "%H:%M %p") What I am tring to do is: First I am trying to get all the data from when there wa...
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 res...
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
...s the code of my sample-area TERRCODE is the code for landscape characteristic for example: 640 ... sun exposed, ..... ANMCODE ist the value of the TERRCODE: for example 0 means "occuring", 1 means "often occuring", ...... Now my question: is it possible to get a table with the folllowing structure: BID (TERRCODE)4 .... (TERRCODE)21 ...... 200310413290002 (ANMCODE)0 .... (ANMCODE)0 ....... 200310413290003 0 .... 0 ...... 200310413290004 0 .... 0 ...... 200310413290005 0 .... 21 ...... 200310413290006 0 ..... 25 ...... . . in this example (TERRCODE) and (ANMCODE) is only for expl...
2013 Feb 15
2
[LLVMdev] build a machine instruction by itself
...t; I'm pretty sure you can do this but we have not done this in the Mips port so far. We just use instruction builder. >> >> Anyone know how to do this best, or can point me to some code where this is done? > Did you look at BuildMI? For example, what I did already was create the folllowing: void BuildAddiuSpImm(MachineBasicBlock &MBB, MachineBasicBlock::iterator II, DebugLoc DL, int64_t Imm) const; this will insert one of two Addiu SP, Immediate instruction forms at the point of the iterator, based on the value of the...
2009 Mar 30
1
what is R equivalent of Fortran DOUBLE PRECISION ?
...E PRECISION... am I right ? Since R cannot undestand numerical conatant post-fixed by the letter "D", I wonder how I can instruct R interpreter to store such a numerical constant reserving as muh memory as necessary so as to accommodate a double precision number. I noticed R accepts the folllowing syntax but I do not know if i have achieved my goal thsi way: > c14 <- as.double( 7.785205408500864E-02) > typeof(c4) [1] "double" My questions are: what is the best precision I can get with R when dealing with real number ? Is R "double" type equvalent to Fortran...
2010 Jul 14
2
Error while connecting to Oracle using RODBC package
...equested (see SQLSetEnvAttr). 3: In odbcDriverConnect("DSN=Vikrant") : ODBC connection failed I also tried by using another command library(RODBC) connection = odbcDriverConnect("driver=ORACLE Server;server=01hw0038336";DSN=vikrant;UID=system;PWD=password) Then I am getting folllowing error. 1: In odbcDriverConnect("driver=ORACLE Server;server=01hw088089") : [RODBC] ERROR: state IM002, code 0, message [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified 2: In odbcDriverConnect("driver=ORACLE Server;server=01hw088089")...
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
...69 A2 8 G1 51 G2 1 G3 68 G4 1 M 17 A1, A2... is different levels of the variable called concentration. Folllowing are their values. I uesd the R code below: colors <- c("orange","red","purple","pink","blue","yellow","green") lbls <- round(value/sum(value)*100,1) lbls <- paste(lbls,"%",sep="") postscript(file=&quo...
2012 Mar 18
2
Samba4: error in schema?
...ctClass: posixGroup and then we can add gidNumber: xxx just fine. This however throws up another error in that mygroup is now not a security group but a posix group and the ability to view and manipulate group members is not available in Active Directory Computers and Users (ADCU). We made the folllowing observations: 1. The members tabs are missing from mygroup properties in ADCU 2. you can still use samba-tool group addmembers to manipulate the groups 3. you can still select and change primary group for a user in ADCU 4. you can add users to the group under phpldapadmin but the users who are al...
2013 Jun 26
2
Re: snapshot-create-as for a single disk not all disks
try snapshot-create-as like below: virsh snapshot-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> >
2013 Feb 16
0
[LLVMdev] build a machine instruction by itself
...we have not done this in the Mips >>> port so far. We just use instruction builder. >>> >>> Anyone know how to do this best, or can point me to some code where >>> this is done? >> Did you look at BuildMI? > For example, what I did already was create the folllowing: > > void BuildAddiuSpImm(MachineBasicBlock &MBB, > MachineBasicBlock::iterator II, DebugLoc DL, > int64_t Imm) const; > > this will insert one of two Addiu SP, Immediate instruction forms at the > point of the iter...
2006 May 16
3
wondering how to do some clever DRYing up
...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 repeating functions to deal with adding, sorting & deleting different types of record. For instance I have the folllowing basic sorting controller method for a sortable_element: def form_sort_performers i = 1 params[:performers].each { |id| Performer.update(id, :position => i) i = i+1 } render :nothing => true end but, I have about 6 things that all need the same basic...