Re: [R] Using R Studio Version 0.98.507, having trouble with read.table and an Excel CSV file, keep getting '+'

2014-06-21 Thread Steve Friedman
Hello Richard Initially it appears that you left off a closing " mark at the end of the file name. Also why don't you use read csv? Steve On Jun 21, 2014 12:01 PM, "Richard Lerner" wrote: > I saved what I consider a medium size Excel file--about 2000x 40 as a CSV. > I am NOT sure the save went

Re: [R] stop subscribing mailing list

2014-05-21 Thread Steve Friedman
Then unsubscribe. On May 21, 2014 10:00 AM, "han...@purdue.edu" wrote: > Dear, > > I would like to stop to receive any email from R-help mailing list for > this email address. Thank you. > > > Mingxuan Han > > __ > R-help@r-project.org mailing list > ht

Re: [R] Console Output Formatting

2013-09-04 Thread Steve Friedman
Depending on the OS you are working with awk or gawk are great utilities for stripping columns from files. Also if you use a spreadsheet it is quite easy to drop a column. On Sep 4, 2013 5:59 PM, "Noah Silverman" wrote: > Hi, > > Working with R, I often want to copy and paste some values somewhe

Re: [R] how to install R 3.0.1

2013-05-31 Thread Steve Friedman
Thanks for the clarification. On May 31, 2013 10:19 AM, "Prof Brian Ripley" wrote: > On 31/05/2013 14:44, Steve Friedman wrote: > >> You can't. You must copy them to the new installation directory. After >> that >> you can use the update package command t

Re: [R] how to install R 3.0.1

2013-05-31 Thread Steve Friedman
You can't. You must copy them to the new installation directory. After that you can use the update package command to check for and install the upgrades packages. On May 31, 2013 9:43 AM, "Upananda Pani" wrote: > Hi John, > > Thanks for your reply .How to Update all the packages ( Which i am alre

Re: [R] Reading CSV file

2013-04-19 Thread Steve Friedman
Make sure you have the correct path to the file. On Apr 19, 2013 10:53 AM, "Gafar Matanmi Oyeyemi" wrote: > I am trying to read a csv file using the code; > contol <- read.csv("RBS.csv") > This is the error message I got; > Error in file(file, "r") : unable to open connection > In addition: Warni

Re: [R] read.delim

2013-04-02 Thread Steve Friedman
You have to tell R what the column delimiter is. See Read.table. On Apr 2, 2013 8:28 AM, "Shane Carey" wrote: > Hi, > > Im reading in a .txt file into R that consists of 5 columns, however, when > imported into R, it reads all the data into just one column. Is there a way > of telling R to creat

Re: [R] How to count the nos. in a range?

2012-12-20 Thread Steve Friedman
Have considered "cut" and "table" ? On Dec 20, 2012 12:08 PM, "Katherine Gobin" wrote: > Dear R forum > > > I have a following vector of random no.s > > x = runif(100, 0.01, 0.99) > > > [1] 0.47212037 0.77867992 0.33947474 0.93369035 > [5] 0.03720073 0.79307831 0.81801835 0.92710688 > ...

Re: [R] R-package "FunctSNP"

2012-08-21 Thread Steve Friedman
Did you download the zip file to your computer? Next install from zip file. On Aug 21, 2012 9:06 AM, wrote: > Hy everyone, > > I am new in R so I will pose a simple question that I cannot find out > reading tutorials. > I would like to install the R-package "FunctSNP" by file.zip because it´s >

Re: [R] Plotting skewed normal distribution with a bar plot

2011-11-04 Thread Steve Friedman
al curve > if > > I don't know these parameters in advance? > > > > Is there another function to calculate the skew-normal, perhaps in a > > different package? > > > > > > I'm working with R 2.13.2 on a windows based machine. > > >

[R] moving mean and moving variance functions

2011-04-04 Thread Steve Friedman
Hello Lets say as an example I have a dataframe with the following attributes: rownum(1:405), colnum(1:287), year(2000:2009), daily(rownum x colnum x year) and foragePotential (0:1, by 0.01). The data is actually stored in a netcdf file and I'm trying to provide a conceptual version of the data.

[R] installing ncdf on Ubuntu 10.04

2011-04-03 Thread Steve Friedman
Hello I'm trying to install the "ncdf" package on a Ubuntu 10.04 laptop. Can you offer suggestions to install this package? > install.packages("ncdf", repositories = TRUE) Installing package(s) into ‘/home/steve/R/i486-pc-linux-gnu-library/2.12’ (as ‘lib’ is unspecified) --- Please select a CRA

[R] NetCDF - rolling means and StdDev

2011-03-26 Thread Steve Friedman
Hello, I am trying to come up with a routine to calculate a rolling mean and standard deviation for three parameters stored in a NetCDF file. The NetCDF file contains 10 years of daily records for each of the three parameters, and I need the statistics for each of the three parameters. Below I i

[R] nonparametric density and probability methods

2010-06-12 Thread Steve Friedman
Hello, I tried to post this earlier, but it seems that it did not appear on the list. If you've rec'd 2 m I'm trying to calculate non-parametric probabilities using the np package and having some difficulties. OS is Windows, R version 2.11.1 Here is what I've done so far. library(np) veg <- da

[R] help with npcdens function package np

2010-06-12 Thread Steve Friedman
Hello, I'm trying to calculate non-parametric probabilities using the np package and having some difficulties. OS is Windows, R version 2.11.1 Here is what I've done so far. library(np) veg <- data.frame(factor(Physiogomy), meanAnnualDepthAve, TP) attach(veg) : for clarification dim(veg) retur

[R] factanal: error message

2007-10-06 Thread Steve Friedman
Hi everyone, I'm running a factor analysis on a correlation matrix with 32 rows and columns. I get the following error when I issue the command sequence mich.fac1 <- factanal(michcor, factor=1) Error in solve.default(cv) : system is computationally singular: reciprocal condition number = 3.2472

[R] GWR modeling with dummy variables

2007-09-24 Thread Steve Friedman
Hi everyone, I'm working with a modest sized spatial database consisting of 1513 records and 50 variables. Fourteen of these are dummy variables delineating regional planning councils. I'm trying to understand how to integrate the dummy variables in the geographically weight regression model. I'