Displaying 20 results from an estimated 11000 matches similar to: "non-R package development"
2010 Jun 16
2
Package development process?
Hello, All:
What thoughts might you have on "The R Software Package
Development Process"?
I'm looking for ideas, materials, references, and / or
collaborators for an article on this topic to be submitted to the
Communications of the ACM. My limited experience with other languages
such as Matlab and Python suggests that R may be fairly unique with CRAN
and this
2012 May 04
1
Rprofile.site under Windows 7?
Hello All:
I'm still unable to get Rprofile.site to set, e.g.,
options(max.print=222), as I did with previous versions of R.
I just found similar questions posed by Trevor Miles and Ross Bowden
with replies by Uwe Ligges and Duncan Murdoch.
In addition to the things I tried documented below, I also copied
Rprofile.site into "R_HOME/etc/i386" and
2012 Jul 09
1
c(a, b) for POSIXct objects with tzone attributes?
Hello:
What is the recommended method for retaining the tzone attributes
when concatonating POSIXct objects?
> (d1 <- ISOdate(1970,1,1)) # Sets the tzone attribute = GMT
[1] "1970-01-01 12:00:00 GMT"
> (d1.2 <- c(d1, d1)) # c(..) strips the tzone attribute, displays in
the time zone of the operating system
[1] "1970-01-01 04:00:00 PST" "1970-01-01
2012 Mar 22
2
R 2.14.1 memory management under Windows
I computed "system.time(diag(30000))" with R 2.12.0 on Fedora 13 Linux
with 4 GB RAM and with R 2.14.1 on Windows 7 with 8 GB RAM:
Linux (4 GB RAM): 0, 0.21, 0.21 -- a fifth of a second
Windows 7 (8 GB RAM): 11.37 7.47 93.19 -- over 1.5 minutes. Moreover,
during most of that time, I could not switch windows or get any response
from the system. When I first encountered this, I
2012 Feb 29
1
Replace back slashes with forward slashes?
Hello, All:
What can people tell me about converting back slashes to forward
slashes in character strings?
Several years ago, Prof. Ripley provided a solution, which I lost
and have not been able to find.
Below please find a function to do this. I do not find this very
satisfactory, however, because it uses "scan" and therefore operates on
an input not a
2013 Feb 04
2
Wide character in print?
Hello:
I get "Wide character in print" from trying
read.xls("22_data.xls") in the gdata package, with "22_data.xls"
downloaded from "Varieties_Country_A-E.xls" at
"http://www.reinhartandrogoff.com/data/browse-by-topic/topics/7/":
> library(gdata)
> read.xls("22_data.xls")
Wide character in print at
2011 Feb 05
1
Reading a specific file during "R CMD check"?
Hello, All:
How can I obtain the location of an example data file in a
package during "R CMD check"?
I want to include sample raw data files in a package and have
them read by a function in the package. It occurs to me to put such a
file in "\inst\rawdata" and have examples find the data using something
like "system.file('rawdata',
2012 Mar 19
1
diff(time) vs. difftime?
I just encountered another RTFM problem: With
diff(as.POSIXct(...), ...) I was unable to control the units of the
results. Examples:
> (d.d <- diff(as.POSIXct(c('2012-12-12', '2012-12-13'))))
Time difference of 1 days
> (d.h <- diff(as.POSIXct(c('2012-12-12 08:00', '2012-12-12 09:00'))))
Time difference of 1 hours
> (d.m <-
2012 May 20
4
write.xls
Hello, All:
The "writeFindFn2xls" function in the "sos" package tries to
write an Excel file with 3 sheets ('PackageSum2', 'findFn', 'call').
Unfortunately, it is often unable to do this because of configuration
problems that are not easy to fix. I've found 3 contributed packages
that provide facilities to write Excel files with
2002 Dec 19
2
Strange locking errors with LabView under Samba 2.2.7 and HP-UX 1 1.11
Hello All,
I recently upgraded one of my HP-UX servers from Samba 2.2.4 to 2.2.7.
Since that time, I have noticed that disk activity on the file system where
the Samba var directory is kept seems to be higher than I would expect. We
have now begun to experience a problem with PC clients running National
Instruments' LabView software, installed on a Samba share. When any PC
client tries to
2004 Jun 11
3
Einlesen von Daten unter R
Sehr geehrte Damen und Herren,
An der Fachhochschule Winterthur wurde f??r mich im Rahmen einer
Diplomarbeit (Prof. Ruckstuhl) ein R-Programm zur Auswertung von
IR-Spektren (line-shape-Analyse zur quantitativen Analyse von
Gasmischungen) entwickelt. Die Daten werden einer Excel-Tabelle
entnommen. Bisher werden die spektroskopischen Daten ??ber den Inhalt von
64 Kan??len ??ber die
2012 Apr 13
1
Rprofile.site?
Hello:
I've been using "Rprofile.site" for several years to set the
repos environment variable as follows:
options(repos=c(CRAN='http://cran.cnr.berkeley.edu',
CRANextra='http://www.stats.ox.ac.uk/pub/RWin') )
However, R 2.15.0 is not recognizing this. Instead, I get the
following:
options('repos')
$repos
2012 Jul 26
1
Linking to C type short?
Hello, All:
What references exist on how to link to C?
I'm familiar with sections 5.2 and 5.6 of the "Writing R
Extension" manual plus chapter 6 of Venables and Ripley (2000) S
Programming (Springer). From these, I get the following:
R storage mode C type
logical int *
integer int *
double double *
complex Rcomplex *
2014 Nov 26
0
testing dontrun examples
Hi, Paul:
"if(!fda::CRAN())" runs code except with "R CMD check ?as-cran".
I use it so CRAN checks skip examples that (a) need the Internet or (b)
take too long for CRAN.
Hope this helps.
Spencer
On 11/26/2014 10:45 AM, Paul Gilbert wrote:
> Is there a good strategy for testing examples which should not be run
> by default? For instance,
2012 May 03
0
Rprofile.site in R 2.15.0 on Windows?
Hello:
I have so far failed to get Rprofile.site to be processed in R
2.15.0 under Windows 7 as I remember having done it in previous version
of R. For example, I've included "options(max.print=222)" in
"R_HOME/etc/Rprofile.site" (with and without the environmental variable
R_HOME set to the install directory of R 2.15.0 in advanced system
settings): When I
2014 Dec 15
3
Making iconv portable?
Hello, All:
What would it take to make ?iconv? portable?
I ask, because I want to convert accented characters to vanilla ASCII, thereby converting, e.g., ?Ra?l? to ?Raul?, and Milan Bouchet-Valet suggested on R-help that I use 'iconv(x, ?", "ASCII//TRANSLIT?)?. This worked under Windows but failed on Linux and Mac. It?s part of the ?subNonStandardCharacters? function
2013 Feb 04
4
rJava works with 32-bit but not 64
Hello:
rJava works for me under 32-bit but under not 64-bit R; see below.
Suggestions?
Thanks,
Spencer
> library(rJava)
Error : .onLoad failed in loadNamespace() for 'rJava', details:
call: stop("No CurrentVersion entry in '", key, "'! Try re-installing
Java and make sure R and Java have matching architectures.")
2012 Jul 20
1
subRaw?
Hello, All:
Do you know of any capability to substitute more then one byte in
an object of class Raw?
Consider the following:
> let4 <- paste(letters[1:4], collapse='')
> (let4Raw <- charToRaw(let4))
[1] 61 62 63 64
> (let. <- sub('bc', '--', let4Raw))
[1] "61" "62" "63" "64"
> # no
2014 Dec 15
2
Making iconv portable?
> On Dec 15, 2014, at 12:21 PM, Kurt Hornik <Kurt.Hornik at wu.ac.at> wrote:
>
>>>>>> Spencer Graves writes:
>
>> Hello, All:
>> What would it take to make ?iconv? portable?
>
>
>> I ask, because I want to convert accented characters to
>> vanilla ASCII, thereby converting, e.g., ?Ra?l? to ?Raul?, and
>> Milan
2012 Apr 13
0
Lobbying database
Hi, Joseph:
What are your priorities regarding the US lobbying database?
At
"http://www.senate.gov/legislative/Public_Disclosure/LDA_reports.htm", I
see 4 links:
* Search the Lobbying Database (LD-1, LD-2)
* Download a Lobbying Documents Database
* Search the Contributions Database (LD-203)
* Downloadable Contributions Databases
Am I