similar to: Writing a hyperlink to a csv file

Displaying 20 results from an estimated 4000 matches similar to: "Writing a hyperlink to a csv file"

2013 Mar 15
1
Creating a hyperlink in a csv file
Hi, I was wondering if it is possible to create a hyperlink in a csv file using R code and some package. For example, in the following code: links <- cbind(rep('Click for Google',3),"http://www.google.com") write.table(links,'test.csv',sep=',',row.names=F,col.names=F) the web address should be linked to 'Click for Google'. many thanks!
2012 Nov 22
2
Trick to replace NA
Dear members, I have a series of values in a vector and some value are missing and replaced with NA. For example: a <- c(27, 25, NA, NA, 24, 26, 27, NA, 26) I would like to replace the NAs with the value taken from the previous value that is non-NA. The output would be in this case: 27 25 25 25 24 26 27 27 26 Now I do that with a for loop, but I try to eliminate all the loops to gain in
2017 Aug 02
3
Remove attribute from netcdf4 object
Dear all For a model I need to combine several netCDF files into one (which works fine). For better overview I'd like to delete/remove some of the attributes. Is there a simple way doing this? I'm using the package netcdf4, which creates an object of class(nc) = "ncdf4". It seems that for earlier versions of netcdf objects, there was the function att.delete.nc{RNetCDF}. But
2015 Feb 05
3
Rcurl crash in R-devel
Hello, I don't know if the problem originates from R-devel 3.2 or Rcurl itself. I post this message to the R-devel list and to the author of RCurl (duncan at r-project.org). > library("RCurl") Le chargement a n?cessit? le package : bitops > print(sessionInfo()) R Under development (unstable) (2015-02-03 r67717) Platform: x86_64-apple-darwin13.4.0 (64-bit) Running under:
2012 Mar 18
3
assign a value to an element
Un texte encapsul? et encod? dans un jeu de caract?res inconnu a ?t? nettoy?... Nom : non disponible URL : <https://stat.ethz.ch/pipermail/r-help/attachments/20120318/d68edf35/attachment.pl>
2013 Apr 06
2
How to plot several years data with date information by months?
Hi, all I have a medium sized data, 6 years. Each observation is a case with a date variable, such as '2004-08-02'. Some of the months didn't occur a case. I want to plot the 6 years data by month, and the Y_axis is the freqency of cases for each month, meaning 12*6=72 bars or points in the figure. I though of a method, 1st, using the months function, then ploting. But I need to
2011 Sep 10
1
dgamma in jags within r
I define priors in jags within r using a gamma distribution. I would like to control the shape but I have problems. Any help will be usefull. From help of dgamma ___________________ The Gamma distribution with parameters shape = a and scale = s has density f(x)= 1/(s^a Gamma(a)) x^(a-1) e^-(x/s) and rate=1/scale From jags user manual ____________________ dgamma(r, mu) has a density of
2013 Apr 12
1
Batch open netcdf files and get variables
Hi, I'm new to R. I have some daily soil moisture data for the year 1979 in netcdf format such as these sm19790101.1.nc sm19790102.1.nc . . . sm19791231.1.nc I need to average a variable called "sm" to monthly resolution. I've done these days = formatC(1:31, width=2, flag="0") ncfiles = lapply(days, function(d){ filename = paste("sm197901", d,
2012 Apr 03
1
Package seems to be present but library don't find it
Hi, I try to make my first package? The HelloWorld.R file is: #### HelloWorld.R #### #' showHello est une fonction R permettant d'afficher le message #' "Hello World!" sur la console. #' @title la fonction showHello() showHello <-function(){ cat("Hello World!\n") } I use the following procedure to get the tar: # set the working directory where the file is
2013 Jan 15
2
Month name in English, not R running language
When ploting a timeseries, the months are shown with abbreviation in the current language of the system. For example, x <- seq(from=as.Date("2000-04-01"), length.out=100, by=1) y <- rnorm(length(x), 5,2) plot(x, y) Show for me "avi mai jui jul" as I use R with French language localization. I see in the Windows FAQ how to completely change the language of R, but I
2013 Mar 14
2
how to import DNA sequences in R
Dear all, I was wondering how to read DNA sequences in R, is there a specific function and/or a specific package for that? Thank you very much in advance, Gian ** [[alternative HTML version deleted]]
2013 Apr 11
1
Problem with caret
Hello all. I am using method "bag()" to develop a bagging with my dataset. When I do bag( dataP, dataP$Score, B=10) I obtain this error: error en bag.default(Score ~ ., data = dataP, B = 10) : entrada en evaluacion: recursivo por defecto o problemas anteriores? ( in english, evaluating input: default recursive or previous problems?) Any idea? Thanks! [[alternative HTML
2013 Mar 14
3
how to change "`Year_Month)201103`" into "Year_Month)201103" using R?
HI, I have the pattern like "`Year_Month)201103`" I want to delete single quotes within double quetes. I want to change it into "Year_Month)201103" , how to do it in r? Thanks a lot. Tammy [[alternative HTML version deleted]]
2013 Mar 30
3
how to draw the math graph?
how can i draw the graph in R?
2012 May 17
1
extract data from square cracket
Dear Sir or Madam, I have a question like this. I want to extract the following data from the square bracket: 1 band band [0.86] 2 band band [0.93] 3 noband noband [0.95] 4 noband noband [0.91] 5 noband noband [0.89] 6 noband noband [0.84] 7 noband
2012 Nov 26
1
cosine curve fit
does anybody have a suggestion as to how to use R to fit some date to a cosine function and then have some output statistics that will evaluate the fit? -- View this message in context: http://r.789695.n4.nabble.com/cosine-curve-fit-tp4650866.html Sent from the R help mailing list archive at Nabble.com.
2013 Apr 03
3
Generating a bivariate joint t distribution in R
Hi, I conduct a panel data estimation and obtain estimators for two of the coefficients beta1 and beta2. R tells me the mean and covariance of the distribution of (beta1, beta2). Now I would like to find the distribution of the quotient beta1/beta2, and one way to do it is to simulate via the joint distribution (beta1, beta2), where both beta1 and beta2 follow t distribution. How could we
2013 Apr 16
2
R process slow down after a amount of time
Hi R users, I have mentioned that R is getting slower if a process with a loop runs for a while. Is that normal? Let's say, I have a code which produce an output file after one loop run. Now after 10, 15 or 20 loop runs the time between the created files is stongly increasing. Is there maybe any data which fill some memory? Chris -- View this message in context:
2013 Mar 18
2
Fit a mixture of lognormal and normal distributions
Hello I am trying to find an automated way of fitting a mixture of normal and log-normal distributions to data which is clearly bimodal. Here's a simulated example: x.1<-rnorm(6000, 2.4, 0.6)x.2<-rlnorm(10000, 1.3,0.1)X<-c(x.1, x.2) hist(X,100,freq=FALSE, ylim=c(0,1.5))lines(density(x.1), lty=2, lwd=2)lines(density(x.2), lty=2, lwd=2)lines(density(X), lty=4) Currently i am using
2013 Mar 22
3
trouble with data frame
Hi everyone, I am trying to use the values from every cell of the data frame in a further calculation. This is the code that I am using to catch every element of the data-frame. while (a<=10) { while (b<=10) { n<-as.numeric(df[a,b)]; ...; } } The problem is that when I print out 'n' I get the following errors : "NULL" (if printed without as.numeric), and