Displaying 20 results from an estimated 165 matches for "sharpsteen".
2009 Feb 06
3
Sweave and backslashes
...> cat(latexNum(4*10^-3))
Produces:
4\cdot10^{-3}
However the following in a .Rnw file:
$\Sexpr{latexNum(4*10^-3)}$\\
Only produces this in the .tex output file:
$4cdot 10^{-3}$\\
No amount of extra backslashing seems to help. Any idea why my escapes are
not being respected?
-----
Charlie Sharpsteen
Undergraduate
Environmental Resources Engineering
Humboldt State University
--
View this message in context: http://www.nabble.com/Sweave-and-backslashes-tp21864385p21864385.html
Sent from the R help mailing list archive at Nabble.com.
2010 Oct 18
1
Incorrect positioning of raster images on Windows
...s, the bottom row of pixels is missing along with the right column. The
code works as I expect it to on OS X and Debian.
Am I misusing the plotting commands in some way or should I submit an
off-by-one bugreport to Bugzilla?
Any suggestions or comments are most welcome.
-Charlie
-----
Charlie Sharpsteen
Undergraduate-- Environmental Resources Engineering
Humboldt State University
--
View this message in context: http://r.789695.n4.nabble.com/Incorrect-positioning-of-raster-images-on-Windows-tp2999649p2999649.html
Sent from the R help mailing list archive at Nabble.com.
2010 Oct 18
1
Incorrect positioning of raster images on Windows
...s, the bottom row of pixels is missing along with the right column. The
code works as I expect it to on OS X and Debian.
Am I misusing the plotting commands in some way or should I submit an
off-by-one bugreport to Bugzilla?
Any suggestions or comments are most welcome.
-Charlie
-----
Charlie Sharpsteen
Undergraduate-- Environmental Resources Engineering
Humboldt State University
--
View this message in context: http://r.789695.n4.nabble.com/Incorrect-positioning-of-raster-images-on-Windows-tp2999649p2999649.html
Sent from the R help mailing list archive at Nabble.com.
2008 Oct 14
3
gWidgets install
Hi,
I wanted to install the gWidgets package and ran the following code:
------------------------------------------
> install.packages("gWidgets")
trying URL 'http://www.ibiblio.org/pub/languages/R/CRAN/bin/windows/contrib/2.7/gWidgets_0.0-30.zip'
Content type 'application/zip' length 1354268 bytes (1.3 Mb)
opened URL
downloaded 1.3 Mb
package 'gWidgets'
2010 Apr 27
3
Problem calculating multiple regressions on a data frame.
...ils, with error message:
Error in lm.fit(x, y, offset = offset, singular.ok = singular.ok, ...) :
0 (non-NA) cases
I have tried to change the na.action with no success (na.pass, na.fail,
na.exclude... all give the same error message)
I have also tried to follow the approach suggested by Charles Sharpsteen
(http://www.mail-archive.com/r-help@r-project.org/msg74759.html) with
similar results.
The code is as follows:
theModels <- by( theTestLineal, list( theTestLineal$ids,
zongTestLineal$variable), function( dataSlice ){
linMod <- lm( value ~ seqMonth, data = dataSlice )
# Slope and intercept ma...
2010 Feb 28
3
R help question: How can we enable useRs to contribute corrections to help files faster ?
Hello dear R users,
*Here is the background for my question:*
I just had a look at the help file for
? Yeast
in the "HistData" package.
In it, I found a small spelling mistake where the word "*c*istribution" was
written instead (so I imagin) "*d*istribution".
I thought maybe I should e-mail the developer. Since there is no link to
contacting the developer inside
2010 Aug 22
1
fortune? (was: Re: How do you make a formal "feature" request?)
Dear all
I was wondering whether such a long post could be fortune-ed. What do you think?
Regards
Liviu
On Sat, Aug 21, 2010 at 9:33 PM, Sharpie <chuck at sharpsteen.net> wrote:
> Well, I can think of three ways it can go down:
>
>
> 1. ?You want a shiny new pony.
>
> You ask about it on the mailing list and it seems that everyone else in the
> world responds "Hell yeah! I want to ride that too!". ?In this case the
> natives...
2011 Apr 07
1
R 2.13.0-beta for Windows, file.copy() throws suspicious errors due to default value of copy.mode
...e task with R 2.12.2 on Windows or R 2.13.0-beta on OS X
and Linux.
Maybe roxygenize() is abusing file.copy() somehow, but I find the "'mode'
must be of length at least one" error suspicious.
Any ideas?
Using:
Windows 7 x86_64
R 2.13.0-beta
Rtools 2.13
-Charlie
-----
Charlie Sharpsteen
Undergraduate-- Environmental Resources Engineering
Humboldt State University
--
View this message in context: http://r.789695.n4.nabble.com/R-2-13-0-beta-for-Windows-file-copy-throws-suspicious-errors-due-to-default-value-of-copy-mode-tp3434559p3434559.html
Sent from the R devel mailing list archi...
2007 Nov 01
3
Curry: proposed new functional programming, er, function.
Hi all (especially R-core) I suppose,
With the introduction of the new functional programming functions into
base I thought I'd ask for a Curry() function. I use a simple one that
looks this:
Curry = function(FUN,...) { .orig = list(...);function(...)
do.call(FUN,c(.orig,list(...))) }
This comes in really handy when using say, heatmap():
2012 Jan 11
1
Inconsistencies in device_Raster when axes are reflected
...h
that the coordinates no longer reference the bottom-left corner of the image
as `R_ext/GraphicsDevice.h` says they should.
Given the inconsistencies in documentation and behavior, I am wondering what
the intended behavior of `device_Raster` is in this situation.
Thanks!
-Charlie
-----
Charlie Sharpsteen
Undergraduate-- Environmental Resources Engineering
Humboldt State University
--
View this message in context: http://r.789695.n4.nabble.com/Inconsistencies-in-device-Raster-when-axes-are-reflected-tp4286320p4286320.html
Sent from the R devel mailing list archive at Nabble.com.
2010 Apr 22
1
Rtools for building 64 bit windows packages
...ion of Windows
x86_64 compilers and binutils?
* If not, do I build the x86_64 toolchain from the current HEAD, or is
there a specific revision that has been determined to be stable?
Thanks for your time and effort on maintaining and enhancing such a
wonderful language!
-Charlie
-----
Charlie Sharpsteen
Undergraduate-- Environmental Resources Engineering
Humboldt State University
--
View this message in context: http://r.789695.n4.nabble.com/Rtools-for-building-64-bit-windows-packages-tp2021034p2021034.html
Sent from the R devel mailing list archive at Nabble.com.
2009 Nov 16
3
Error on reading an excel file
Hello everybody, here is the code I use to read an excel file containing two
rows, one of date, the other of prices:
library(RODBC)
z <- odbcConnectExcel("SPX_HistoricalData.xls")
datas <- sqlFetch(z,"Sheet1")
close(z)
It works pretty well but the only thing is that the datas stop at row 7530
and I don?t know why datas is a data frame that contains 7531 rows with the
2010 Apr 14
0
SHLIB works but inline compilation does not
...got the code
> from "Writing R Extensions", and Dirk tried it out too. But if it's a
> compilation error, then shouldn't the first method (with SHLIB) not work
> either?
>
> I realize I could stick to the SHLIB method, which Charlie ("The Sharpie")
> Sharpsteen wrote up in fantastic detail here:
> http://n4.nabble.com/Writing-own-simulation-function-in-C-td1580190.html#a1580423
> But there's so much more stuff I'll need to understand if I do it that way
> ...
>
> I use an Intel MacBook Pro with OS X 10.6.2, XCode 3.2.1, gcc 4.2.1....
2009 Oct 29
5
R crashes
My R crashes frequently when run with huge data.
--
View this message in context: http://www.nabble.com/R-crashes-tp26110355p26110355.html
Sent from the R help mailing list archive at Nabble.com.
2008 Oct 07
11
Creating GUIs for R
Hi all,
I have looked around for help on creating GUIs for R, but haven't found
anything. I would be interested in any advice or webpages that have
information on the best language, tutorials etc. for creating simple GUIs.
Mainly I want to do this as a heuristic exercise.
Thanks for any help.
Wade Wall
[[alternative HTML version deleted]]
2009 Jul 19
4
space in column name
I read a table from Microsoft Access using RODBC. Some of the variables had
a name with a space in it.
R has no problem with it but I do.
I cannot find out how to specify the space
names(alltime)
[1] "ID" "LVL7" "Ref Pv No" "Ref Pv Name" "DOS"
"Pt Last Name" "Pt First Name" "MRN"
2010 Mar 26
4
Creating a vector of categories
Hi,
I have a column in a data frame looking something like:
$sex $language $count
male english 0
male english 0
female english 32
male spanish 154
female english 11
female norweigan 7
and so on.
What I want to do is to order these in to categories, for instance one
category where count>=0 & count<10 and so on..
I want my data to turn out looking something like:
male
2009 Sep 30
5
Rounding error in seq(...)
Hi,
Today I was flabbergasted to see something that looks like a rounding
error in the very basic seq function in R.
> a = seq(0.1,0.9,by=0.1)
> a
[1] 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9
> a[1] == 0.1
[1] TRUE
> a[2] == 0.2
[1] TRUE
> a[3] == 0.3
[1] FALSE
It turns out that the alternative
> a = (1:9)/10
works just fine. Are there any good guides out there on how to deal
2009 Oct 13
2
splitting dataframe, assign to new dataframe, add new rows to new dataframe
Hi, all,
My objective is to split a dataframe named "cmbine" according to the value of "classes". After the split, I will take the first instance from each class and bin them into a new dataframe, "df1". In the 2nd iteration, I will take the 2nd available instance and bin them into another new dataframe, "df2".
>cmbine$names
apple tiger pencil chicken
2009 Sep 14
4
Location of Packages?
Sorry, one more: on OSX, I deleted my old 2.9.2 R.app, and installed the 64
bit version of 2.9.0. I then did an "install.packages("car")" under my new
2.9.0. It seems to have worked, but alas, I still get an error that package
'car' was built under R version 2.9.2 . Where exactly does R under OSX
install its packages? (is it a bug that another car is loaded?)
PS: