similar to: Ports

Displaying 20 results from an estimated 20000 matches similar to: "Ports"

2011 Dec 12
3
For loop indicies
I would like to run a for loop with an index going from 0 to 499 but the following seems to miss out the first value: C <- 499 for (i in 0:C) The alternative is: C <- 500 for (i in 1:C) { #Then every time I use i, I replace it with i-1 } Is this a good way to do it or is tere a better way? Thank you, ThomasThis message and any attachment are intended solely for the addressee and may
2012 Jun 25
1
Replacing text with a carriage return
I have a comma separated data file with no carriage returns and what I'd like to do is 1. read the data as a block text 2. search for the string that starts each record "record_start", and replace this with a carriage return. Replace will do, or just add a carriage return before it. The string is the same for each record, but it is enclosed in double quote marks in the file.
2011 Jul 16
1
Max within groups
I know there's a really easy way to do this but I just can't track it down. I experimented with various apply functions but couldn't get it quite right. I have a matrix like this: 1, 16 1, 23 1, 21 1, 6 1, 25 2, 4 2, 17 2, 45 2, 11 2, 20 and I'd like to find the max value in Column 2 (or the index to the max value) grouped by the first column. So the max for Group 1, the max for
2011 Dec 07
2
arules package intsallation
I'm using R version 2.13.0 (2011-04-13) on Mac OS X and I get the following error message with library(arules): Loading required package: Matrix Loading required package: lattice Attaching package: 'Matrix' The following object(s) are masked from 'package:base': det Error in dyn.load(file, DLLpath = DLLpath, ...) : unable to load shared object
2011 Sep 01
2
Automatic Recoding
I have a text file full of numbers (it's a edgelist for a graph) and I would like to recode the numbers as they are way too big to work with. So for instance the following: 676529098667 1000198767829 676529098667 100867672856227 676529098667 91098726278 676529098667 98928373 1092837363526 716172829 would become: 0 1 0 2 0 3 0 4 5 6 i.e. all 676529098667 would become
2011 Mar 23
1
R CMD check: building indices error
Hi guys, I am updating a package because of data format in data folder. So I just change an extension of a file to .txt ... nothing more. I get this error on the R CMD check ** help *** installing help indices ** building package indices ... Error in read.table(zfile, header = TRUE, as.is = FALSE) : more columns than column names ERREUR : installing package indices failed Note that the R CMD
2010 Jan 07
1
Quantreg - 'could not find function"rq"'
Hi all, I'm having some troubles with the Quantreg package. I am using R version 2.10.0, and have downloaded the most recent version of Quantreg (4.44) and SparseM (0.83 - required package). However, when I try to run an analysis (e.g. fit1<-rq(y~x, tau=0.5)) I get an error message saying that the function "rq" could not be found. I get the same message when I try to search
2011 Jun 24
1
Installing packages
Hi, I am trying to install the network package at my work computer. I'm using R version 2.12.0 (2010-10-15) At home I can use the Package Installer, but at work this is blocked by our firewall. What I usually do is download the Mac binary and copy it to R.Framework/Resources/Library, but this isn't working with network. I get the following, which I think means I have the wrong binary for
2012 Feb 02
1
Writing out data
What is the best way to write out comma separated data, as a program is running (rather than waiting to the end using write.csv)? At the moment I'm doing this, but I guess it's not the most efficient. The data is in a column in the matrix postcount, and I'm using a loop to write out each of the 100 elements. for (j in 1:100) { cat(postcount[1,j], ",", file=filename,
2012 Jun 22
3
removing NA from a data frame
Removing rows with NAs, using na.omit(), doesn't seem to be working for me. Dataset: > str ( ex10s ) 'data.frame': 2189576 obs. of 5 variables: $ LOPNR : int 58 58 58 58 64 64 64 64 64 64 ... $ DIAGNOS: Factor w/ 173 levels "F20","F200","F2000",..: 128 128 128 128 105 105 105 160 105 105 ... $ X_DATE : int 20060821 20061207 20080102 20090904
2005 Oct 03
4
no config file
I've tried installing wine using synaptic on ubuntu, also compiling form source and a couple of other ways but never get a ./wine/config file ? Any idea what I'm doing wrong? Thanks Jim -- Dr. Jim Maas james.maas@nottingham.ac.uk This message has been checked for viruses but the contents of an attachment may still contain software viruses, which could damage your computer system:
2012 Jul 18
3
'symbols' not plotting correct circle radii
Hi there. I have been plotting some circles using 'symbols', with radii representing my data, but the radii looked incorrect. It seems to happen with a single circle too: Symbols ( 0, 0, circles = 40, xlim = c(-40, 40), ylim= c(-40, 40)) If I put a ruler up to my monitor (technology!) to compare the radius with the axes, the circle isn't radius 40; it is closer to 15... I
2012 Dec 09
2
Problem with secondary sata controller
I am having problems getting my 64-bit Debian Squeeze (Xen version 4.0, Linux Kernel 2.6.32) dom0 to recognize a harddrive connected to a secondary sata controller. My motherboard is a Gigabyte GA-X79-UP4 and has two sata controllers. The first is controlled by an Intel X79 chipset and the second is controlled by a Marvell 88SE9172 chip. During the initial install of Debian everything is fine and
2011 Apr 12
1
Bayesian PCA
First of all I should say this email is more of a general statistics questions rather than being specific to using R but I'm hoping that this may be of general interest. I have a dataset that I would really like to use PCA on and have been using the package pcaMethods to examine my data. The results using traditional PCA come out really nicely. The dataset is comprised of a set of questions
2005 Apr 13
1
Fluctuating asymmetry and measurement error
Hi all, Has anyone tested for FA in R? I need to seperate out the variance due to measurement error from variation between individuals (following Palmer & Strobeck 1986). Andy Higginson Animal Behaviour and Ecology Research Group School of Biology University of Nottingham NG7 2RD U.K. This message has been checked for viruses but the contents of an attachment may still contain
2005 Apr 13
5
Binary Matrices
I'm wanting to perform analysis (e.g. using eigen()) of binary matrices - i.e. matrices comprising 0s and 1s. For example: n<-1000 test.mat<-matrix(round(runif(n^2)),n,n) eigen(test.mat,only.values=T) Is there a more efficient way of setting up test.mat, as each cell only requires a binary digit? I imagine R is setting up a structure which could contain n^2 floats. Thanks in advance
2008 Dec 01
1
Spatstat - K2 index
Hi all, I'm using spatstat to investigate the spatial structure of an arid shrub population. The first-order intensity of my data does not appear to be homogenous, so I would like to use inhomogeneous techniques. I realise there is a inhomogeneous K-function available in spatstat, but there doesn't not appear to be one for the pair-correlation function (O-ring statistic). As such I was
2005 Jul 11
3
misc3d package
Hi, I am trying to install the misc3d package on a Windows (XP) installation of R 2.0.1 using install.packages("misc3d") but with no success. I have used this approach with other packages OK, but for misc3d I get the following output... trying URL `http://cran.r-project.org/bin/windows/contrib/2.0/PACKAGES' Content type `text/plain; charset=iso-8859-1' length 27996 bytes
2009 Mar 25
1
Angstrom Symbol on Y-axis ?
Hi, I have started very recently with R in order to get excellent Box and Whisker plots. I could plot my data nicely. However, I can't figure out from R-mailing list archive or google search either, how to place an Angstrom sign/symbol on the y-axis (any axis in principle), after a usual y-axis label ? I am doing something like this:
2005 Oct 04
1
very close but some small error
I'm attempting to install and run a program called ACSL (advanced continuous simulation language) on wine. So far the closest I've got is by installing Wine 20050725 on my Ubuntu (Debian) Linux by using the latest wine-config-sidenet-1.8.6 which appears to install ok and then installs the software ok. However when I try to run it using wine acslX which should start it I get lots of code