search for: cls59

Displaying 12 results from an estimated 12 matches for "cls59".

2009 Feb 06
3
Sweave and backslashes
Hello Everyone, I am an avid Sweave user and I am trying to pretty print floating point numbers for latex output. For example in my document, I would like: 4.2\cdot 10^-{8} Instead of: 4.2e-08 The Hmisc package has a nice function for doing this- but Hmisc has a ton of dependencies and has proved very unportable to the various machines I work on. So, I set out to write my own function that
2009 Jun 01
2
Calling Fortran from C++
Hi, can anybody point me to a package with C++ code that call Fortran subroutines? I am trying to do the same thing but we scarce success. Error in dyn.load("utils.so") : unable to load shared library 'utils.so': dlopen(utils.so, 6): Symbol not found: _robcovf Referenced from: utils.so Expected in: dynamic lookup [[alternative HTML version deleted]]
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]]
2008 Aug 12
1
X11 plotting error
Hey everyone, I'm part of a team working at NOAA and we have developed a swan script that analyzes data and generates plots for the forecasters. We are ready to put the script on the cron and call it a summer but a technical issue has popped up which has us puzzled. When we run the script as an unprivileged user, it bails when png() gets called to open a device for the output. The error is
2009 Nov 25
2
XML package example code?
I'm interested in parsing an html page. I should use XML, right? Could you somebody show me some example code? Is there a tutorial for this package?
2008 Aug 03
1
Convert date to decimal days
Hello all, I have a quick question about formatting date strings.. I am currently debugging some Matlab code someone else wrote and since it is so bad that I have to go through it line by line I figured that I would just rewrite the thing in R. The code produces plots of wave spectra with decimal days since the Epoch as the x axis and wave period as the Y axis. I am able to convert the date
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'
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"
2009 Sep 23
4
save txt file
Hi, I have 2 questions: Question 1: I define 2 variables: "a", "b": > a<-rbinom(4,10,0.8) output: [1] 9 7 8 8 > b<-rbinom(2,6,0.7) output: [1] 4 5 if I write: > write.table(a, file = "filename", etc. etc. .... ) it save only the values of variable "a". There is a way to save in a .txt file the values "a" and "b" as
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
2008 Oct 11
6
Sweave-LaTEX question
Hi: I am working on a publication and I have heard about LaTEX but I haven't actually tried to learn about it until today. I've found a few examples but I can't actually make them work properly. I have a couple of questions: Does LATEX have to be installed on your computer? How does the xtable package and Sweave work together? How can I make the code below create a table as pdf file?
2008 Aug 05
0
P values in non linear regression and singular gradients using nls
...y) 22. Re: Will This Computer Run 64 bit Ubuntu/R? (Dirk Eddelbuettel) 23. Re: access object inside a function (Duncan Murdoch) 24. missing F statistic in anova.gam (Michael A. Milligan) 25. Re: Will This Computer Run 64 bit Ubuntu/R? (Prof Brian Ripley) 26. Convert date to decimal days (cls59) 27. Re: convert for loop into apply() (Charles C. Berry) 28. Re: Convert date to decimal days (Prof Brian Ripley) 29. Re: Convert date to decimal days (cls59) 30. Determining model parameters (rkevinburton at charter.net) 31. Re: Determining model parameters (Ben Bolker) 32. Changing v...