similar to: Installing packages from ZIP files

Displaying 20 results from an estimated 400 matches similar to: "Installing packages from ZIP files"

2004 May 20
1
Windows versus Unix packages in CRAN (Was Re: Rmetrics)
Prof Brian Ripley <ripley at stats.ox.ac.uk> wrote: mkdir fBasics unzip fBasics.zip -d fBasics rm fBasics/src/*.o R CMD check fBasics and that took me about 3 minutes. Now me, I just did unzip -a fBasics_190.10051.zip R CMD INSTALL fBasics rm -rf fBasics in a naive and trusting manner. It took me considerably longer than 3 minutes to learn that this was what I should do, and
2005 Sep 08
1
can't successfully use installed evir package
I'm next at installing packages. I seem to have successfully installed "evir", but I can't use it. I'm wondering if I need to specify the installation to match my working directory, or something else. thx, G
2013 Jul 17
2
error message in gev
  Hi r-users,   I would like to use gev and my data (annual rainfall ) is as follows:   > head(dat,20) A B C D E F G H I J 1 45.1 41.5 58.5 50.1 46.0 49.1 37.7 49.1 59.8 54.0 2 50.3 39.8 49.4 56.4 49.4 48.8 42.1 49.8 49.4 58.3 3 41.7 39.3 44.6 39.1 35.7 41.5 40.8 40.8 38.5 45.6 4 50.7 33.9 48.4 28.2 35.5 39.1 61.4 17.0 30.7 38.3 5 39.3 30.6 46.9 23.8 25.8
2011 Jun 30
2
Saving fExtremes estimates and k-block return level with confidence intervals.
I am estimating a large model by groups. How do you save the results and?returns the associated quantiles? For this example I need a data frame n?? ?xi??????? mu????????beta 1?? 0.1033614? 2.5389580 0.9092611 2? ?0.3401922? 0.5192882 1.5290615 3?? 0.5130798? 0.5668308 1.2105666 I also want to apply gevrlevelPlot() for each "n" or group. ? #Example n <- c(1, 1, 1, 1, 1, 1, 2, 2, 2,
2004 Sep 22
5
block statistics with POSIX classes
I have a monthly price index series x, the related return series y = diff(log(x)) and a POSIXlt date-time variable dp. I would like to apply annual blocks to compute for example annual block maxima and mean of y. When studying the POSIX classes, in the first stage of the learning curve, I computed the maximum drawdown of x: > mdd <- maxdrawdown(x) > max.dd <- mdd$maxdrawdown > from
2003 May 09
1
Anybody using the evir package?
I am trying to use the evir package but I cannot find a way to change my excel csv files into R-objects, which are used in the package. In particular, I do not know how to change a csv list object into a numeric vector. Anybody done this before? Thanks in advance for your time. Vikentia [[alternate HTML version deleted]]
2005 Oct 07
1
Troubleshooting with "gpd" (Fit generalized pareto model)
Up to now, I have recognized problems with "gpd(..)", the function from the package "evir" I think that all these functions that estimate the parameters xi, beta for the GPD by given threshold mu use the function "optim(..)" ( gpd, fitgpd, ...) "Error" example: data1 <- rgpd(1000, xi= -1.5, mu=1000, beta=100) so the created poinnts take place in about
2005 Jul 27
3
fitting extreme value distribution
hi, rgev function gives me random deviates and I have a data set which I am fitting to an EVD,IS there a way I can plot both observed and ideal evd on the same plot thankyou Rangesh
2009 Dec 17
2
issue with using rm: cannot generate on-the-fly list
Hello, I have the following problem when trying to use rm: In a top level script file I have a loop iterating over some index. The loop is not contained within a function, so the scope of variables declared in the loop is global. Within this loop I generate several variables which should be removed at the end of each iteration. To do this, I wrote a function to clean up the workspace. An example
2007 May 03
1
A question about POSIXct
Dear List: I have a simple two-column data set in .csv format, with the first column being the date and second column being some value. I use read.csv() to import the data as follows: x <- read.csv("myfile.csv",header=T, dec=".", colClasses=c(Date="POSIXct")) The structure of x is: > str(x) `data.frame': 2959 obs. of 2 variables: $
2006 May 31
1
Is this my mistake or a bug?(K-S test and EVT)
Hi, I was doing a Kolmogrov test on x, y shown below. They are both 151 long. According to the help file, exact p-value is not available so I set "exact = FALSE", but still got the warning. There are no duplicated values in either X or Y. Thank you for your tips. BTW, is there functions in R about Extreme value theory? ******************************************** > ks.test(x, y,
2004 Feb 22
3
Simulation help
I am a new R user. As a test, I want to write a simple code that does the following simulation: 1. Randomly generate a number from a distribution, say, Poisson. Let's say that number is 3. 2. Randomly generate 3 numbers from another distribution, say, Normal. 3. Compute the sum of the numbers generated in step 2 and read it into a vector, V. 4. Repeat steps 1 through 3 for 100,000 times. 5.
2012 Oct 16
4
how to extract from list
Hi all, I have a list of 20000 data, and the list look like below. I wonder what is the simplest way to extract 'kappa' value (or 'xi' or 'alpha' for the matter) from each of the data. How can I simply code it without having to change the list to a dataframe first? Many thanks! $X19997 xi alpha kappa 784.7718640 165.4065141 -0.2709599 $X19998
2007 Jun 06
0
A question about riskmeasures() vs. qgpd() in library(evir)
Dear List, This inquiry probably does not directly pertain to R. I am using library(evir) to learn EVT. Based on my reading of things, it is my understanding that if one wants to calculate quantiles of GPD, one could use either riskmeasures() or qgpd(). However, using data(danish) as an example, the quantile estimates produced by riskmeasures() are considerably different from those produced by
2005 Jan 22
0
evir package as.double problem
Dear Sirs, I am working with a time series of financial data compiled in a csv file. When i tried to apply the findthresh funtion of the evir package to that data I got the following error messages (the second after transforming the list in a vector): "Error in as.double.default(x) : (list) object cannot be coerced to double" "Error in as.double.default(as.vector(port)) :
2006 Jun 05
0
evir: generalized pareto dist
Hi, I'm fitting a generalized Pareto distribution to POT exceedances of a data set. The practical stuff works ok, but I have a question regarding theory. Is there an equation relating parameters of a gpd tail to its (first) moments? According to theory for certain parameters either the first moment does not exist or the distribution has an upper bound, but I haven't found the
2003 Jul 24
0
unz( "x.zip", "y.csv" ) != pipe( "unzip -p x.zip y.csv" )
Not sure this is a bug in R. Maybe its a bug in my understanding of unz(). The character 'b2' (hexadecimal) is in position 535 of line 1 of 'naughty.csv'. This character appears as superscript '2' and came to me in an EXCEL file that I converted to text in a comma separated ( *.csv ) format. The first line gets truncated by readLines after 534 characters using unz():
2004 May 23
0
Re: Windows versus Unix packages in CRAN ...
Concerning the Rmetrics packages, (1) There is a _much_ better thing to do than >simply ... to remove the stuff related to MS Win from zzz.R; > in partricular the lines after if( .... ) to clear your message. > As you can see, the info relates to the WinMenu under MS Win. as Janusz Kawczak suggests, and that is to *wrap* the troublesome code in if
2011 Sep 21
4
rubyzip with Ruby 1.9.2 and Rails 3.1 - require 'zip/zip' fails
I''m trying to move my application from Rails 2.3.5 to Rails 3.1 which is a challenge. In my application, require ''zip/zip'' fails with ''no such file to load -- zip/zip gem list --local shows rubyzip (0.9.4) I see zip.rb in d:\ruby192\lib\ruby\gems\1.9.1\gems\rubyzip-0.9.4\lib\zip\ -- Posted via http://www.ruby-forum.com/. -- You received this message
2007 Oct 17
1
Zip password recovery
Hi all, sorry if I am Off Topic on this list, but I think that this could be interesting also for other people; anyway: what would be the best way to recover a password from a zip file? And for other type of files (eg. xls, pdf)? I googled a bit, and I can only find ugly/unthrusted ( ;) ) windows programs... what about Linux? TIA Lorenzo Quatrini