similar to: Pattern Matching help

Displaying 20 results from an estimated 8000 matches similar to: "Pattern Matching help"

2001 Jan 09
3
RODBC Bug?
I'm not sure if this problem is repeatable or particular to my machine. The following works fine - > odbcConnect("demoteam", uid = "demo", pwd = "demo") This causes R to crash - > oracle.info <- list(channel = "demoteam", uid = "demo", pwd = "demo") > demo.db.connect <- function(ora.info = oracle.info) { + channel
2001 Jan 07
1
Selective column loads with scan()
Help! I have a very large data file with about 100 columns. Instead of loading all of the columns using read.table() (my PC won't be able to handle the resulting data frame), I'd like to read in one column of the datafile at a time using scan() in conjunction with the 'what = ' option. I've tried loading just the third column using - > scan(file.name, what = list(NULL,
2000 Nov 14
3
ODBC Connectivity
Does anyone have any experience using R to pull/push data from an ODBC compliant database? I'm working on a small project and am undecided about whether to use just R or use some other software for extracting and transforming. TIA Samir. The information contained in this e-mail transmission is confidential and may be privileged. It is intended only for the addressee(s) stated above. If
2011 Sep 08
2
problems with function read.table
Hello everyone I have a couple of questions about the usage of the R function "read.table(.)". My point of departure is that I want to import a matrix (consisting of time and daily stock returns of many stocks) in R. Most of the data is numeric, however some values are missing (blanks) and in other cases I have the character "#DIV/0!" (from excel). My goal is to do some
2006 Nov 10
2
Outgoing problem on PRI
Dear All, I have an asterisk server version 1.2.12.1 along with trixbox and I am having this nasty problem, I have a TE200P and have an E1 pri attached to it and zttool says it's OK, I have configured the whole 31 channels into one group as follow: Zapata-auto.conf: callerid=asreceived signalling=pri_cpe switchtype=euroisdn context=from-zaptel group=0 channel=>1-15,17-31
2019 Feb 17
2
Cross compile R for ARM target
Hi Johannes, Thank you for your quick feddback. As I am using linux os build with buildroot on my raspberry pi I can't use package manager such as apt-get to install R. What I need to do is to get the precompiled R for arm arch and then when I build my linux image using buildroot I include the R precompiled package to my rootfs. Could you please send me a link where I can download
2001 May 09
1
Coding categorical -> dummy
Dear R-Users, I have a data frame with several categorical variables. I want to create a new data frame with dummy variables (with all levels). I know the function model.matrix (see below) but it works only for one categorical variable : > tt <- c("a","a","b","a","c") > tt <- factor(tt) > model.matrix(~ tt - 1) is there anyone who
2009 Jun 21
3
VMWARE tools on Centos 5.2
Hello, I m using Centos 5.2 in my virtual machine VMWARE i've got the rpm of VMWARE tools, after double clicking on it, it installs successfully. but after this installation i still can not change my displaay r?solution.. (the max is 800 * 600) any help? -- Samir RHAOUSSI ENIM 2009 - G?nie Informatique -------------- next part -------------- An HTML attachment was scrubbed... URL:
2010 Apr 11
1
How to assign variable name (of a vector, matrix, array) from element of another vector or by using paste?
Dear All, My problem is the following > varname <- c("age","sex","edu","mrt") > varstates <- c(10,2,4,3) # 10 age groups, 2 sexes, 4 education group and 3 marital status.. Now, I want four variables (vector with length1) named nrage, nrsex, nredu, nrmrt and assing some values > for (i in 1:4) paste("nr",varname[i],sep="")
2019 Feb 17
2
Cross compile R for ARM target
Dear all, I am currently trying to cross compile R3.5.2 using X86 host and trying to cross compile for ARM target (raspberry pi 3 running on linux system generated by buildroot). The problem I am encountering is that the compilation fails because the current R buildsystem I trying to execute the R binary generated for Arm arch on the host X86 computer. My question is: Is there an R
2011 Oct 28
1
Gap in solution
Hi David, In the general case, there is still a gap in your solution >sum( tbl["1", 2:ncol(tbl)] ). This solution refers to a specific column number (here: column number 2) and not to the actual length of the run, doesn't it? That is, in this simple example the column number 2 actually corresponds to the length "2", but this must not be the case in general. For
2006 Dec 29
3
Problems with dovecot-sieve on Debian Etch using dovecot LDA
I am running debian etch with dovecot 1.0 rc15 from the debian repository with postfix 2.3 I am using virtual users in a postgreSQL database as taken from the dovecot wiki while making use of the password field for authentication I am using deliver as LDA and I am attempting to use the sieve plugin but try as I might I can't seem to get it working. Am I wrong in thinking that a sieve
2006 Mar 16
1
rsync: connection unexpectedly closed.
Dear Mr. Samir, We are using RedHat 7.2. We are getting same error as reported by you some time back (given below). Did you get any solution? Regards C Jagadish Your original message: ====================== I m running RedHat 9 Linux and I have the rsync-2.5.5-4 package. When I m trying to the following: [root at myhost_name root]# /usr/bin/rsync -va 10.0.8.190:usr/local/src
2004 Jun 01
1
read.spss
HI, I tried to read an spss file, i got this message, please help me out. I am a very new user. Please suggest. Samir Error in read.spss("coughfever.sav") : Error reading system-file header. In addition: Warning message: coughfever.sav: File layout code has unexpected value 50331648. Value should be 2, in big-endian or little-endian
2005 Sep 19
2
dynamic object names?
I am trying to extract data from a matrix. Let's say that i am interested in extracting rows from a 4x4 matrix. Instead of giving a fix name to these 4 rows I would like to add a number to prefix. As result I should get 4 objects named: prefix_1 prefix_2 prefix_3 prefix_4 I attepted to solve the problem with a loop, but without success. Any hints?? > matrix(LETTERS[1:16], ncol=4)
2009 Jun 11
5
HELP SAMBA + LDAP
Hello everybody, Please does some one have any "documentation", "tutorial", "how to" about setting up a PDC basing on Samba with a LDAP (OpenLDAP) backend ? I really need it for my studies end project thank you very very much for your help -- Samir RHAOUSSI ENIM 2009 -------------- next part -------------- An HTML attachment was scrubbed... URL:
2009 Jun 11
5
HELP SAMBA + LDAP
Hello everybody, Please does some one have any "documentation", "tutorial", "how to" about setting up a PDC basing on Samba with a LDAP (OpenLDAP) backend ? I really need it for my studies end project thank you very very much for your help -- Samir RHAOUSSI ENIM 2009 -------------- next part -------------- An HTML attachment was scrubbed... URL:
2010 May 19
3
Pattern matching and replacement in matrix
Hello, Is there any function like gsub(), that can match and replace patterns in a matrix or a data frame? Cheers! Dani -- Daniel Valverde Saub? Grup de Biologia Molecular de Llevats Facultat de Veterin?ria de la Universitat Aut?noma de Barcelona Edifici V, Campus UAB 08193 Cerdanyola del Vall?s- SPAIN Tlf. +34 93 581 1910 Fax: +34 93 581 1573
2000 Dec 12
2
Windows <--> UNIX File Conversion
I thought I'd field this question in case someone has already done this, before proceeding with trying to develop a function on my own. I'm generating a number of files and to keep track of them, I'm also outputting the names of these files to external files & datasets. Depending on the platform I'm working on, Windows or Unix, i'd like to be able to switch between UNIX
2008 Jun 19
2
Pattern Matching Replacement
I would like to replace "\r\n" with "" in a character string, where "\r\n" exists only between < and >, how could I do that? Initial: characterString = "<XML><tag1 id=\"F\r\n2\"></t\r\nag1>\r\n<tag\r\n2></tag2></XML>" Result: characterString = "<XML><tag1