Re: [R] convert microns to nm in a messy dataset

2019-05-10 Thread John McKown
7")), row.names > = > c(NA, 20L), class = "data.frame") > > -- > Dr. Ivan Calandra > TraCEr, laboratory for Traceology and Controlled Experiments > MONREPOS Archaeological Research Centre and > Museum for Human Behavioural Evolution > Schloss Monrepos >

Re: [R] OT --- grammar.

2018-06-25 Thread John McKown
code. > > > -- > Dr. Michael Sumner > Software and Database Engineer > Australian Antarctic Division > 203 Channel Highway > Kingston Tasmania 7050 Australia > > [[alternative HTML version deleted]] > > __

Re: [R] Creating/Reading a complex string in R

2017-07-18 Thread John McKown
updated string to another file. Which contents you could then cut'n'paste into your original R file. something like: #!/usr/bin/Rscript # files <- commandArgs(trailingOnly=TRUE); # for (infile in files) { x=readLines(infile); y=gsub("'","'",

Re: [R] Creating/Reading a complex string in R

2017-07-18 Thread John McKown
Try: String = '

Re: [R] Difference between R for the Mac and for Windows

2017-03-31 Thread John McKown
work differently, since they are all on Intel machines nowadays. Or the R was customized to detect division by zero in software and not really do any floating point processing at all. ​ > > Berend Hasselman > > -- "Irrigation of the land with seawater desalinated by fusion power is

[R] MS SQL Server R Services review.

2017-02-16 Thread John McKown
quot; -- Michael McClary, in alt.fusion Maranatha! <>< John McKown [[alternative HTML version deleted]] __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the po

Re: [R] R studio server vs R server and Small computer to run R

2017-01-19 Thread John McKown
advantages of R studio > server and R server? > ​Sorry, I only use the basic R. > > Thank you > > John > > John David Sorkin M.D., Ph.D. > > > -- There’s no obfuscated Perl contest because it’s pointless. —Jeff Polk Maranatha! <>< John McKown [[alter

Re: [R] help for

2016-12-30 Thread John McKown
programmed for over 3 decades, and used BASH for about 10 years. Which is both good and bad. The good is that I understand BASH fairly well. The bad is that I like "tricky coding" (a personal problem). > > Sarah > > -- There’s no obfuscated Perl contest because it’s pointles

Re: [R] [FORGED] Export R output in Excel

2016-12-30 Thread John McKown
Heisenberg may have been here. http://xkcd.com/1770/ Maranatha! <>< John McKown [[alternative HTML version deleted]] __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEAS

Re: [R] data manipulation

2016-12-13 Thread John McKown
New Zealand. > > Looking forward to hearing from you, > > > -- Heisenberg may have been here. http://xkcd.com/1770/ Maranatha! <>< John McKown [[alternative HTML version deleted]] __ R-help@r-project.org mailing li

Re: [R] read

2016-11-28 Thread John McKown
csv','not') > file2read=files[file.exists(files)][1] > file2read [1] NA ​The above shows the result should none of the files exist. So if "file2read" has an NA, then you go on to the next directory.​ -- Heisenberg may have been here. Unicode: http://xkcd.com/1726/

Re: [R] Question about ‘The R Project’.

2016-11-14 Thread John McKown
egal advice under any circumstances. [quote/]​ -- Heisenberg may have been here. Unicode: http://xkcd.com/1726/ Maranatha! <>< John McKown [[alternative HTML version deleted]] __ R-help@r-project.org mailing list -- To UNSUBSC

Re: [R] (no subject)

2016-10-06 Thread John McKown
roblem in your code, then it is unlikely to be done because the list is not, generall, inhabited by unpaid consultants.​ -- Heisenberg may have been here. Unicode: http://xkcd.com/1726/ Maranatha! <>< John McKown [[alternative HTML version deleted]] __

Re: [R] R Mysql Not reading all table names

2016-10-03 Thread John McKown
, > MUMA College of Business, > USF > Phone- (813) 5809131 > Web: http://vivek4.myweb.usf.edu/ > > -- Heisenberg may have been here. Unicode: http://xkcd.com/1726/ Maranatha! <>< John McKown [[alternative HTML version deleted]] __

Re: [R] Off topic, but hopefully not totally irrelevant: on MS Excel and genomics

2016-09-02 Thread John McKown
have a small collection of spreadsheet errors that have > been published here and there and this is a great addition. > > John Kane > Kingston ON Canada > -- Unix: Some say the learning curve is steep, but you only have to climb it once. -- Karl Lehenbauer Unicode: http://xkcd

Re: [R] Build command in library(devtools)

2016-07-19 Thread John McKown
> R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide > http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible

Re: [R] How to import sensitive data when multiple users collaborate on R-script?

2016-05-31 Thread John McKown
think this would be something like: filename <- Sys.getenv("FILENAME") if (filename = "") { ... no file name in environment, what to do? } You could have someone do this for the user, if he is not familiar with ​ the process. ​ -- The unfacts, did we have them, are t

Re: [R] Whether statistical background is must to learn R language

2016-05-31 Thread John McKown
. > > Please guide. > > Thanks in Advance > Prasad > > -- The unfacts, did we have them, are too imprecisely few to warrant our certitude. Maranatha! <>< John McKown [[alternative HTML version deleted]] __ R-h

Re: [R] read.fortran format

2016-05-27 Thread John McKown
list with a character vector for each line. ​ ​I think (not sure) you need: mydata<-read.frotran("G:/Journals/Disk1/12_restat_95/estimate/GROUPD.DAT", list(c("1X","F6.0","5F8.6"),c("1X","5F8.4","F10.6"),c("1

Re: [R] undefined columns selected!

2016-05-04 Thread John McKown
. Oh, please don't just cut'n'paste the output from simply listing "msub" or "cn", that produces output which cannot be cut and pasted easily into an R session. Thanks. > > Thanks for any help, > Elahe > > -- The unfacts, did we ha

Re: [R] how to use AND in grepl

2016-05-02 Thread John McKown
> Looking at ​?grepl, I see the option: ignore.case=TRUE​ PDT2=subset(df,grepl("(.*t2.*pd.*)|(.*pd.*t2.*)",df$ Command,ignore.case=TRUE) Perhaps this will do the trick. -- The unfacts, did we have them, are too imprecisely few to warrant our certitude. Maranatha! <>

Re: [R] How to access the latitude & longitude for UK post codes in R

2016-04-29 Thread John McKown
might be able to use that as a source for your own lookup code.​ I found this via Google. -- The unfacts, did we have them, are too imprecisely few to warrant our certitude. Maranatha! <>< John McKown [[alternative HTML version deleted]]

Re: [R] Query - 'R' for commercial use

2016-02-29 Thread John McKown
.sapient.com/confluence/display/ISCGCI/Integration+SCG+Home> > | VOX< > https://vox.sapient.com/groups/enterprise-integration-shared-services> > Cell +1-617-331-4797 > -- > SapientNitro > -- The man has the intellect of a lobotomized turtle. Maranatha! <>< John McKown

Re: [R] R Software Program Help

2016-02-23 Thread John McKown
ch can be used as a library. A good web site is https://cran.revolutionanalytics.com/ to start. A search of "r language review" will get you some good hits from sites such as InfoWorld and NY Times as well as the usual "geek" sites. -- The man has the intellect of a lobotomize

Re: [R] Subscribe to Post

2015-12-27 Thread John McKown
e -- Jim Horning Schrodinger's backup: The condition of any backup is unknown until a restore is attempted. Yoda of Borg, we are. Futile, resistance is, yes. Assimilated, you will be. He's about as useful as a wax frying pan. 10 to the 12th power mic

Re: [R] exporting tables from an access database using parallel foreach

2015-11-21 Thread John McKown
row,last-row) > > Jeff, I will take your suggestion and try my luck at the R-sig-db mailing > list. > Thanks, > Vivek > > > -- Schrodinger's backup: The condition of any backup is unknown until a restore is attempted. Yoda of Borg, we are. Futile, resistance is, yes.

Re: [R] exporting tables from an access database using parallel foreach

2015-11-20 Thread John McKown
provide commented, minimal, self-contained, reproducible code. > -- Schrodinger's backup: The condition of any backup is unknown until a restore is attempted. Yoda of Borg, we are. Futile, resistance is, yes. Assimilated, you will be. He's about as useful as a wax frying pan. 10

Re: [R] exporting tables from an access database using parallel foreach

2015-11-20 Thread John McKown
ttps://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide > http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. > -- Schrodinger's backup: The condition of any backup is unknown

Re: [R] *.rpt data

2015-11-12 Thread John McKown
uot;eyeball".​ -- Schrodinger's backup: The condition of any backup is unknown until a restore is attempted. Yoda of Borg, we are. Futile, resistance is, yes. Assimilated, you will be. He's about as useful as a wax frying pan. 10 to the 12th power microphones = 1 Megaphone Marana

Re: [R] Announcement - The Use Of Nabble For Posting To R-Help Will No Longer Be Supported Effective October 15, 2015

2015-10-01 Thread John McKown
The condition of any backup is unknown until a restore is attempted. Yoda of Borg, we are. Futile, resistance is, yes. Assimilated, you will be. He's about as useful as a wax frying pan. 10 to the 12th power microphones = 1 Megaphone Maranatha! <>< John McKown [[alternative

Re: [R] R applications deployment models?

2015-09-28 Thread John McKown
p: The condition of any backup is unknown until a restore is attempted. Yoda of Borg, we are. Futile, resistance is, yes. Assimilated, you will be. He's about as useful as a wax frying pan. 10 to the 12th power microphones = 1 Megaphone Maranatha! <>< John McK

Re: [R] R applications deployment models?

2015-09-28 Thread John McKown
nger's backup: The condition of any backup is unknown until a restore is attempted. Yoda of Borg, we are. Futile, resistance is, yes. Assimilated, you will be. He's about as useful as a wax frying pan. 10 to the 12th power microphones = 1 Megaphone Maranatha! <>< John McKow

Re: [R] Running R on a hosting o server

2015-09-23 Thread John McKown
. Again, if this needs to go to some other server, then a scripted "ftp" should work. One of my co-workers does this. -- Schrodinger's backup: The condition of any backup is unknown until a restore is attempted. Yoda of Borg, we are. Futile, resistance is, yes. Assimilated, you will be.

Re: [R] Extract from data.frame

2015-09-21 Thread John McKown
ondition of any backup is unknown until a restore is attempted. Yoda of Borg, we are. Futile, resistance is, yes. Assimilated, you will be. He's about as useful as a wax frying pan. 10 to the 12th power microphones = 1 Megaphone Maranatha! <>< John McKown [[alternative HTML v

Re: [R] Spreadsheet math problem (exponentiation)

2015-09-18 Thread John McKown
-- Schrodinger's backup: The condition of any backup is unknown until a restore is attempted. Yoda of Borg, we are. Futile, resistance is, yes. Assimilated, you will be. He's about as useful as a wax frying pan. 10 to the 12th power mic

Re: [R] Spreadsheet math problem (exponentiation)

2015-09-18 Thread John McKown
#x27;s about as useful as a wax frying pan. 10 to the 12th power microphones = 1 Megaphone Maranatha! <>< John McKown [[alternative HTML version deleted]] __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat

Re: [R] Spreadsheet math problem (exponentiation)

2015-09-18 Thread John McKown
ss.​ Personal opinion. FSF associate member. Penguinista. -- Schrodinger's backup: The condition of any backup is unknown until a restore is attempted. Yoda of Borg, we are. Futile, resistance is, yes. Assimilated, you will be. He's abo

Re: [R] c(1:n, 1:(n-1), 1:(n-2), ... , 1)

2015-09-17 Thread John McKown
commented, minimal, self-contained, reproducible code. > -- Schrodinger's backup: The condition of any backup is unknown until a restore is attempted. Yoda of Borg, we are. Futile, resistance is, yes. Assimilated, you will be. He's about as useful as

Re: [R] Issues with RPostgres

2015-08-27 Thread John McKown
d, minimal, self-contained, reproducible code. > -- Schrodinger's backup: The condition of any backup is unknown until a restore is attempted. Yoda of Borg, we are. Futile, resistance is, yes. Assimilated, you will be. He's about as useful as a wax frying pan. 10 to the 12th

Re: [R] How to download this data

2015-08-25 Thread John McKown
org, we are. Futile, resistance is, yes. Assimilated, you will be. He's about as useful as a wax frying pan. 10 to the 12th power microphones = 1 Megaphone Maranatha! <>< John McKown [[alternative HTML version deleted]] __ R-help@

Re: [R] Running R in Server

2015-08-18 Thread John McKown
this was at least the start of some help to you. -- Schrodinger's backup: The condition of any backup is unknown until a restore is attempted. Yoda of Borg, we are. Futile, resistance is, yes. Assimilated, you will be. He's about as useful as a wax frying pan. 10 to the 12th power

Re: [R] Problem with path.expand("~")

2015-08-11 Thread John McKown
> > [1] stats graphics grDevices utils datasets methods base > > > > loaded via a namespace (and not attached): > > [1] tools_3.2.1fortunes_1.5-2 > > > > > > Best regards, > > > -- > Sarah Goslee > http://www.functionaldiversity.o

Re: [R] Course: Introduction to zero inflated models

2015-08-04 Thread John McKown
condition of any backup is unknown until a restore is attempted. Yoda of Borg, we are. Futile, resistance is, yes. Assimilated, you will be. He's about as useful as a wax frying pan. 10 to the 12th power microphones = 1 Megaphone Maranatha! <>< John McKown

Re: [R] setwd() command on windows vs. linux/unix

2015-07-27 Thread John McKown
wn until a restore is attempted. Yoda of Borg, we are. Futile, resistance is, yes. Assimilated, you will be. He's about as useful as a wax frying pan. 10 to the 12th power microphones = 1 Megaphone Maranatha! <>< John McKown [[alternative HTML version deleted]] __

Re: [R] Read ".xlsx" and convert date-column value into Dataframe

2015-07-22 Thread John McKown
Schrodinger's backup: The condition of any backup is unknown until a restore is attempted. Yoda of Borg, we are. Futile, resistance is, yes. Assimilated, you will be. He's about as useful as a wax frying pan. 10 to the 12th power microphones = 1 Megaphone Maranatha! <>&

Re: [R] matching strings in a list

2015-07-16 Thread John McKown
On Thu, Jul 16, 2015 at 1:00 PM, John McKown wrote: > On Thu, Jul 16, 2015 at 12:40 PM, tryingtolearn > wrote: > >> Say I have a list: >> [[1]] "I like google" >> [[2]] "Hi Google google" >> [[3]] "what's up" >> >

Re: [R] matching strings in a list

2015-07-16 Thread John McKown
Borg, we are. Futile, resistance is, yes. Assimilated, you will be. He's about as useful as a wax frying pan. 10 to the 12th power microphones = 1 Megaphone Maranatha! <>< John McKown [[alternative HTML version deleted]] __

Re: [R] open connection to system

2015-07-14 Thread John McKown
the socketConnection() function in some way. ​ -- Schrodinger's backup: The condition of any backup is unknown until a restore is attempted. Yoda of Borg, we are. Futile, resistance is, yes. Assimilated, you will be. He's about as useful as a wax

Re: [R] Can't post to the list

2015-07-09 Thread John McKown
your mail special styles or > > formatting (e.g. bold typeface, colors etc.). > > > > ... > > > > > > > > > > > Thanks for your concern, > Maram > > Sent from my iPhone > > -- Schrodinger's

Re: [R] Common install of R on network disk

2015-07-07 Thread John McKown
87 12 (TAGC) / +33(0)4 91 26 91 90 (CIML) > > Site : http://www.univ-amu.fr<http://www.univ-amu.fr/> - Email : > lionel.spine...@univ-amu.fr<mailto:lionel.spine...@univ-amu.fr> > > -- Schrodinger's backup: The condition of any backup is unknown until a rest

Re: [R] Invalid URL for R documentation

2015-07-06 Thread John McKown
to the 12th power microphones = 1 Megaphone Maranatha! <>< John McKown [[alternative HTML version deleted]] __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do rea

Re: [R] help for lay person assisting R user with disability

2015-06-18 Thread John McKown
o use Excel for "data entry". -- Yoda of Borg, we are. Futile, resistance is, yes. Assimilated, you will be. My sister opened a computer store in Hawaii. She sells C shells down by the seashore. If someone tell you that nothing is impossible: Ask him to dribble a football. He's ab

Re: [R] how to reach a txt file like this?

2015-06-09 Thread John McKown
kely be ignored. ​ -- Yoda of Borg, we are. Futile, resistance is, yes. Assimilated, you will be. My sister opened a computer store in Hawaii. She sells C shells down by the seashore. If someone tell you that nothing is impossible: Ask him to dribble a football. He's ab

Re: [R] Passing strings with spaces to Python using system2 splits string at whitespace

2015-06-04 Thread John McKown
de commented, minimal, self-contained, reproducible code. > -- My sister opened a computer store in Hawaii. She sells C shells down by the seashore. If someone tell you that nothing is impossible: Ask him to dribble a football. He's about as useful as a wax frying pan. 10 to the 12th po

Re: [R] How to pass a variable to a function which use variable name as a parameter

2015-05-26 Thread John McKown
4)​ options(datadist=NULL) -- My sister opened a computer store in Hawaii. She sells C shells down by the seashore. If someone tell you that nothing is impossible: Ask him to dribble a football. He's about as useful as a wax frying pan. 10 to the 12th power microphones = 1 Megaphone Ma

Re: [R] Vincentizing Reaction Time data in R

2015-05-20 Thread John McKown
On Wed, May 20, 2015 at 5:13 AM, Gabriel WEINDEL wrote: > Dear all, > > For my master thesis, I'm currently working in cognitive neuroscience on > executive control through measurement of reaction time and I need to get my > data 'vincentized' with an exclusive use of R set by my statistic teache

Re: [R] problem setting default timezone

2015-04-23 Thread John McKown
time after midnight in the representation of the time in specified time zone, default UTC.) Also objects of class ‘"date"’ (from package ‘date’) and ‘"dates"’ (from package ‘chron’). Character strings are processed as far as necessary for the format specified:

Re: [R] Need online version of R help pages

2015-04-20 Thread John McKown
pedition? He's about as useful as a wax frying pan. 10 to the 12th power microphones = 1 Megaphone Maranatha! <>< John McKown [[alternative HTML version deleted]] __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, s

Re: [R] regexpr - ignore all special characters and punctuation in a string

2015-04-20 Thread John McKown
tr2) [1] TRUE > The gsub() removes all characters which are not alphabetic from each string and then compares them.​ -- If you sent twitter messages while exploring, are you on a textpedition? He's about as useful as a wax frying pan. 10 to the 12th power microphones = 1 Megaphone Maran

Re: [R] RODBC did not found

2015-04-20 Thread John McKown
eful as a wax frying pan. 10 to the 12th power microphones = 1 Megaphone Maranatha! <>< John McKown [[alternative HTML version deleted]] __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/

Re: [R] Running R Remotely on LINUX

2015-04-14 Thread John McKown
ges while exploring, are you on a textpedition? He's about as useful as a wax frying pan. 10 to the 12th power microphones = 1 Megaphone Maranatha! <>< John McKown [[alternative HTML version deleted]] __ R-help@r-project.org m

Re: [R] Windows Installation Without Third-Party Packages

2015-04-09 Thread John McKown
; [12] "C:/Program Files/R/R-3.1.1/library/proto" > Pardon the weird subscript, but the list was way to big to cut, paste, and edit. So your users should be able to force any package, even a "system" package, into their personal R directory using the "lib=" parameter o

Re: [R] reading in from xlsx files

2015-03-24 Thread John McKown
as a wax frying pan. 10 to the 12th power microphones = 1 Megaphone Maranatha! <>< John McKown __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide h

Re: [R] the making of _R_ eBooks

2015-03-23 Thread John McKown
er > Leichlingen, Germany -- If you sent twitter messages while exploring, are you on a textpedition? He's about as useful as a wax frying pan. 10 to the 12th power microphones = 1 Megaphone Maranatha! <>< John McKown __ R-help

Re: [R] Help with Programmin-1 submission.

2015-03-14 Thread John McKown
t; > >> > > > > Any suggestions as to where to go? It appears to be unable to find my > pollutantmean.R file even though I just sourced it. The function is in > memory and is in the directory from which I am trying to execute the submit > script. > > > &

Re: [R] regex find anything which is not a number

2015-03-12 Thread John McKown
ple grep() specifically excludes this by requiring at least one digit after any decimal point. -- He's about as useful as a wax frying pan. 10 to the 12th power microphones = 1 Megaphone Maranatha! <>< John McKown __ R-help@r-project.or

Re: [R] regex find anything which is not a number

2015-03-11 Thread John McKown
Data Archive > Soseaua Panduri nr.90 > 050663 Bucharest sector 5 > Romania > > __ > R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide h

Re: [R] vectorize data string analysis

2015-03-03 Thread John McKown
.000 CL7440600031403GND0 LB748388 > 0952312900OCT0309512089400.9988407604.525090103080133358DLJ MORTGAGE > CAPITAL INC. ELEVEN MADISON AVENUE NEW YORK > NY10010058430FNAR XX.XXX LB7483880031403GNG3 LB748391 > 0715661500O

Re: [R] Reading in an XLS (really XML) file from website

2015-02-27 Thread John McKown
it the file using Notepad, or Wordpad. I would use Wordpad myself. Notepad is "iffy" on some things. Save it back, then try readWorksheetFromFile() as you originally did. -- He's about as useful as a wax frying pan. 10 to the 12th power microphones = 1 Megaphone Maranatha! &l

Re: [R] extract file name from a path string

2015-02-26 Thread John McKown
i > > __ > R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, sel

Re: [R] Noob question re: writing while loops on one line

2015-02-15 Thread John McKown
I guess my C background has messed me up a bit for R. Well, recovering from APL was worse. I lost all sense of hierarchy of operations. On Feb 15, 2015 2:19 PM, "Duncan Murdoch" wrote: > On 15/02/2015 11:20 AM, John McKown wrote: > > On Sun, Feb 15, 2015 at 9:54

Re: [R] Noob question re: writing while loops on one line

2015-02-15 Thread John McKown
nate my interactive statements with a semi-colon all the time. Just most of the time. Of course, I'm a touch typist too and so it is not really much of a problem for me.​ -- He's about as useful as a wax frying pan. 10 to the 12th power microphones = 1 Megaphone Maranatha! <>

Re: [R] Fixed Width EBCDIC Files in R

2015-02-05 Thread John McKown
e, n = thisblock) : line 1 appears to contain an embedded nul 2: In readLines(file, n = thisblock) : incomplete final line found on 'EBCDIC_ZIPCODE' > View(data) I don't know how to get past the embedded NULL. I'm a UNIX user, so my thought (not applicable

Re: [R] regular expression question

2015-01-14 Thread John McKown
omplicated. Although I have a liking for them due to their expressiveness and power, it is like an person using raw nitroglycerin instead of dynamite. Dangerous. > > -Don > > -- > Don MacQueen > > Lawrence Livermore National Laboratory > -- ​ While a transcendent vocab

Re: [R] ""error 1 in extracting from zip file"

2015-01-14 Thread John McKown
​ -- ​ While a transcendent vocabulary is laudable, one must be eternally careful so that the calculated objective of communication does not become ensconced in obscurity. In other words, eschew obfuscation. 111,111,111 x 111,111,111 = 12,345,678,987,654,321 Maranatha! <>< John McKown

Re: [R] regular expression question

2015-01-12 Thread John McKown
__ > R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide > http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. >

Re: [R] Matrix element-by-element multiplication

2015-01-07 Thread John McKown
00 1400 24 [5,] 500 1500 25 [6,] 600 1600 26 [7,] 700 1700 27 [8,] 800 1800 28 [9,] 900 1900 29 [10,] 1000 2000 30 > ​ -- ​ While a transcendent vocabulary is laudable, one must be eternally careful so that the calculated objective of communication does not become enscon

[R] Your pardon: An article possibly of interest to statisticians

2014-12-18 Thread John McKown
While a transcendent vocabulary is laudable, one must be eternally careful so that the calculated objective of communication does not become ensconced in obscurity. In other words, eschew obfuscation. 111,111,111 x 111,111,111 = 12,345,678,987,654,321 Maranatha! <>< John McKown [[alt

Re: [R] create matrices with constraint

2014-12-15 Thread John McKown
> David L Carlson > Department of Anthropology > Texas A&M University > College Station, TX 77840-4352 > > -- ​ While a transcendent vocabulary is laudable, one must be eternally careful so that the calculated objective of communication does not become ensconced in obscurity. I

Re: [R] create matrices with constraint

2014-12-15 Thread John McKown
laudable, one must be eternally careful so that the calculated objective of communication does not become ensconced in obscurity. In other words, eschew obfuscation. Maranatha! <>< John McKown [[alternative HTML version deleted]] __ R-h

Re: [R] create matrices with constraint

2014-12-14 Thread John McKown
that I've never heard of before. I'm really poor at statistics. -- The temperature of the aqueous content of an unremittingly ogled culinary vessel will not achieve 100 degrees on the Celsius scale. Maranatha! <>< John McKown [[alternative HTML version deleted]] _

Re: [R] create matrices with constraint

2014-12-13 Thread John McKown
On Fri, Dec 12, 2014 at 1:45 PM, John McKown wrote: > ​ > ​​ > Hum. Consider the set of all possible unique 4 value vectors in which the > values in the vectors are taken, without replacement, from the numbers 1 > through 28. This is a mathematical concept called "combinat

Re: [R] create matrices with constraint

2014-12-12 Thread John McKown
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide > http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. > -- ​ While a tran

Re: [R] if else for cumulative sum error

2014-12-02 Thread John McKown
R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. > -- The temperature of the aqueous content of an unremittingly ogled culinary vessel will not achieve 100 degrees on the Celsius scale. Maranatha! <>< John McKown [[alterna

Re: [R] hierarchical model with heteroscedastic variances

2014-12-01 Thread John McKown
> R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide > http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. >

Re: [R] 1. What function to use to read all the files in a directory to a vector in R code? 2. What function to use to coerce character string into numeric?

2014-11-10 Thread John McKown
ady, I would strongly recommend getting & installing RStudio. It is free (as in beer, which is a curious phrase because beer isn't usually free). http://www.rstudio.com ​ -- The temperature of the aqueous content of an unremittingly ogled culinary vessel will not achieve

Re: [R] Split fixed width data in R

2014-10-22 Thread John McKown
sel will not achieve 100 degrees on the Celsius scale. Maranatha! <>< John McKown [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide htt

Re: [R] How to clear R memory in a for loop

2014-10-20 Thread John McKown
re of the aqueous content of an unremittingly ogled culinary vessel will not achieve 100 degrees on the Celsius scale. Maranatha! <>< John McKown [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz

Re: [R] grep won't work finding one column

2014-10-14 Thread John McKown
s(df)) > with double back slash? > > Ivan > > -- > Ivan Calandra > University of Reims Champagne-Ardenne > GEGENA² - EA 3795 > CREA - 2 esplanade Roland Garros > 51100 Reims, France > +33(0)3 26 77 36 89 > ivan.calan...@univ-reims.fr > https://www.researchgat

Re: [R] grep won't work finding one column

2014-10-14 Thread John McKown
p out the "sample1.at" column does not work and > it will halt and stop. > > Here is some sample data... say I want to get out the AT_ only column > > > Sample_1 AT_1 > A/A RR > G/G AA > T/T AA > G/A RA > G/G RR > C/C AA > C/C AA > C/T RA > A/A AA

Re: [R] grep won't work finding one column

2014-10-14 Thread John McKown
he characters ".at", you need: grep("\.at$",colnames(df)). You might want to post an example which fails. Just to be complete, be sure to use the dput() function so that it is easy for members of the group to cut'n'paste to get your data into our own R workspace. --

Re: [R] xts array in minutes ?

2014-10-11 Thread John McKown
> What is the best way to do it ? > thanks > Best? I don't know. My way: minutes<-as.xts(as.POSIXct(seq(as.POSIXlt('2014-10-10 00:00:00'),as.POSIXlt('2014-10-10 23:59:00'),'min'))); -- There is nothing more pleasant than traveling and meeting new p

Re: [R] Changing date format

2014-10-10 Thread John McKown
t(strptime(x-(x>60),format="%j"),format="%d-%b")); } The "trick" is that x-(x>60) will subtract 1 from x when x is greater than 60, but 0 if it is less than or equal to 60. And the ifelse takes care of the case where x is equal to 6

Re: [R] reading in hexadecimal data - not working with data ending in E

2014-10-08 Thread John McKown
=TRUE,colClasses="character");​ > > Mark Hogue > -- There is nothing more pleasant than traveling and meeting new people! Genghis Khan Maranatha! <>< John McKown [[alternative HTML version deleted]] __ R-help@r-

Re: [R] hadley's book

2014-09-29 Thread John McKown
ode. -- There is nothing more pleasant than traveling and meeting new people! Genghis Khan Maranatha! <>< John McKown __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide ht

Re: [R] Writing .csv file

2014-09-24 Thread John McKown
f you don't want the header row at the top, you might want to try: write.table(yxz,file="foo.csv",row.names=FALSE,col.names=FALSE,sep=',',qmethod="double"); -- There is nothing more pleasant than traveling and meeting new people! Genghis Khan Maranatha! <&g

Re: [R] Optometrists and Ophthalmologists dataset

2014-09-24 Thread John McKown
mate! === Oh, did I mention that the email address from the original post is now in my autodelete list? On Tue, Sep 23, 2014 at 4:50 PM, Tony Parker wrote: -- There is nothing more pleasant than traveling and meeting new people! Genghis Khan Maranatha! <>&l

Re: [R] R Inter Process Communication tools/packages ?

2014-09-23 Thread John McKown
tation for socketConnection() ?socketConnection addresses TCPIP sockets, UNIX pipes, and FIFOs. -- There is nothing more pleasant than traveling and meeting new people! Genghis Khan Maranatha! <>< John McKown __ R-help@r-project.org mailing list h

Re: [R] X11/Intrinsic.h preventing build on rhel

2014-09-19 Thread John McKown
is nothing more pleasant than traveling and meeting new people! Genghis Khan Maranatha! <>< John McKown __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.or

Re: [R] How can I create colors correspond to the number of a variable?

2014-09-17 Thread John McKown
LEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. -- There is nothing more pleasant than traveling and meeting new people! Genghis Khan Maranatha! <>< John McKown _

  1   2   >