similar to: read.table error with R 2.2.0

Displaying 20 results from an estimated 6000 matches similar to: "read.table error with R 2.2.0"

2005 Sep 09
3
how to do something like " subset(mat, ("col1">4 & "col2">4)) "
Dear all, I have a problem with the "subset()" function. I spent all day yesterday with a collegue to solve it and we did not find a satisfying solution (even in the archived mails), so I ask for your help. Let's say (for a simple example) a matrix mat: R> mat cola colb colc [1,] 1 4 7 [2,] 2 5 8 [3,] 3 6 9 My goal is to select the lines of the matrix on the basis of the
2005 Oct 28
1
multiple graphs in the same ps file ? -- with ref.
Sorry I put there the ref. : I am using R Version 2.0.1 on a Debian. Florence. ---------- Forwarded message ---------- From: Florence Combes <fcombes@gmail.com> Date: Oct 28, 2005 2:48 PM Subject: multiple graphs in the same ps file ? To: r-help@stat.math.ethz.ch Dear all, I would like to be able to store multiple graphs in one ps or pdf file, but I cannot achieve this only if I don't
2005 Oct 12
2
subsetting with by() or other function??
I think I must be missing something obvious, but I'm having trouble getting a data transformation to work on groupings of data within a data frame (csss3) as defined by 2 factors (population, locid). The data are sorted by year within locid within population and I want to lag another variable (dbc), i.e, shift them down by 1 row replacing the first row with NA, within groups defined by
2004 Oct 19
2
pb with aws package
Dear all, [I work with a Windows XP Prof. installation, and the 2.0.0 R version] I need to use the aws package, but I have the following error message: > require(aws) Loading required package: aws Error in firstlib(which.lib.loc, package) : couldn't find function "lazyLoad" [1] FALSE I download the .zip file (for Windows) today on the CRAN site, so I think I have
2005 Nov 17
2
dev.copy legend problem
Dear all, We are facing this problem for long, and so ask for your help. We are plotting 2 graphs in a postscript device (left part -layout function-), and the common legend for these graphs on the right part. The legend in the postscript device looks ok: this is color lines with numbers on the right (6 columns) , see the code below: > nblock<-c(1:48) > leg<-paste(c(1:npin),"
2005 Oct 28
1
multiple graphs in the same ps file ?
Dear all, I would like to be able to store multiple graphs in one ps or pdf file, but I cannot achieve this only if I don't shut the "postscript" device between the graphs. here is what I managed to do : > postscript(file="test_graph.eps", onefile=TRUE) > plot(1:10) > plot(1:20) > > dev.off()
2005 Sep 15
1
how to do sthg like "mat[!=(ind),]"
Hi I want to do something which seems straightforward, but I couldn't find the way to do this. I have a matrix called m for example, and a vector of values (let's call ind this vector) which are indices of lines I don't want to keep. for example I have: > m v1 v2 v3 [1,] 1 4 7 [2,] 2 5 8 [3,] 3 6 9 [4,] 10 11 12 > ind [1] 2 4 I would like to obtain this: > m2 v1 v2
2014 Apr 21
1
read.table() code fails outside of the utils package
One of the great things about R is how readable and re-usable much of its own implementation is. If an R function doesn't do quite what you want but is close, it is usually very easy to read its code and start adapting that as the base for a modified version. In the 2.x versions of R, that was the case with read.table(). It was easy to experiment with its source code, as it all worked just
2005 May 19
1
R from Perl -- RSPerl and lines function.
Dear R-helpers, I am running well Perl and R on my Debian Linux, and I tried RSPerl. Installation is ok and all simple functions run well. But I have a problem to call the "lines" function. I would like to draw an histogram with the density curve on. Is is OK in R with the command: >x<-rnorm(1000) >hist(x,prob=T) >lines(density(x)) for example. Now, I have a Perl script
2005 Oct 06
2
factor : how does it work ?
Dear all, I try for long to understand exactly what is the factor type and especially how it works, but it seems too difficult for me.... I read paragraphs about it, and I understand quite well what it is (I think) but I still can't figure how to deal with. Especially these 2 mysteries (for me) : 1st when I make a dataframe (with the as.data.frame() or the data.frame() commands) from
2003 Nov 05
1
read.table leaves out data when reading multiple-line records (PR#4955)
Dear all, I discovered that read.table (RW1.8.0) leaves out data when reading multiple-line records. Replication code at the end Best regards Jens Oehlschlägel > filename <- "c:/tmp/c2.csv" > > data <- data.frame(a=c("c", "e\nnewline"), b=c("d", '"quoted simpleline"')) > > #look at the data >
2015 Nov 18
2
Cannot chown file to active directory user/group on member server
On Wed, Nov 18, 2015 at 6:00 AM, Rowland Penny <rowlandpenny241155 at gmail.com > wrote: > On 18/11/15 10:27, Jeff Dickens wrote: > >> >> >> On Nov 18, 2015 4:35 AM, "Rowland Penny" <rowlandpenny241155 at gmail.com >> <mailto:rowlandpenny241155 at gmail.com>> wrote: >> > >> > On 17/11/15 23:09, Jeff Dickens wrote:
2015 Nov 17
3
wbinfo -i -> failed to call wbcGetpwnam: WBC_ERR_DOMAIN_NOT_FOUND
Created a new thread because I screwed up and top-posted. So I am still stuck. For reference here is the smb.conf on the member server: root at florence:~# more /etc/samba/smb.conf [global] netbios name = FLORENCE security = ADS workgroup = IOL realm = IOL.SEAMANPAPER.COM <http://iol.seamanpaper.com/> log file = /var/log/samba/%m.log log level
2015 Nov 17
1
using chown on server with Domain username
Just replied to another thread with the same problem... This is on a member server, not the DC. No the second chgrp command with the escaped space doesn't work. Getent returns big numbers for the uids and gids.... too big, I think. root at florence:/home# getent passwd Administrator administrator:*:4294967295:4294967295::/home/IOL/administrator:/bin/false root at florence:/home# getent
2015 Nov 17
5
Cannot chown file to active directory user/group on member server
So I am still stuck. For reference here is the smb.conf on the member server: root at florence:~# more /etc/samba/smb.conf [global] netbios name = FLORENCE security = ADS workgroup = IOL realm = IOL.SEAMANPAPER.COM log file = /var/log/samba/%m.log log level = 1 dedicated keytab file = /etc/krb5.keytab kerberos method = secrets and keytab
2015 Nov 17
2
using chown on server with Domain username
Hi. I'm following this document: https://wiki.samba.org/index.php/Setup_Samba_as_an_AD_Domain_Member - setting up my second Samba server in a test environment. We're planning a medium to large-scale deployment (six sites, 8 domain controllers, 8 NAS boxes, 120 workstations). I've already set up an AD Controller and successfully joined a Windows workstation to it. I got down to
2010 Jan 12
4
Beginer data.frame
Hello, I use R 2.10, and I am new in R (I used to use SAS and lately Stata), I am using XP. I have a data which has a data.frame format called x.df (read from a csv file). I want to take from this data observations for which the variable "Code" starts with an "R". I took all the Code and put them into a vector vec<-grep("R[A-Z][A-Z]",x.df$Code,value=TRUE) Then I
2005 Oct 20
3
problème d'import de fichier
hello! je veux importer un fichier de donnees excel que j'ai au prealable converti en fichier txt avec separateurs tab, fichier de la forme entree simple (suite de colonnes contenant des variables). Voila ma ligne de commande : > poussins <- read.table("poussins.txt", header=T, sep="\t") et sa reponse Erreur dans scan(file = file, what = what, sep = sep, quote =
2015 Nov 17
3
Cannot chown file to active directory user/group on member server
On Sat, Nov 7, 2015 at 11:19 AM, Rowland Penny <rowlandpenny241155 at gmail.com > wrote: > On 07/11/15 16:02, Krutskikh Ivan wrote: > >> Hi, >> >> I need to change ownership of server files to user/group defined in active >> directory ( using rfc2307 and unix attributes). Chown returns no error, >> but >> 'ls -lia' shows that file ownership
2005 Dec 01
1
maImage() and layout()
Dear all, Trying to produce 4 maImage plots (marray package) on the same device (2 on the top and 2 on the bottom) with the layout() function or the split.screen() function, we are facing the following problem: it seems that maImage() does nt care about any of these 2 functions, and plots only one image at a time. Maybe this is inherent to this maImage() function, but we did not find anything