search for: character

Displaying 20 results from an estimated 24198 matches for "character".

2013 May 11
1
blazer_ser problem on windows NUT 2.6.5-3780M
...vmin -1 0.414024 ReadTotalTimeoutConstant -2, ReadIntervalTimeout -1, ReadTotalTimeoutMultiplier -1 0.521030 Trying megatec protocol... 0.625036 send: 'Q1' 0.627036 w32_serial_read : ulen 512, vmin_ -1, vtime_ 0, hEvent 00000054 0.642037 w32_serial_read : characters are available on input buffer 0.647037 w32_serial_read : Reading 1 characters 0.651038 w32_serial_read : total characters read = 1 0.654038 w32_serial_read : Reading 2 characters 0.658038 w32_serial_read : total characters read = 3 0.661038 w32_serial_read : Read...
2010 Jul 21
1
asterisk realtime SIP configuration
...ot;sip" :* Column | Type | Modifiers ----------------+------------------------+-------------------------------------------------- id | integer | not null default nextval('sip_id_seq'::regclass) name | character varying(80) | not null accountcode | character varying(20) | amaflags | character varying(7) | callgroup | character varying(10) | callerid | character varying(80) | directmedia | character varying(3) | default 'yes'::character varying context | c...
2015 Jun 19
2
Sobre data.table
Mª Luz, si el comando de Carlos te devuelve 0 es que no hay NA's. Da igual que tus columnas sean caracteres o número. Lo que intuyo es que tienes celdas con la frase "NA" que interpretas como NA. Mandanos el summary de tu data.table y lo vemos... ----- Mensaje original ----- De: "MªLuz Morales" <mlzmrls en gmail.com> Para: "Carlos J. Gil Bellosta"
2012 Feb 20
3
Confused: Inconsistent result?
...s.matrix(lapply(ls(),class)))) > dim(xyz)<-c(length(xyz)/2,2) > > allobj<-function(){ + xyz<-as.vector(c(ls(),as.matrix(lapply(ls(),class)))); + dim(xyz)<-c(length(xyz)/2,2); + return(xyz) + } > xyz       [,1]              [,2]        [1,] "a"               "character"  [2,] "aa"              "character"  [3,] "abc"             "character"  [4,] "AirPassengers"   "character"  [5,] "allobj"          "character"  [6,] "allObjects"      "character"  [7,] "a...
2007 Feb 07
2
Problems Generating Scaffolding
...scaffolding generates with no problem but for other parts I get this: Before updating scaffolding from new DB schema, try creating a table for your model The tables do exist. At least I can see them from psql. Here is the SQL I''m using to create my tables: CREATE TABLE dept ( name character varying(20) NOT NULL, CONSTRAINT dept_pkey PRIMARY KEY (name) ) WITHOUT OIDS; CREATE TABLE computer_role ( model character varying(15) NOT NULL, os character varying(10) NOT NULL, role integer NOT NULL, CONSTRAINT computer_role_pkey PRIMARY KEY (model, os, role) ) WITHOUT OIDS; CREATE...
2006 Nov 19
3
host allow
Hi, We want to restrict acces to the shares on our samba server using "hosts allow". Can I get this to work with clients who have dynamic IP addresses and don't have revers DNS lookup ? Best regards, Eric Eijkelboom Sr Systems Manager Medtronic B.V. Heerlen, The Netherlands Phone : +31-(0)45-566.8544 Fax : +31-(0)45-566.8008 www.medtronic.com <http://www.medtronic.com/>
2009 Feb 18
2
understanding how R determines numbers and characters when creating a data frame
Hello R Users and Developers, I have a basic question about how R works. Over the past few years I have struggled when I try to generate a new data frame that I believe should contain numeric data in some columns and character data in others only to find everything converted to character data. Is there a general method to create data frames that contain the data in the desired format: numbers as numeric and character as a factor etc? I often have this problem and in the worst case I have to export the file and read it...
2008 Dec 12
7
character count
Dear list, I have a variable that consists of typed responses. I wish to compute a variable equal to the number of characters in the original variable. For example: > x <- c("convert this to 32 because it has 32 characters", "this one has 22 characters", "12 characters") [Some magic function here] > x [1] 32 22 12 Any ideas?
2005 Jan 13
3
as.character methods
Hello, ?as.character says that the as.character function is a generic with usage: as.character(x, ...). So, I want to create an S4 object with an as.character method following the above usage, but I get the below error telling me that ... isn't in the generic for as.character. > setClass("tmp", "...
2005 Jan 13
3
as.character methods
Hello, ?as.character says that the as.character function is a generic with usage: as.character(x, ...). So, I want to create an S4 object with an as.character method following the above usage, but I get the below error telling me that ... isn't in the generic for as.character. > setClass("tmp", "...
2020 May 01
4
paste(character(0), collapse="", recycle0=FALSE) should be ""
...ve the same length as 'n'. Previously, the result is still as long as the longest argument, with the zero-length argument like "". If all og the arguments have length zero, 'recycle0' doesn't matter. As far as I understand, 'paste' with 'collapse' as a character string is supposed to put together elements of a vector into a single character string. I think 'recycle0' shouldn't change it. In current R devel and R patched, paste(character(0), collapse = "", recycle0 = FALSE) is character(0). I think it should be "", like past...
2012 Jan 19
8
sumarizar
*Hola!!! resulta que tengo unos datos de divisas ordenados por fechas (días) los que he convertido a formato tipo YYYY-MM-DD donde DD siempre es 01:* * * * EUR.resto$date<-as.Date(EUR.resto$date) EUR.resto$mo <- substr(EUR.resto$date,6,7) EUR.resto$yr <- substr(EUR.resto$date, 1,4)
2016 Nov 30
2
Sieve script won't compile. Compiler output isn't helpful.
...ce the one I am currently using but I can't seem to get it to compile. I don't know a lot about sieve or really scripting of any kind and I just can't figure out what I'm doing wrong. The compiler just puts out a bunch of output that doesn't make sense. like "unexpected character" when I know the character works there because I am already running a script with some of the same lines. I'm attaching the script with some names and addresses changed and the sieve output to this email. I would greatly appreciate any help anyone could offer. -------------- next par...
2013 Dec 09
2
How can I find nonstandard or control characters in a large file?
...package. This works for certain subsets of the columns, but not for others. I have not yet been able to precisely identify the problem columns, as there are 731 columns and running colbycol on the file on my old slow machine takes about 6 hours. However, my suspicion is that there are some funky characters, either control characters or characters with some non-standard encoding, somewhere in this 14 gig file. Moreover, I am concerned that these characters may cause me trouble down the road even if I use a different approach to getting columns out of the file. Is there an r utility will search throu...
2007 Nov 15
3
How to deal with character(0)?
I want to identify whether a variable is character(0), but get lost. For example, if I have > dd<-character(0) the following doesn't seem to serve as a good identifier: > dd==character(0) logical(0) So how to detect character(0)? Thanks, Gang
2008 Oct 15
3
Removing characters and periods from character strings
...;Clear", "factor(Hab)3", "factor(Hab)4", "factor(Hab)5","factor(Hab)7", "factor(Log)1", "Hunt", "Pop", "s(PrimRd).1", "s(PrimRd).2", "Unlog", "Xcoord", "Ycoord") vars=as.character(as.vector(strsplit(pick,"1"))) vars=unique(as.character(as.vector(strsplit(vars,"2")))) vars=unique(as.character(as.vector(strsplit(vars,"3")))) vars=unique(as.character(as.vector(strsplit(vars,"4")))) vars=unique(as.character(as.vector(strspl...
2005 Oct 10
0
compile problem on solaris10 x86
...draw.ZNYvlZ.s:37: Error: unknown pseudo-op: `.half' ddraw.ZNYvlZ.s:42: Error: unknown pseudo-op: `.half' ddraw.ZNYvlZ.s:43: Error: unknown pseudo-op: `.half' ddraw.ZNYvlZ.s:76: Error: unrecognized symbol type "" ddraw.ZNYvlZ.s:76: Error: junk at end of line, first unrecognized character is `2' ddraw.ZNYvlZ.s:86: Error: unrecognized symbol type "" ddraw.ZNYvlZ.s:86: Error: junk at end of line, first unrecognized character is `2' ddraw.ZNYvlZ.s:96: Error: unrecognized symbol type "" ddraw.ZNYvlZ.s:96: Error: junk at end of line, first unrecognized charact...
2002 Jul 08
1
addenda to wordperfect
I did find a say to get to the directory holding wpwin9 and it strarted but then froze with the splash screen. Not sure how to get the error message in here; seems to have to do with the keyboard and X11driver; hope I am abusing this bulletin board, but I am hoping someone can help me with the next step. Thanks
2001 Sep 24
1
Printing Central European characters
Dear R-users, I have problems with printing Central European (CE) characters (e.g. {\H o} and {\H u}) in graphics made by R. After executing the following code I can see the CE characters with gv on my screen, but I cannot print them on a postscript printer. > postscript(file="proba.ps",enc="ISOLatin2.enc") > plot(0:15,0:15,type="n")...
2010 Oct 06
3
Empty data frame does not maintain column type
Does anyone know why a data frame created with empty character columns converts them to integer columns? > df<-data.frame(a=character(0),b=character(0)) > df<-rbind(df,c("a","a")) > typeof(df[1,1]) [1] "integer" AsIs doesn't help: > df<-data.frame(a=I(character(0)),b=I(character(0))) > df<-rbind(d...