Displaying 2 results from an estimated 2 matches for "ringsim".
2002 Apr 08
1
Still having a problem with Rcmd - TMPDIR
Hello R-users:
I'm experiencing difficulty in building a package in R 1.4.1 under Windows
2000. When I run Rcmd I get this:
F:\r\library>f:\r\bin\rcmd check ringsim
Please set TMPDIR to a valid temporary directory
F:\r\library>f:\r\bin\rcmd build ringsim
Please set TMPDIR to a valid temporary directory
This problem was discussed over a year ago - the problem was attributed to a
Perl bug. The CHECK file was amended in the build and indeed mine has the
lin...
2002 Apr 06
1
read.table and trouble
...> is.character(Prefix[1])
[1] FALSE
Here's the read.table command:
DriverTable <- read.table(file = DriverFile, header = T, sep = ",",
row.names = NULL, na.strings = "NA")
I then pass a bunch of arguments to another function like so:
for(i in 1:length(nRows))
{
RingSim(nWaves[i], nYears[i], Noise[i], Amp[i], Freq[i], AmpTwo[i],
FreqTwo[i], as.character(Prefix[i]))
}
This works in S. All the variables (nWaves, nYears, etc.) are numeric except
Prefix. How can I read Prefix in correctly - that is as a string.
Here's the file that is read in:
nRows, nWaves, n...